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 : 2557136 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 (2695826) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2695826) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724584 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2695826'] with mtr_portfolio_ids : ['21724584'] and first list_photo_ids : [] new path : /proc/2557136/ Name: python3 Umask: 0002 State: R (running) Tgid: 2557136 Ngid: 0 Pid: 2557136 PPid: 2557134 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2557136 NSpid: 2557136 NSpgid: 2555841 NSsid: 2555841 VmPeak: 1106932 kB VmSize: 1106932 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98676 kB VmRSS: 98676 kB RssAnon: 59796 kB RssFile: 38880 kB RssShmem: 0 kB VmData: 865680 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 548 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 42 nonvoluntary_ctxt_switches: 177 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2557136', 'Ngid': '0', 'Pid': '2557136', 'PPid': '2557134', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2557136', 'NSpid': '2557136', 'NSpgid': '2555841', 'NSsid': '2555841', 'VmPeak': '1106932 kB', 'VmSize': '1106932 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98676 kB', 'VmRSS': '98676 kB', 'RssAnon': '59796 kB', 'RssFile': '38880 kB', 'RssShmem': '0 kB', 'VmData': '865680 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '548 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '42', 'nonvoluntary_ctxt_switches': '177'} ('datou_batch_current', '2557136', '1106932', '0', '1106932', '865680', '98676', b'', 'marlene', '2695826') 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 (21724584) 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 (2695826 ) ) 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 (21724584) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1347450983, 'portfolio_id': 21724584}, {'photo_id': 1347450676, 'portfolio_id': 21724584}, {'photo_id': 1347450601, 'portfolio_id': 21724584}, {'photo_id': 1347450225, 'portfolio_id': 21724584}, {'photo_id': 1347450118, 'portfolio_id': 21724584}, {'photo_id': 1347450116, 'portfolio_id': 21724584}, {'photo_id': 1347450110, 'portfolio_id': 21724584}, {'photo_id': 1347449036, 'portfolio_id': 21724584}, {'photo_id': 1347449032, 'portfolio_id': 21724584}, {'photo_id': 1347449019, 'portfolio_id': 21724584}, {'photo_id': 1347449012, 'portfolio_id': 21724584}, {'photo_id': 1347448958, 'portfolio_id': 21724584}, {'photo_id': 1347448932, 'portfolio_id': 21724584}, {'photo_id': 1347448928, 'portfolio_id': 21724584}, {'photo_id': 1347448925, 'portfolio_id': 21724584}, {'photo_id': 1347448858, 'portfolio_id': 21724584}, {'photo_id': 1347448854, 'portfolio_id': 21724584}, {'photo_id': 1347448844, 'portfolio_id': 21724584}, {'photo_id': 1347448835, 'portfolio_id': 21724584}, {'photo_id': 1347448827, 'portfolio_id': 21724584}, {'photo_id': 1347448699, 'portfolio_id': 21724584}, {'photo_id': 1347448261, 'portfolio_id': 21724584}, {'photo_id': 1347448043, 'portfolio_id': 21724584}, {'photo_id': 1347448019, 'portfolio_id': 21724584}, {'photo_id': 1347447940, 'portfolio_id': 21724584}, {'photo_id': 1347447932, 'portfolio_id': 21724584}, {'photo_id': 1347447918, 'portfolio_id': 21724584}, {'photo_id': 1347447906, 'portfolio_id': 21724584}, {'photo_id': 1347447850, 'portfolio_id': 21724584}, {'photo_id': 1347447846, 'portfolio_id': 21724584}, {'photo_id': 1347447842, 'portfolio_id': 21724584}, {'photo_id': 1347447841, 'portfolio_id': 21724584}, {'photo_id': 1347447838, 'portfolio_id': 21724584}] map_portfolio_id_photo_id: {21724584: [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838]} ##### 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.023277759552001953 #### 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 Thu Mar 27 05:42:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21724584) 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 : 21724584 get user id for portfolio 21724584 get sub ptf for main ptf 21724584, type 3726 and hashtags ['flou', 'papier', 'Teint_Dans_La_Masse', 'environnement', 'Carton_brun', 'plastique', 'mal_croppe', 'kraft', 'cartonnette', 'metal', 'Carton_gris', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21724584 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','environnement','Carton_brun','plastique','mal_croppe','kraft','cartonnette','metal','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21724584 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','environnement','Carton_brun','plastique','mal_croppe','kraft','cartonnette','metal','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21724584, 'sub_port_id': 21724585, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251762, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'cartonnette': {'main_port_id': 21724584, 'sub_port_id': 21724586, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251763, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'mal_croppe': {'main_port_id': 21724584, 'sub_port_id': 21724587, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251764, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'environnement': {'main_port_id': 21724584, 'sub_port_id': 21724588, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251765, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'papier': {'main_port_id': 21724584, 'sub_port_id': 21724589, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251766, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'flou': {'main_port_id': 21724584, 'sub_port_id': 21724590, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251767, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'metal': {'main_port_id': 21724584, 'sub_port_id': 21724591, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251768, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'plastique': {'main_port_id': 21724584, 'sub_port_id': 21724592, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251769, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21724584, 'sub_port_id': 21724593, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251770, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'Carton_gris': {'main_port_id': 21724584, 'sub_port_id': 21724594, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251771, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'autre_refus': {'main_port_id': 21724584, 'sub_port_id': 21724595, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251772, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}, 'Carton_brun': {'main_port_id': 21724584, 'sub_port_id': 21724596, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251773, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 35, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21724585 , 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=21724584 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 (21724585) result : ((1347450115,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724586 , 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=21724584 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 (21724586) result : ((1347448562,), (1347448850,), (1347448851,), (1347449456,), (1347450944,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724587 , 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=21724584 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 (21724587) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724588 , 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=21724584 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 (21724588) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724589 , 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=21724584 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 (21724589) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724590 , 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=21724584 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 (21724590) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724591 , 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=21724584 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 (21724591) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724592 , 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=21724584 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 (21724592) result : ((1347448568,), (1347449463,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724593 , 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=21724584 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 (21724593) result : ((1347448553,), (1347448554,), (1347448556,), (1347448557,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724594 , 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=21724584 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 (21724594) result : ((1347448846,), (1347448847,), (1347449455,), (1347450111,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724595 , 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=21724584 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 (21724595) result : ((1347448559,), (1347448561,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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 21724596 , 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=21724584 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 (21724596) result : ((1347448565,), (1347448852,), (1347449461,), (1347449462,), (1347450113,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21724584) result : ((1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,)) 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`=21724584 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','environnement','Carton_brun','plastique','mal_croppe','kraft','cartonnette','metal','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21724584 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Teint_Dans_La_Masse','environnement','Carton_brun','plastique','mal_croppe','kraft','cartonnette','metal','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 21724584, 'sub_port_id': 21724597, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251774, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'cartonnette': {'main_port_id': 21724584, 'sub_port_id': 21724598, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251775, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'mal_croppe': {'main_port_id': 21724584, 'sub_port_id': 21724599, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251776, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'environnement': {'main_port_id': 21724584, 'sub_port_id': 21724600, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251777, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'papier': {'main_port_id': 21724584, 'sub_port_id': 21724601, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251778, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'flou': {'main_port_id': 21724584, 'sub_port_id': 21724602, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251779, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'metal': {'main_port_id': 21724584, 'sub_port_id': 21724603, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251780, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'plastique': {'main_port_id': 21724584, 'sub_port_id': 21724604, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251781, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'Teint_Dans_La_Masse': {'main_port_id': 21724584, 'sub_port_id': 21724605, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251782, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'Carton_gris': {'main_port_id': 21724584, 'sub_port_id': 21724606, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251783, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'autre_refus': {'main_port_id': 21724584, 'sub_port_id': 21724607, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251784, 'last_updated_at': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 8, 36), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}, 'Carton_brun': {'main_port_id': 21724584, 'sub_port_id': 21724608, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14251785, 'last_updated_at': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 27, 1, 9, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 8, 36)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724597,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724585 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724598,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724586 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724599,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724587 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724600,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724588 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724601,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724589 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724602,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724590 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724603,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724591 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724604,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724592 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724605,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724593 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724606,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724594 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724607,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724595 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21724608,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21724596 lien utilise dans velours : https://www.fotonower.com/velours/21724597,21724598,21724599,21724600,21724601,21724602,21724603,21724604,21724605,21724606,21724607,21724608?tags=kraft,cartonnette,mal_croppe,environnement,papier,flou,metal,plastique,Teint_Dans_La_Masse,Carton_gris,autre_refus,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21724584]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] map_info['map_portfolio_photo'] : {21724584: [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838]} final : False mtd_id 4302 list_pids : [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] Looping around the photos to save general results len do output : 1 /21724584. 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, '2695826') ('4302', '21724584', '1347450983', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450676', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450601', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450225', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450118', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450116', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450110', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449036', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449032', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449012', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448958', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448928', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448925', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448858', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448854', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448844', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448835', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448827', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448699', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448261', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448043', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447940', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447918', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447906', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447850', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447846', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447842', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447841', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447838', None, None, None, None, None, '2695826') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21724584', "{'kraft': 21724585, 'cartonnette': 21724586, 'mal_croppe': 21724587, 'environnement': 21724588, 'papier': 21724589, 'flou': 21724590, 'metal': 21724591, 'plastique': 21724592, 'Teint_Dans_La_Masse': 21724593, 'Carton_gris': 21724594, 'autre_refus': 21724595, 'Carton_brun': 21724596}", None, None, None, None, '2695826'), ('4302', '21724584', '1347450983', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450676', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450601', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450225', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450118', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450116', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450110', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449036', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449032', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449019', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449012', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448958', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448932', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448928', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448925', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448858', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448854', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448844', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448835', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448827', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448699', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448261', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448043', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448019', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447940', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447932', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447918', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447906', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447850', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447846', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447842', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447841', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447838', None, None, None, None, None, '2695826')] time used for this insertion : 0.025228500366210938 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5190651416778564 time spend to save output : 0.02580404281616211 total time spend for step 1 : 1.5448691844940186 step2:final Thu Mar 27 05:42: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 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 (21724584) 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 21724584 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347447850,1347447846,1347447842,1347447841,1347447838,1347448043,1347448019,1347447940,1347447932,1347447918,1347447906,1347448261,1347448699,1347448858,1347448854,1347448844,1347448835,1347448827,1347448958,1347448932,1347448928,1347448925,1347449036,1347449032,1347449019,1347449012,1347450118,1347450116,1347450110,1347450225,1347450676,1347450601,1347450983); 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([21724584]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} new output for save of step final : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] map_info['map_portfolio_photo'] : {21724584: [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838]} final : False mtd_id 4302 list_pids : [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] Looping around the photos to save general results len do output : 33 /1347450983.Didn't retrieve data . /1347450676.Didn't retrieve data . /1347450601.Didn't retrieve data . /1347450225.Didn't retrieve data . /1347450118.Didn't retrieve data . /1347450116.Didn't retrieve data . /1347450110.Didn't retrieve data . /1347449036.Didn't retrieve data . /1347449032.Didn't retrieve data . /1347449019.Didn't retrieve data . /1347449012.Didn't retrieve data . /1347448958.Didn't retrieve data . /1347448932.Didn't retrieve data . /1347448928.Didn't retrieve data . /1347448925.Didn't retrieve data . /1347448858.Didn't retrieve data . /1347448854.Didn't retrieve data . /1347448844.Didn't retrieve data . /1347448835.Didn't retrieve data . /1347448827.Didn't retrieve data . /1347448699.Didn't retrieve data . /1347448261.Didn't retrieve data . /1347448043.Didn't retrieve data . /1347448019.Didn't retrieve data . /1347447940.Didn't retrieve data . /1347447932.Didn't retrieve data . /1347447918.Didn't retrieve data . /1347447906.Didn't retrieve data . /1347447850.Didn't retrieve data . /1347447846.Didn't retrieve data . /1347447842.Didn't retrieve data . /1347447841.Didn't retrieve data . /1347447838.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, '2695826') ('4302', '21724584', '1347450983', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450676', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450601', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450225', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450118', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450116', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450110', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449036', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449032', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449012', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448958', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448928', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448925', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448858', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448854', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448844', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448835', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448827', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448699', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448261', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448043', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447940', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447918', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447906', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447850', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447846', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447842', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447841', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447838', None, None, None, None, None, '2695826') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21724584', '1347450983', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347450676', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347450601', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347450225', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347450118', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347450116', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347450110', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347449036', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347449032', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347449019', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347449012', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448958', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448932', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448928', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448925', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448858', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448854', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448844', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448835', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448827', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448699', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448261', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448043', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347448019', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447940', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447932', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447918', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447906', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447850', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447846', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447842', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447841', '0.024855813983146163', None, None, None, None, '2695826'), ('4302', '21724584', '1347447838', '0.024855813983146163', None, None, None, None, '2695826')] time used for this insertion : 0.03387260437011719 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06563115119934082 time spend to save output : 0.03546643257141113 total time spend for step 2 : 0.10109758377075195 step3:velours_tree Thu Mar 27 05:42: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 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 : {21724584: [{'kraft': 21724585, 'cartonnette': 21724586, 'mal_croppe': 21724587, 'environnement': 21724588, 'papier': 21724589, 'flou': 21724590, 'metal': 21724591, 'plastique': 21724592, 'Teint_Dans_La_Masse': 21724593, 'Carton_gris': 21724594, 'autre_refus': 21724595, 'Carton_brun': 21724596}]} input_args_next_step : {21724584: ()} output_args : {21724584: [{'kraft': 21724585, 'cartonnette': 21724586, 'mal_croppe': 21724587, 'environnement': 21724588, 'papier': 21724589, 'flou': 21724590, 'metal': 21724591, 'plastique': 21724592, 'Teint_Dans_La_Masse': 21724593, 'Carton_gris': 21724594, 'autre_refus': 21724595, 'Carton_brun': 21724596}]} args : 21724584 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 : ({'kraft': 21724585, 'cartonnette': 21724586, 'mal_croppe': 21724587, 'environnement': 21724588, 'papier': 21724589, 'flou': 21724590, 'metal': 21724591, 'plastique': 21724592, 'Teint_Dans_La_Masse': 21724593, 'Carton_gris': 21724594, 'autre_refus': 21724595, 'Carton_brun': 21724596},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21724584) 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([21724584]) 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.35831475257873535 time spend to save output : 7.62939453125e-05 total time spend for step 3 : 0.35839104652404785 step4:send_mail_cod Thu Mar 27 05:42:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} input_args_next_step : {1347450983: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347450983 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347450676 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347450601 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347450225 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347450118 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347450116 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347450110 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347449036 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347449032 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347449019 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347449012 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448958 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448932 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448928 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448925 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448858 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448854 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448844 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448835 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448827 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448699 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448261 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448043 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347448019 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447940 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447932 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447918 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447906 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447850 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447846 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447842 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447841 depend.output_id : 0 input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ()} output_args : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',)} args : 1347447838 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 : {21724584: [{'kraft': 21724585, 'cartonnette': 21724586, 'mal_croppe': 21724587, 'environnement': 21724588, 'papier': 21724589, 'flou': 21724590, 'metal': 21724591, 'plastique': 21724592, 'Teint_Dans_La_Masse': 21724593, 'Carton_gris': 21724594, 'autre_refus': 21724595, 'Carton_brun': 21724596}]} input_args_next_step : {1347450983: ('0.024855813983146163',), 1347450676: ('0.024855813983146163',), 1347450601: ('0.024855813983146163',), 1347450225: ('0.024855813983146163',), 1347450118: ('0.024855813983146163',), 1347450116: ('0.024855813983146163',), 1347450110: ('0.024855813983146163',), 1347449036: ('0.024855813983146163',), 1347449032: ('0.024855813983146163',), 1347449019: ('0.024855813983146163',), 1347449012: ('0.024855813983146163',), 1347448958: ('0.024855813983146163',), 1347448932: ('0.024855813983146163',), 1347448928: ('0.024855813983146163',), 1347448925: ('0.024855813983146163',), 1347448858: ('0.024855813983146163',), 1347448854: ('0.024855813983146163',), 1347448844: ('0.024855813983146163',), 1347448835: ('0.024855813983146163',), 1347448827: ('0.024855813983146163',), 1347448699: ('0.024855813983146163',), 1347448261: ('0.024855813983146163',), 1347448043: ('0.024855813983146163',), 1347448019: ('0.024855813983146163',), 1347447940: ('0.024855813983146163',), 1347447932: ('0.024855813983146163',), 1347447918: ('0.024855813983146163',), 1347447906: ('0.024855813983146163',), 1347447850: ('0.024855813983146163',), 1347447846: ('0.024855813983146163',), 1347447842: ('0.024855813983146163',), 1347447841: ('0.024855813983146163',), 1347447838: ('0.024855813983146163',), 21724584: ()} output_args : {21724584: [{'kraft': 21724585, 'cartonnette': 21724586, 'mal_croppe': 21724587, 'environnement': 21724588, 'papier': 21724589, 'flou': 21724590, 'metal': 21724591, 'plastique': 21724592, 'Teint_Dans_La_Masse': 21724593, 'Carton_gris': 21724594, 'autre_refus': 21724595, 'Carton_brun': 21724596}]} args : 21724584 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :34, first value : ('0.024855813983146163',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21724584) 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 (1347450983,1347450676,1347450601,1347450225,1347450118,1347450116,1347450110,1347449036,1347449032,1347449019,1347449012,1347448958,1347448932,1347448928,1347448925,1347448858,1347448854,1347448844,1347448835,1347448827,1347448699,1347448261,1347448043,1347448019,1347447940,1347447932,1347447918,1347447906,1347447850,1347447846,1347447842,1347447841,1347447838) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347447838 begin to download photo : 1347447932 begin to download photo : 1347448835 begin to download photo : 1347448958 begin to download photo : 1347450118 download finish for photo 1347448958 begin to download photo : 1347449012 download finish for photo 1347450118 begin to download photo : 1347450225 download finish for photo 1347447838 begin to download photo : 1347447841 download finish for photo 1347448835 begin to download photo : 1347448844 download finish for photo 1347447932 begin to download photo : 1347447940 download finish for photo 1347450225 begin to download photo : 1347450601 download finish for photo 1347449012 begin to download photo : 1347449019 download finish for photo 1347447841 begin to download photo : 1347447842 download finish for photo 1347448844 begin to download photo : 1347448854 download finish for photo 1347447940 begin to download photo : 1347448019 download finish for photo 1347450601 begin to download photo : 1347450676 download finish for photo 1347448854 begin to download photo : 1347448858 download finish for photo 1347447842 begin to download photo : 1347447846 download finish for photo 1347448019 begin to download photo : 1347448043 download finish for photo 1347449019 begin to download photo : 1347449032 download finish for photo 1347450676 begin to download photo : 1347450983 download finish for photo 1347448858 begin to download photo : 1347448925 download finish for photo 1347449032 begin to download photo : 1347449036 download finish for photo 1347448043 begin to download photo : 1347448261 download finish for photo 1347447846 begin to download photo : 1347447850 download finish for photo 1347450983 download finish for photo 1347448925 begin to download photo : 1347448928 download finish for photo 1347449036 begin to download photo : 1347450110 download finish for photo 1347447850 begin to download photo : 1347447906 download finish for photo 1347448261 begin to download photo : 1347448699 download finish for photo 1347448928 begin to download photo : 1347448932 download finish for photo 1347447906 begin to download photo : 1347447918 download finish for photo 1347450110 begin to download photo : 1347450116 download finish for photo 1347448699 begin to download photo : 1347448827 download finish for photo 1347447918 download finish for photo 1347450116 download finish for photo 1347448827 download finish for photo 1347448932 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P21724584_27-03-2025_05_42_31.pdf 21724585 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=21724585 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347450115: '1742974994_1549900_1347449019_5e3a17d29980e5703f70640737c7b1f9_rle_crop_3730931898_0.png'} change filename to text .imagette217245851743050551/ imagette217245851743050551/1742974994_1549900_1347449019_5e3a17d29980e5703f70640737c7b1f9_rle_crop_3730931898_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0d9d5024134754cbfc78bffe94eb04b6_72198465.png imagette217245851743050551 21724586 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=21724586 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347448562: '1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918138_0.png', 1347448850: '1742974573_1545074_1347447918_fa5dccd35e1622846a33dcad08361823_rle_crop_3730921655_0.png', 1347448851: '1742974573_1545074_1347447906_e07e4dd67e8572eb9b8c1f7f580d7827_rle_crop_3730922326_0.png', 1347449456: '1742974813_1548311_1347448932_78fd672cb523301f6b3d7759910db38e_rle_crop_3730926584_0.png', 1347450944: '1742975202_3305396_1347450116_2fe0c2a2b3f795ae26fccc6aaafa96ac_rle_crop_3730936206_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/b4a701c89b2d8e8222505493b40335a8_23453535.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/ffdad60109f8e2b4e3ada85180a97544_41606842.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0874f36639a58c6adda2b9acfa2e74ad_60072093.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/adde4c4ca7f4b4ec1dd7ced806a51c88_97370570.png change filename to text .imagette217245861743050551/ imagette217245861743050551/1742974573_1545074_1347447906_e07e4dd67e8572eb9b8c1f7f580d7827_rle_crop_3730922326_0.png.png imagette217245861743050551/1742974813_1548311_1347448932_78fd672cb523301f6b3d7759910db38e_rle_crop_3730926584_0.png.png imagette217245861743050551/1742975202_3305396_1347450116_2fe0c2a2b3f795ae26fccc6aaafa96ac_rle_crop_3730936206_0.png.png imagette217245861743050551/1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918138_0.png.png imagette217245861743050551/1742974573_1545074_1347447918_fa5dccd35e1622846a33dcad08361823_rle_crop_3730921655_0.png.png imagette217245871743050552/ imagette217245901743050552/ imagette217245911743050552/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/10ac4e7aafddd0d6e836ca3064f8ac8c_13761227.png imagette217245861743050551 21724587 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=21724587 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217245871743050552 21724590 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=21724590 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217245901743050552 21724591 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=21724591 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217245911743050552 21724592 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=21724592 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347448568: '1742974483_3297821_1347447850_53420fac851a9df75fa17edf7f069b50_rle_crop_3730918081_0.png', 1347449463: '1742974813_1548311_1347448928_b9a12fec9dfc611ded49871c77fa8cb7_rle_crop_3730926652_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/54c8a2cadc26392634655bbade29c765_21065212.png change filename to text .imagette217245921743050552/ imagette217245921743050552/1742974483_3297821_1347447850_53420fac851a9df75fa17edf7f069b50_rle_crop_3730918081_0.png.png imagette217245921743050552/1742974813_1548311_1347448928_b9a12fec9dfc611ded49871c77fa8cb7_rle_crop_3730926652_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/6912c7f71a1aa3bc47fbc47bb6877f50_73514733.png imagette217245921743050552 21724595 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=21724595 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347448559: '1742974483_3297821_1347447850_53420fac851a9df75fa17edf7f069b50_rle_crop_3730918080_0.png', 1347448561: '1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918135_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/b0923a4ee7fd2e80cf78d5a25255a3c2_17961698.png change filename to text .imagette217245951743050552/ imagette217245951743050552/1742974483_3297821_1347447850_53420fac851a9df75fa17edf7f069b50_rle_crop_3730918080_0.png.png imagette217245951743050552/1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918135_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/c625f6a3d126018450e7bc6e7cb917f1_76536988.png imagette217245951743050552 21724593 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=21724593 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347448553: '1742974483_3297821_1347447842_a5f322650ef7ff7b0432f2d03cc9d98c_rle_crop_3730918130_0.png', 1347448554: '1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918137_0.png', 1347448556: '1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918140_0.png', 1347448557: '1742974483_3297821_1347447838_e199203d00091d6e0aceaa1b7932cf7b_rle_crop_3730918175_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/fb0f0df3f957ba5e11cfac910194ee41_31194848.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/3ce75434f423094d9f4a6da004f35598_8119349.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f7f1ef27d08a857aa8f011fdc1739be7_11988039.png change filename to text .imagette217245931743050552/ imagette217245931743050552/1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918140_0.png.png imagette217245931743050552/1742974483_3297821_1347447842_a5f322650ef7ff7b0432f2d03cc9d98c_rle_crop_3730918130_0.png.png imagette217245931743050552/1742974483_3297821_1347447841_9ce39c4f9406775ec36cc12278a46797_rle_crop_3730918137_0.png.png imagette217245931743050552/1742974483_3297821_1347447838_e199203d00091d6e0aceaa1b7932cf7b_rle_crop_3730918175_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0165f7af7b289fdfe13d01c829e77640_50382489.png imagette217245931743050552 21724594 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=21724594 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347448846: '1742974573_1545074_1347448019_07b290d43b2fa5df82709aef4bd15e50_rle_crop_3730920849_0.png', 1347448847: '1742974573_1545074_1347447932_c7f1ca131ed6221411fc0c6e461d65f7_rle_crop_3730920971_0.png', 1347449455: '1742974813_1548311_1347448932_78fd672cb523301f6b3d7759910db38e_rle_crop_3730926583_0.png', 1347450111: '1742974994_1549900_1347449032_c16d121ca2c9b27b903d155170b6f3eb_rle_crop_3730931876_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/fd95231d437e2ce33619941fd3a40044_26454950.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/528ddbc0bcf293b577d59c6d8f941e9b_53960105.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/d678bbdb6b5bad978e5a143499aa99fc_4607442.png change filename to text .imagette217245941743050553/ imagette217245941743050553/1742974573_1545074_1347447932_c7f1ca131ed6221411fc0c6e461d65f7_rle_crop_3730920971_0.png.png imagette217245941743050553/1742974994_1549900_1347449032_c16d121ca2c9b27b903d155170b6f3eb_rle_crop_3730931876_0.png.png imagette217245941743050553/1742974813_1548311_1347448932_78fd672cb523301f6b3d7759910db38e_rle_crop_3730926583_0.png.png imagette217245941743050553/1742974573_1545074_1347448019_07b290d43b2fa5df82709aef4bd15e50_rle_crop_3730920849_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/9f4c8b8c9cd19fbb413884721eecff72_89736293.png imagette217245941743050553 21724596 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=21724596 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347448565: '1742974483_3297821_1347447842_a5f322650ef7ff7b0432f2d03cc9d98c_rle_crop_3730918128_0.png', 1347448852: '1742974573_1545074_1347447940_943354aea4e769c6846bd6928fb1580d_rle_crop_3730920960_0.png', 1347449461: '1742974813_1548311_1347448925_db36d70b5dfd651cc053296b85654abe_rle_crop_3730926685_0.png', 1347449462: '1742974813_1548311_1347448925_db36d70b5dfd651cc053296b85654abe_rle_crop_3730926691_0.png', 1347450113: '1742974994_1549900_1347449032_c16d121ca2c9b27b903d155170b6f3eb_rle_crop_3730931885_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/8be933b0bd18e7b9cd27e2c339b03f62_82294227.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/57f98aab35640f2b1c0a6a610dde6c84_30500598.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/4ad1c12f24953cafc61ea9014a704911_25096386.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/24a69ee10215f60ee2a0e28ec082b762_77612923.png change filename to text .imagette217245961743050553/ imagette217245961743050553/1742974813_1548311_1347448925_db36d70b5dfd651cc053296b85654abe_rle_crop_3730926691_0.png.png imagette217245961743050553/1742974994_1549900_1347449032_c16d121ca2c9b27b903d155170b6f3eb_rle_crop_3730931885_0.png.png imagette217245961743050553/1742974813_1548311_1347448925_db36d70b5dfd651cc053296b85654abe_rle_crop_3730926685_0.png.png imagette217245961743050553/1742974573_1545074_1347447940_943354aea4e769c6846bd6928fb1580d_rle_crop_3730920960_0.png.png imagette217245961743050553/1742974483_3297821_1347447842_a5f322650ef7ff7b0432f2d03cc9d98c_rle_crop_3730918128_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/3bb88744b8a330e71583f732a3b79d80_68064040.png imagette217245961743050553 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21724584 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21724597,21724598,21724599,21724600,21724601,21724602,21724603,21724604,21724605,21724606,21724607,21724608?tags=kraft,cartonnette,mal_croppe,environnement,papier,flou,metal,plastique,Teint_Dans_La_Masse,Carton_gris,autre_refus,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1347450983] : ('0.024855813983146163',) no score found for photo 1347450983 We are sending mail with results at report@fotonower.com args[1347450676] : ('0.024855813983146163',) no score found for photo 1347450676 We are sending mail with results at report@fotonower.com args[1347450601] : ('0.024855813983146163',) no score found for photo 1347450601 We are sending mail with results at report@fotonower.com args[1347450225] : ('0.024855813983146163',) no score found for photo 1347450225 We are sending mail with results at report@fotonower.com args[1347450118] : ('0.024855813983146163',) no score found for photo 1347450118 We are sending mail with results at report@fotonower.com args[1347450116] : ('0.024855813983146163',) no score found for photo 1347450116 We are sending mail with results at report@fotonower.com args[1347450110] : ('0.024855813983146163',) no score found for photo 1347450110 We are sending mail with results at report@fotonower.com args[1347449036] : ('0.024855813983146163',) no score found for photo 1347449036 We are sending mail with results at report@fotonower.com args[1347449032] : ('0.024855813983146163',) no score found for photo 1347449032 We are sending mail with results at report@fotonower.com args[1347449019] : ('0.024855813983146163',) no score found for photo 1347449019 We are sending mail with results at report@fotonower.com args[1347449012] : ('0.024855813983146163',) no score found for photo 1347449012 We are sending mail with results at report@fotonower.com args[1347448958] : ('0.024855813983146163',) no score found for photo 1347448958 We are sending mail with results at report@fotonower.com args[1347448932] : ('0.024855813983146163',) no score found for photo 1347448932 We are sending mail with results at report@fotonower.com args[1347448928] : ('0.024855813983146163',) no score found for photo 1347448928 We are sending mail with results at report@fotonower.com args[1347448925] : ('0.024855813983146163',) no score found for photo 1347448925 We are sending mail with results at report@fotonower.com args[1347448858] : ('0.024855813983146163',) no score found for photo 1347448858 We are sending mail with results at report@fotonower.com args[1347448854] : ('0.024855813983146163',) no score found for photo 1347448854 We are sending mail with results at report@fotonower.com args[1347448844] : ('0.024855813983146163',) no score found for photo 1347448844 We are sending mail with results at report@fotonower.com args[1347448835] : ('0.024855813983146163',) no score found for photo 1347448835 We are sending mail with results at report@fotonower.com args[1347448827] : ('0.024855813983146163',) no score found for photo 1347448827 We are sending mail with results at report@fotonower.com args[1347448699] : ('0.024855813983146163',) no score found for photo 1347448699 We are sending mail with results at report@fotonower.com args[1347448261] : ('0.024855813983146163',) no score found for photo 1347448261 We are sending mail with results at report@fotonower.com args[1347448043] : ('0.024855813983146163',) no score found for photo 1347448043 We are sending mail with results at report@fotonower.com args[1347448019] : ('0.024855813983146163',) no score found for photo 1347448019 We are sending mail with results at report@fotonower.com args[1347447940] : ('0.024855813983146163',) no score found for photo 1347447940 We are sending mail with results at report@fotonower.com args[1347447932] : ('0.024855813983146163',) no score found for photo 1347447932 We are sending mail with results at report@fotonower.com args[1347447918] : ('0.024855813983146163',) no score found for photo 1347447918 We are sending mail with results at report@fotonower.com args[1347447906] : ('0.024855813983146163',) no score found for photo 1347447906 We are sending mail with results at report@fotonower.com args[1347447850] : ('0.024855813983146163',) no score found for photo 1347447850 We are sending mail with results at report@fotonower.com args[1347447846] : ('0.024855813983146163',) no score found for photo 1347447846 We are sending mail with results at report@fotonower.com args[1347447842] : ('0.024855813983146163',) no score found for photo 1347447842 We are sending mail with results at report@fotonower.com args[1347447841] : ('0.024855813983146163',) no score found for photo 1347447841 We are sending mail with results at report@fotonower.com args[1347447838] : ('0.024855813983146163',) no score found for photo 1347447838 We are sending mail with results at report@fotonower.com refus_total : 0.024855813983146163 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=21724584 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_P21724584_27-03-2025_05_42_31.pdf results_Auto_P21724584_27-03-2025_05_42_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.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','21724584','results_Auto_P21724584_27-03-2025_05_42_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf','pdf','','0.3','0.024855813983146163') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21724584]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] map_info['map_portfolio_photo'] : {21724584: [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838]} final : False mtd_id 4302 list_pids : [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] 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, '2695826') ('4302', '21724584', '1347450983', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450676', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450601', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450225', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450118', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450116', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450110', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449036', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449032', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449012', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448958', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448928', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448925', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448858', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448854', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448844', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448835', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448827', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448699', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448261', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448043', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447940', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447918', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447906', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447850', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447846', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447842', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447841', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447838', None, None, None, None, None, '2695826') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21724584', '1347450983', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450676', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450601', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450225', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450118', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450116', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450110', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449036', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449032', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449019', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449012', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448958', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448932', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448928', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448925', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448858', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448854', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448844', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448835', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448827', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448699', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448261', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448043', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448019', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447940', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447932', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447918', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447906', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447850', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447846', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447842', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447841', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447838', None, None, None, None, None, '2695826')] time used for this insertion : 0.03359365463256836 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.2164130210876465 time spend to save output : 0.03401470184326172 total time spend for step 4 : 6.250427722930908 step5:split_time_score Thu Mar 27 05:42:36 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 : ['21724584'] 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 : [('21724584',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21724584) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347450118: {'path': 'temp/1743050550_2557136_1347450118_24288fbcc81595e1967552705fe430f0.jpg', 'extension': 'jpg'}, 1347450225: {'path': 'temp/1743050550_2557136_1347450225_1f1db311d7247db12d6619d85ace48b7.jpg', 'extension': 'jpg'}, 1347450601: {'path': 'temp/1743050550_2557136_1347450601_e2af908d16a060c8a898cc0aab338d5e.jpg', 'extension': 'jpg'}, 1347450676: {'path': 'temp/1743050550_2557136_1347450676_41353fbcda706d4de9771e72b0b517ba.jpg', 'extension': 'jpg'}, 1347450983: {'path': 'temp/1743050550_2557136_1347450983_66ad77120fb83682d61f0cf50bba7ac5.jpg', 'extension': 'jpg'}, 1347447838: {'path': 'temp/1743050550_2557136_1347447838_e199203d00091d6e0aceaa1b7932cf7b.jpg', 'extension': 'jpg'}, 1347447841: {'path': 'temp/1743050550_2557136_1347447841_9ce39c4f9406775ec36cc12278a46797.jpg', 'extension': 'jpg'}, 1347447842: {'path': 'temp/1743050550_2557136_1347447842_a5f322650ef7ff7b0432f2d03cc9d98c.jpg', 'extension': 'jpg'}, 1347447846: {'path': 'temp/1743050550_2557136_1347447846_0fbe16c81b9850f0246cb4ff55b71b7b.jpg', 'extension': 'jpg'}, 1347447850: {'path': 'temp/1743050550_2557136_1347447850_53420fac851a9df75fa17edf7f069b50.jpg', 'extension': 'jpg'}, 1347447906: {'path': 'temp/1743050550_2557136_1347447906_e07e4dd67e8572eb9b8c1f7f580d7827.jpg', 'extension': 'jpg'}, 1347447918: {'path': 'temp/1743050550_2557136_1347447918_fa5dccd35e1622846a33dcad08361823.jpg', 'extension': 'jpg'}, 1347448958: {'path': 'temp/1743050550_2557136_1347448958_a593b7570f70d7436a3cff348eff1b8d.jpg', 'extension': 'jpg'}, 1347449012: {'path': 'temp/1743050550_2557136_1347449012_d1826cde8688e63f15cacc5eab7fb594.jpg', 'extension': 'jpg'}, 1347449019: {'path': 'temp/1743050550_2557136_1347449019_5e3a17d29980e5703f70640737c7b1f9.jpg', 'extension': 'jpg'}, 1347449032: {'path': 'temp/1743050550_2557136_1347449032_c16d121ca2c9b27b903d155170b6f3eb.jpg', 'extension': 'jpg'}, 1347449036: {'path': 'temp/1743050550_2557136_1347449036_9b5ba57de7918b507bd6deb5b4795ab4.jpg', 'extension': 'jpg'}, 1347450110: {'path': 'temp/1743050550_2557136_1347450110_70a9f1130d311ed4df248eb538cdecca.jpg', 'extension': 'jpg'}, 1347450116: {'path': 'temp/1743050550_2557136_1347450116_2fe0c2a2b3f795ae26fccc6aaafa96ac.jpg', 'extension': 'jpg'}, 1347447932: {'path': 'temp/1743050550_2557136_1347447932_c7f1ca131ed6221411fc0c6e461d65f7.jpg', 'extension': 'jpg'}, 1347447940: {'path': 'temp/1743050550_2557136_1347447940_943354aea4e769c6846bd6928fb1580d.jpg', 'extension': 'jpg'}, 1347448019: {'path': 'temp/1743050550_2557136_1347448019_07b290d43b2fa5df82709aef4bd15e50.jpg', 'extension': 'jpg'}, 1347448043: {'path': 'temp/1743050550_2557136_1347448043_0ed37bcc57adbda4bf7bb352803bb060.jpg', 'extension': 'jpg'}, 1347448261: {'path': 'temp/1743050550_2557136_1347448261_06b2dd7293bcc5aec1bed3c04a9eaae2.jpg', 'extension': 'jpg'}, 1347448699: {'path': 'temp/1743050550_2557136_1347448699_63da878e9e2b4edde58e40f493ebb227.jpg', 'extension': 'jpg'}, 1347448827: {'path': 'temp/1743050550_2557136_1347448827_8904e83229e6d39c189e6cec64323403.jpg', 'extension': 'jpg'}, 1347448835: {'path': 'temp/1743050550_2557136_1347448835_121dddb9ac00acb87b357060c23adb77.jpg', 'extension': 'jpg'}, 1347448844: {'path': 'temp/1743050550_2557136_1347448844_691df6f9113ee45f7db5ccefc4713092.jpg', 'extension': 'jpg'}, 1347448854: {'path': 'temp/1743050550_2557136_1347448854_3eb70e867c2aad26d0b2efc2f98c85e4.jpg', 'extension': 'jpg'}, 1347448858: {'path': 'temp/1743050550_2557136_1347448858_3481544982e02c01aab1a6f7bc08c28a.jpg', 'extension': 'jpg'}, 1347448925: {'path': 'temp/1743050550_2557136_1347448925_db36d70b5dfd651cc053296b85654abe.jpg', 'extension': 'jpg'}, 1347448928: {'path': 'temp/1743050550_2557136_1347448928_b9a12fec9dfc611ded49871c77fa8cb7.jpg', 'extension': 'jpg'}, 1347448932: {'path': 'temp/1743050550_2557136_1347448932_78fd672cb523301f6b3d7759910db38e.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 = 21724584; (('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 = 21724584 group by h (('08', 33),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21724584 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 (21724584) 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 (21724584) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26032025 21724584 Nombre de photos uploadées : 33 / 23040 (0%) 26032025 21724584 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 26032025 21724584 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1347447850, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/53420fac851a9df75fa17edf7f069b50.jpg', 'username': None, 'uploaded_at': 1742974334, 'text': 'image_26032025_08_30_04_10168.jpg'}, {'photo_id': 1347447846, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/0fbe16c81b9850f0246cb4ff55b71b7b.jpg', 'username': None, 'uploaded_at': 1742974334, 'text': 'image_26032025_08_30_14_10135.jpg'}, {'photo_id': 1347447842, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/a5f322650ef7ff7b0432f2d03cc9d98c.jpg', 'username': None, 'uploaded_at': 1742974334, 'text': 'image_26032025_08_30_24_10135.jpg'}, {'photo_id': 1347447841, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/9ce39c4f9406775ec36cc12278a46797.jpg', 'username': None, 'uploaded_at': 1742974334, 'text': 'image_26032025_08_30_34_10134.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001425027847290039 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21724584, '2025-03-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1689284,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.030340194702148438 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= 1689284 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21717852, 'dashboard_result_id': 9663855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21717911, 'dashboard_result_id': 9663856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21718208, 'dashboard_result_id': 9663857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21718593, 'dashboard_result_id': 9663858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21718923, 'dashboard_result_id': 9663859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21719113, 'dashboard_result_id': 9663860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21719546, 'dashboard_result_id': 9663861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21720025, 'dashboard_result_id': 9663862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21720583, 'dashboard_result_id': 9663863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21720905, 'dashboard_result_id': 9663864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21721639, 'dashboard_result_id': 9663865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21722303, 'dashboard_result_id': 9663866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21722992, 'dashboard_result_id': 9663867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21723967, 'dashboard_result_id': 9663868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21724584, 'dashboard_result_id': 9663869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_01_09_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760961, 'dashboard_result_id': 9663870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_27-03-2025_01_10_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761525, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760962, 'dashboard_result_id': 9663871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_27-03-2025_01_09_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761447, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760963, 'dashboard_result_id': 9663872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_27-03-2025_01_09_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21761412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761423, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760964, 'dashboard_result_id': 9663873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_27-03-2025_01_08_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761399, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760965, 'dashboard_result_id': 9663874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_27-03-2025_01_08_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761358, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760966, 'dashboard_result_id': 9663875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_27-03-2025_01_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761327, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760967, 'dashboard_result_id': 9663876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_27-03-2025_01_07_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761301, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760968, 'dashboard_result_id': 9663877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_27-03-2025_01_06_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761277, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760969, 'dashboard_result_id': 9663878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_27-03-2025_01_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761252, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760970, 'dashboard_result_id': 9663879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_01_05_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761204, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760971, 'dashboard_result_id': 9663880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_01_05_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761155, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21760985, 'dashboard_result_id': 9663881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_01_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761106, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21725475, 'dashboard_result_id': 9663882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_26-03-2025_14_20_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21725478, 'dashboard_result_id': 9663883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_26-03-2025_14_19_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21725481, 'dashboard_result_id': 9663884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_26-03-2025_14_19_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21725483, 'dashboard_result_id': 9663885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_26-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21726952, 'dashboard_result_id': 9663886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_26-03-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21728821, 'dashboard_result_id': 9663887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_26-03-2025_15_19_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21729717, 'dashboard_result_id': 9663888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_26-03-2025_15_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21730956, 'dashboard_result_id': 9663889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_26-03-2025_15_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21731666, 'dashboard_result_id': 9663890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_26-03-2025_16_04_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21732332, 'dashboard_result_id': 9663891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_26-03-2025_16_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21733447, 'dashboard_result_id': 9663892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_26-03-2025_16_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21734263, 'dashboard_result_id': 9663893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_26-03-2025_16_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21735300, 'dashboard_result_id': 9663894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_26-03-2025_17_03_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21735815, 'dashboard_result_id': 9663895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_26-03-2025_17_17_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21736891, 'dashboard_result_id': 9663896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_26-03-2025_18_04_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21738482, 'dashboard_result_id': 9663897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_26-03-2025_18_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21739307, 'dashboard_result_id': 9663898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_26-03-2025_18_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21739892, 'dashboard_result_id': 9663899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_26-03-2025_18_47_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21740539, 'dashboard_result_id': 9663900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_26-03-2025_19_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21741201, 'dashboard_result_id': 9663901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_26-03-2025_19_18_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21742216, 'dashboard_result_id': 9663902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21743303, 'dashboard_result_id': 9663903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_26-03-2025_19_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21744306, 'dashboard_result_id': 9663904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_26-03-2025_20_05_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21745274, 'dashboard_result_id': 9663905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_26-03-2025_20_17_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21746490, 'dashboard_result_id': 9663906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_26-03-2025_20_35_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21747195, 'dashboard_result_id': 9663907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_26-03-2025_21_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21748496, 'dashboard_result_id': 9663908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21749070, 'dashboard_result_id': 9663909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21749627, 'dashboard_result_id': 9663910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21750331, 'dashboard_result_id': 9663911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21750903, 'dashboard_result_id': 9663912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21752014, 'dashboard_result_id': 9663913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21753280, 'dashboard_result_id': 9663914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21754177, 'dashboard_result_id': 9663915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21755139, 'dashboard_result_id': 9663916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21756185, 'dashboard_result_id': 9663917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21756877, 'dashboard_result_id': 9663918, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700193, 'mtr_portfolio_id': 21757954, 'dashboard_result_id': 9663919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, '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 = 21717852 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': 2695812, 'mtr_portfolio_id': 21717852, 'created_at': datetime.datetime(2025, 3, 27, 5, 34, 30), 'result': '0.08242603219735589', 'result_long': None, 'result_double': None}] Qualite : 0.08242603219735589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21717852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21717852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, 'pht': 3726}}" where mtr_portfolio_id = 21717852 and dashboard_run_id = 1700193 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`=21717852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663855, 0.08242603219735589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, '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 = 21717911 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': 2695813, 'mtr_portfolio_id': 21717911, 'created_at': datetime.datetime(2025, 3, 27, 5, 35, 35), 'result': '0.03767968681777446', 'result_long': None, 'result_double': None}] Qualite : 0.03767968681777446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21717911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21717911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, 'pht': 3726}}" where mtr_portfolio_id = 21717911 and dashboard_run_id = 1700193 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`=21717911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663856, 0.03767968681777446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, '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 = 21718208 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': 2695814, 'mtr_portfolio_id': 21718208, 'created_at': datetime.datetime(2025, 3, 27, 5, 36, 51), 'result': '0.04172616201372019', 'result_long': None, 'result_double': None}] Qualite : 0.04172616201372019 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, 'pht': 3726}}" where mtr_portfolio_id = 21718208 and dashboard_run_id = 1700193 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`=21718208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663857, 0.04172616201372019, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, '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 = 21718593 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': 2695815, 'mtr_portfolio_id': 21718593, 'created_at': datetime.datetime(2025, 3, 27, 5, 36, 40), 'result': '0.0462154386449113', 'result_long': None, 'result_double': None}] Qualite : 0.0462154386449113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718593 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, 'pht': 3726}}" where mtr_portfolio_id = 21718593 and dashboard_run_id = 1700193 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`=21718593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663858, 0.0462154386449113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, '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 = 21718923 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': 2695816, 'mtr_portfolio_id': 21718923, 'created_at': datetime.datetime(2025, 3, 27, 5, 37), 'result': '0.03791537531171332', 'result_long': None, 'result_double': None}] Qualite : 0.03791537531171332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, 'pht': 3726}}" where mtr_portfolio_id = 21718923 and dashboard_run_id = 1700193 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`=21718923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663859, 0.03791537531171332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, '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 = 21719113 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': 2695817, 'mtr_portfolio_id': 21719113, 'created_at': datetime.datetime(2025, 3, 27, 5, 37, 31), 'result': '0.03733418979336736', 'result_long': None, 'result_double': None}] Qualite : 0.03733418979336736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21719113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21719113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, 'pht': 3726}}" where mtr_portfolio_id = 21719113 and dashboard_run_id = 1700193 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`=21719113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663860, 0.03733418979336736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, '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 = 21719546 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': 2695818, 'mtr_portfolio_id': 21719546, 'created_at': datetime.datetime(2025, 3, 27, 5, 38, 29), 'result': '0.04355874516769005', 'result_long': None, 'result_double': None}] Qualite : 0.04355874516769005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21719546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21719546 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, 'pht': 3726}}" where mtr_portfolio_id = 21719546 and dashboard_run_id = 1700193 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`=21719546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663861, 0.04355874516769005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, '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 = 21720025 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': 2695819, 'mtr_portfolio_id': 21720025, 'created_at': datetime.datetime(2025, 3, 27, 5, 39, 3), 'result': '0.040838733558275074', 'result_long': None, 'result_double': None}] Qualite : 0.040838733558275074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, 'pht': 3726}}" where mtr_portfolio_id = 21720025 and dashboard_run_id = 1700193 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`=21720025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663862, 0.040838733558275074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, '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 = 21720583 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': 2695820, 'mtr_portfolio_id': 21720583, 'created_at': datetime.datetime(2025, 3, 27, 5, 39, 34), 'result': '0.047282836661503395', 'result_long': None, 'result_double': None}] Qualite : 0.047282836661503395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720583 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720583 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, 'pht': 3726}}" where mtr_portfolio_id = 21720583 and dashboard_run_id = 1700193 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`=21720583 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663863, 0.047282836661503395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, '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 = 21720905 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': 2695821, 'mtr_portfolio_id': 21720905, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 46), 'result': '0.04248062650645878', 'result_long': None, 'result_double': None}] Qualite : 0.04248062650645878 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, 'pht': 3726}}" where mtr_portfolio_id = 21720905 and dashboard_run_id = 1700193 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`=21720905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663864, 0.04248062650645878, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, '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 = 21721639 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': 2695822, 'mtr_portfolio_id': 21721639, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 30), 'result': '0.04164583386365705', 'result_long': None, 'result_double': None}] Qualite : 0.04164583386365705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21721639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21721639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, 'pht': 3726}}" where mtr_portfolio_id = 21721639 and dashboard_run_id = 1700193 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`=21721639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663865, 0.04164583386365705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, '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 = 21722303 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': 2695823, 'mtr_portfolio_id': 21722303, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 58), 'result': '0.04277598450772852', 'result_long': None, 'result_double': None}] Qualite : 0.04277598450772852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21722303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21722303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, 'pht': 3726}}" where mtr_portfolio_id = 21722303 and dashboard_run_id = 1700193 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`=21722303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663866, 0.04277598450772852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, '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 = 21722992 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': 2695824, 'mtr_portfolio_id': 21722992, 'created_at': datetime.datetime(2025, 3, 27, 5, 41, 3), 'result': '0.041689454190622324', 'result_long': None, 'result_double': None}] Qualite : 0.041689454190622324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21722992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21722992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, 'pht': 3726}}" where mtr_portfolio_id = 21722992 and dashboard_run_id = 1700193 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`=21722992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663867, 0.041689454190622324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, '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 = 21723967 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': 2695825, 'mtr_portfolio_id': 21723967, 'created_at': datetime.datetime(2025, 3, 27, 5, 41, 29), 'result': '0.054171806367155545', 'result_long': None, 'result_double': None}] Qualite : 0.054171806367155545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21723967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21723967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, 'pht': 3726}}" where mtr_portfolio_id = 21723967 and dashboard_run_id = 1700193 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`=21723967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663868, 0.054171806367155545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, '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 = 21724584 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': 2695826, 'mtr_portfolio_id': 21724584, 'created_at': datetime.datetime(2025, 3, 27, 5, 42, 29), 'result': '0.024855813983146163', 'result_long': None, 'result_double': None}] Qualite : 0.024855813983146163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21724584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21724584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, 'pht': 3726}}" where mtr_portfolio_id = 21724584 and dashboard_run_id = 1700193 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`=21724584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663869, 0.024855813983146163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, '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 = 21760961 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 = 21760961 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 = 21760961 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760961 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 = 21760961 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 = 21760961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_27-03-2025_01_10_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_27-03-2025_01_10_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761525, 'pht': 3726}}" where mtr_portfolio_id = 21760961 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760962 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 = 21760962 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 = 21760962 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760962 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 = 21760962 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 = 21760962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_27-03-2025_01_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760962 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_27-03-2025_01_09_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761447, 'pht': 3726}}" where mtr_portfolio_id = 21760962 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760963 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 = 21760963 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 = 21760963 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760963 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 = 21760963 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 = 21760963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_27-03-2025_01_09_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_27-03-2025_01_09_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21761412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761423, 'pht': 3726}}" where mtr_portfolio_id = 21760963 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760964 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 = 21760964 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 = 21760964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760964 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 = 21760964 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 = 21760964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_27-03-2025_01_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_27-03-2025_01_08_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761399, 'pht': 3726}}" where mtr_portfolio_id = 21760964 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760965 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 = 21760965 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 = 21760965 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760965 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 = 21760965 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 = 21760965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_27-03-2025_01_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_27-03-2025_01_08_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761358, 'pht': 3726}}" where mtr_portfolio_id = 21760965 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760966 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 = 21760966 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 = 21760966 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760966 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 = 21760966 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 = 21760966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_27-03-2025_01_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760966 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_27-03-2025_01_07_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761327, 'pht': 3726}}" where mtr_portfolio_id = 21760966 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760967 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 = 21760967 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 = 21760967 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760967 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 = 21760967 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 = 21760967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_27-03-2025_01_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_27-03-2025_01_07_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761301, 'pht': 3726}}" where mtr_portfolio_id = 21760967 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760968 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 = 21760968 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 = 21760968 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760968 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 = 21760968 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 = 21760968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_27-03-2025_01_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_27-03-2025_01_06_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761277, 'pht': 3726}}" where mtr_portfolio_id = 21760968 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760969 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 = 21760969 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 = 21760969 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760969 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 = 21760969 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 = 21760969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_27-03-2025_01_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_27-03-2025_01_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761252, 'pht': 3726}}" where mtr_portfolio_id = 21760969 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760970 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 = 21760970 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 = 21760970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760970 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 = 21760970 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 = 21760970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_01_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_01_05_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761204, 'pht': 3726}}" where mtr_portfolio_id = 21760970 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 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 = 21760971 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 = 21760971 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 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 = 21760971 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 = 21760971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_01_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_01_05_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761155, 'pht': 3726}}" where mtr_portfolio_id = 21760971 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 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 = 21760985 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 = 21760985 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 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 = 21760985 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 = 21760985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_01_04_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_01_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761106, 'pht': 3726}}" where mtr_portfolio_id = 21760985 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725475 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 = 21725475 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 = 21725475 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725475 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 = 21725475 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 = 21725475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_26-03-2025_14_20_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_26-03-2025_14_20_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, 'pht': 3726}}" where mtr_portfolio_id = 21725475 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725478 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 = 21725478 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 = 21725478 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725478 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 = 21725478 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 = 21725478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_26-03-2025_14_19_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_26-03-2025_14_19_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, 'pht': 3726}}" where mtr_portfolio_id = 21725478 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725481 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 = 21725481 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 = 21725481 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725481 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 = 21725481 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 = 21725481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_26-03-2025_14_19_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_26-03-2025_14_19_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, 'pht': 3726}}" where mtr_portfolio_id = 21725481 and dashboard_run_id = 1700193 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725483 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': 2692265, 'mtr_portfolio_id': 21725483, 'created_at': datetime.datetime(2025, 3, 26, 14, 32, 59), 'result': '0.0401361118311266', 'result_long': None, 'result_double': None}] Qualite : 0.0401361118311266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_26-03-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_26-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, 'pht': 3726}}" where mtr_portfolio_id = 21725483 and dashboard_run_id = 1700193 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`=21725483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663885, 0.0401361118311266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_26-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, '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 = 21726952 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': 2692533, 'mtr_portfolio_id': 21726952, 'created_at': datetime.datetime(2025, 3, 26, 14, 48, 59), 'result': '0.04561189147009174', 'result_long': None, 'result_double': None}] Qualite : 0.04561189147009174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21726952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_26-03-2025_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21726952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_26-03-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, 'pht': 3726}}" where mtr_portfolio_id = 21726952 and dashboard_run_id = 1700193 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`=21726952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663886, 0.04561189147009174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_26-03-2025_14_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, '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 = 21728821 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': 2692782, 'mtr_portfolio_id': 21728821, 'created_at': datetime.datetime(2025, 3, 26, 15, 19, 4), 'result': '0.03826357938052577', 'result_long': None, 'result_double': None}] Qualite : 0.03826357938052577 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21728821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_26-03-2025_15_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21728821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_26-03-2025_15_19_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, 'pht': 3726}}" where mtr_portfolio_id = 21728821 and dashboard_run_id = 1700193 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`=21728821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663887, 0.03826357938052577, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_26-03-2025_15_19_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, '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 = 21729717 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': 2692816, 'mtr_portfolio_id': 21729717, 'created_at': datetime.datetime(2025, 3, 26, 15, 32, 59), 'result': '0.043510251189625496', 'result_long': None, 'result_double': None}] Qualite : 0.043510251189625496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21729717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_26-03-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21729717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_26-03-2025_15_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, 'pht': 3726}}" where mtr_portfolio_id = 21729717 and dashboard_run_id = 1700193 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`=21729717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663888, 0.043510251189625496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_26-03-2025_15_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, '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 = 21730956 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': 2692918, 'mtr_portfolio_id': 21730956, 'created_at': datetime.datetime(2025, 3, 26, 15, 49), 'result': '0.04502154968974169', 'result_long': None, 'result_double': None}] Qualite : 0.04502154968974169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21730956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_26-03-2025_15_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21730956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_26-03-2025_15_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, 'pht': 3726}}" where mtr_portfolio_id = 21730956 and dashboard_run_id = 1700193 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`=21730956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663889, 0.04502154968974169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_26-03-2025_15_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, '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 = 21731666 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': 2692951, 'mtr_portfolio_id': 21731666, 'created_at': datetime.datetime(2025, 3, 26, 16, 4, 28), 'result': '0.03253741201359955', 'result_long': None, 'result_double': None}] Qualite : 0.03253741201359955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21731666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_26-03-2025_16_04_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21731666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_26-03-2025_16_04_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, 'pht': 3726}}" where mtr_portfolio_id = 21731666 and dashboard_run_id = 1700193 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`=21731666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663890, 0.03253741201359955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_26-03-2025_16_04_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, '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 = 21732332 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': 2693048, 'mtr_portfolio_id': 21732332, 'created_at': datetime.datetime(2025, 3, 26, 16, 18, 58), 'result': '0.039183224057331524', 'result_long': None, 'result_double': None}] Qualite : 0.039183224057331524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21732332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_26-03-2025_16_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21732332 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_26-03-2025_16_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, 'pht': 3726}}" where mtr_portfolio_id = 21732332 and dashboard_run_id = 1700193 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`=21732332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663891, 0.039183224057331524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_26-03-2025_16_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, '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 = 21733447 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': 2693209, 'mtr_portfolio_id': 21733447, 'created_at': datetime.datetime(2025, 3, 26, 16, 32, 58), 'result': '0.04344358042473777', 'result_long': None, 'result_double': None}] Qualite : 0.04344358042473777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21733447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_26-03-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21733447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_26-03-2025_16_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, 'pht': 3726}}" where mtr_portfolio_id = 21733447 and dashboard_run_id = 1700193 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`=21733447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663892, 0.04344358042473777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_26-03-2025_16_32_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, '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 = 21734263 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': 2693323, 'mtr_portfolio_id': 21734263, 'created_at': datetime.datetime(2025, 3, 26, 16, 47, 59), 'result': '0.035100811440391545', 'result_long': None, 'result_double': None}] Qualite : 0.035100811440391545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21734263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_26-03-2025_16_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21734263 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_26-03-2025_16_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, 'pht': 3726}}" where mtr_portfolio_id = 21734263 and dashboard_run_id = 1700193 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`=21734263 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663893, 0.035100811440391545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_26-03-2025_16_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, '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 = 21735300 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': 2693396, 'mtr_portfolio_id': 21735300, 'created_at': datetime.datetime(2025, 3, 26, 17, 3, 59), 'result': '0.03953451944661678', 'result_long': None, 'result_double': None}] Qualite : 0.03953451944661678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21735300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_26-03-2025_17_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21735300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_26-03-2025_17_03_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, 'pht': 3726}}" where mtr_portfolio_id = 21735300 and dashboard_run_id = 1700193 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`=21735300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663894, 0.03953451944661678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_26-03-2025_17_03_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, '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 = 21735815 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': 2693442, 'mtr_portfolio_id': 21735815, 'created_at': datetime.datetime(2025, 3, 26, 17, 17, 58), 'result': '0.03779248411276901', 'result_long': None, 'result_double': None}] Qualite : 0.03779248411276901 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21735815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_26-03-2025_17_17_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21735815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_26-03-2025_17_17_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, 'pht': 3726}}" where mtr_portfolio_id = 21735815 and dashboard_run_id = 1700193 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`=21735815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663895, 0.03779248411276901, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_26-03-2025_17_17_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, '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 = 21736891 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': 2693492, 'mtr_portfolio_id': 21736891, 'created_at': datetime.datetime(2025, 3, 26, 18, 3, 59), 'result': '0.03949668603361292', 'result_long': None, 'result_double': None}] Qualite : 0.03949668603361292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21736891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_26-03-2025_18_04_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21736891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_26-03-2025_18_04_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, 'pht': 3726}}" where mtr_portfolio_id = 21736891 and dashboard_run_id = 1700193 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`=21736891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663896, 0.03949668603361292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_26-03-2025_18_04_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, '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 = 21738482 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': 2693629, 'mtr_portfolio_id': 21738482, 'created_at': datetime.datetime(2025, 3, 26, 18, 20), 'result': '0.046361595799186264', 'result_long': None, 'result_double': None}] Qualite : 0.046361595799186264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21738482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_26-03-2025_18_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21738482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_26-03-2025_18_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, 'pht': 3726}}" where mtr_portfolio_id = 21738482 and dashboard_run_id = 1700193 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`=21738482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663897, 0.046361595799186264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_26-03-2025_18_20_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, '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 = 21739307 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': 2693665, 'mtr_portfolio_id': 21739307, 'created_at': datetime.datetime(2025, 3, 26, 18, 35), 'result': '0.0362267520998383', 'result_long': None, 'result_double': None}] Qualite : 0.0362267520998383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21739307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_26-03-2025_18_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21739307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_26-03-2025_18_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, 'pht': 3726}}" where mtr_portfolio_id = 21739307 and dashboard_run_id = 1700193 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`=21739307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663898, 0.0362267520998383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_26-03-2025_18_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, '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 = 21739892 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': 2693706, 'mtr_portfolio_id': 21739892, 'created_at': datetime.datetime(2025, 3, 26, 18, 47, 58), 'result': '0.035892357396174766', 'result_long': None, 'result_double': None}] Qualite : 0.035892357396174766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21739892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_26-03-2025_18_47_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21739892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_26-03-2025_18_47_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, 'pht': 3726}}" where mtr_portfolio_id = 21739892 and dashboard_run_id = 1700193 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`=21739892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663899, 0.035892357396174766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_26-03-2025_18_47_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, '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 = 21740539 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': 2693745, 'mtr_portfolio_id': 21740539, 'created_at': datetime.datetime(2025, 3, 26, 19, 3, 58), 'result': '0.048762306240456306', 'result_long': None, 'result_double': None}] Qualite : 0.048762306240456306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21740539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_26-03-2025_19_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21740539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_26-03-2025_19_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}" where mtr_portfolio_id = 21740539 and dashboard_run_id = 1700193 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`=21740539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663900, 0.048762306240456306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_26-03-2025_19_03_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, '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 = 21741201 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': 2693822, 'mtr_portfolio_id': 21741201, 'created_at': datetime.datetime(2025, 3, 26, 19, 18, 44), 'result': '0.05696838522286202', 'result_long': None, 'result_double': None}] Qualite : 0.05696838522286202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21741201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_26-03-2025_19_18_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21741201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_26-03-2025_19_18_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}" where mtr_portfolio_id = 21741201 and dashboard_run_id = 1700193 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`=21741201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663901, 0.05696838522286202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_26-03-2025_19_18_45.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, '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 = 21742216 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': 2693871, 'mtr_portfolio_id': 21742216, 'created_at': datetime.datetime(2025, 3, 26, 19, 34, 58), 'result': '0.033219398591330655', 'result_long': None, 'result_double': None}] Qualite : 0.033219398591330655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21742216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21742216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}" where mtr_portfolio_id = 21742216 and dashboard_run_id = 1700193 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`=21742216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663902, 0.033219398591330655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_26-03-2025_19_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, '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 = 21743303 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': 2693953, 'mtr_portfolio_id': 21743303, 'created_at': datetime.datetime(2025, 3, 26, 19, 48, 59), 'result': '0.03897351687022581', 'result_long': None, 'result_double': None}] Qualite : 0.03897351687022581 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21743303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_26-03-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21743303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_26-03-2025_19_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, 'pht': 3726}}" where mtr_portfolio_id = 21743303 and dashboard_run_id = 1700193 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`=21743303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663903, 0.03897351687022581, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_26-03-2025_19_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, '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 = 21744306 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': 2694004, 'mtr_portfolio_id': 21744306, 'created_at': datetime.datetime(2025, 3, 26, 20, 5, 7), 'result': '0.03898608054257095', 'result_long': None, 'result_double': None}] Qualite : 0.03898608054257095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21744306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_26-03-2025_20_05_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21744306 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_26-03-2025_20_05_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, 'pht': 3726}}" where mtr_portfolio_id = 21744306 and dashboard_run_id = 1700193 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`=21744306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663904, 0.03898608054257095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_26-03-2025_20_05_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, '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 = 21745274 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': 2694088, 'mtr_portfolio_id': 21745274, 'created_at': datetime.datetime(2025, 3, 26, 20, 17, 58), 'result': '0.03231956823172853', 'result_long': None, 'result_double': None}] Qualite : 0.03231956823172853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21745274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_26-03-2025_20_17_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21745274 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_26-03-2025_20_17_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, 'pht': 3726}}" where mtr_portfolio_id = 21745274 and dashboard_run_id = 1700193 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`=21745274 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663905, 0.03231956823172853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_26-03-2025_20_17_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, '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 = 21746490 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': 2694152, 'mtr_portfolio_id': 21746490, 'created_at': datetime.datetime(2025, 3, 26, 20, 35, 30), 'result': '0.04643630610602775', 'result_long': None, 'result_double': None}] Qualite : 0.04643630610602775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21746490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_26-03-2025_20_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21746490 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_26-03-2025_20_35_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, 'pht': 3726}}" where mtr_portfolio_id = 21746490 and dashboard_run_id = 1700193 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`=21746490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663906, 0.04643630610602775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_26-03-2025_20_35_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, '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 = 21747195 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': 2694196, 'mtr_portfolio_id': 21747195, 'created_at': datetime.datetime(2025, 3, 26, 21, 4, 59), 'result': '0.037479985816117355', 'result_long': None, 'result_double': None}] Qualite : 0.037479985816117355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21747195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_26-03-2025_21_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21747195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_26-03-2025_21_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, 'pht': 3726}}" where mtr_portfolio_id = 21747195 and dashboard_run_id = 1700193 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`=21747195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663907, 0.037479985816117355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_26-03-2025_21_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, '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 = 21748496 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': 2694298, 'mtr_portfolio_id': 21748496, 'created_at': datetime.datetime(2025, 3, 26, 21, 19, 58), 'result': '0.01982916516041119', 'result_long': None, 'result_double': None}] Qualite : 0.01982916516041119 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21748496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21748496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, 'pht': 3726}}" where mtr_portfolio_id = 21748496 and dashboard_run_id = 1700193 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`=21748496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663908, 0.01982916516041119, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, '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 = 21749070 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': 2694337, 'mtr_portfolio_id': 21749070, 'created_at': datetime.datetime(2025, 3, 26, 21, 32, 30), 'result': '0.04258387152839006', 'result_long': None, 'result_double': None}] Qualite : 0.04258387152839006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21749070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21749070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, 'pht': 3726}}" where mtr_portfolio_id = 21749070 and dashboard_run_id = 1700193 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`=21749070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663909, 0.04258387152839006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, '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 = 21749627 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': 2694378, 'mtr_portfolio_id': 21749627, 'created_at': datetime.datetime(2025, 3, 26, 21, 48, 59), 'result': '0.043502630220321546', 'result_long': None, 'result_double': None}] Qualite : 0.043502630220321546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21749627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21749627 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, 'pht': 3726}}" where mtr_portfolio_id = 21749627 and dashboard_run_id = 1700193 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`=21749627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663910, 0.043502630220321546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, '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 = 21750331 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': 2694418, 'mtr_portfolio_id': 21750331, 'created_at': datetime.datetime(2025, 3, 26, 22, 4, 59), 'result': '0.05041254399124694', 'result_long': None, 'result_double': None}] Qualite : 0.05041254399124694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21750331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21750331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, 'pht': 3726}}" where mtr_portfolio_id = 21750331 and dashboard_run_id = 1700193 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`=21750331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663911, 0.05041254399124694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, '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 = 21750903 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': 2694513, 'mtr_portfolio_id': 21750903, 'created_at': datetime.datetime(2025, 3, 26, 22, 17, 56), 'result': '0.06371892832389539', 'result_long': None, 'result_double': None}] Qualite : 0.06371892832389539 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21750903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21750903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, 'pht': 3726}}" where mtr_portfolio_id = 21750903 and dashboard_run_id = 1700193 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`=21750903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663912, 0.06371892832389539, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, '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 = 21752014 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': 2694570, 'mtr_portfolio_id': 21752014, 'created_at': datetime.datetime(2025, 3, 26, 22, 36), 'result': '0.03852561133314404', 'result_long': None, 'result_double': None}] Qualite : 0.03852561133314404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21752014 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21752014 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, 'pht': 3726}}" where mtr_portfolio_id = 21752014 and dashboard_run_id = 1700193 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`=21752014 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663913, 0.03852561133314404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, '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 = 21753280 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': 2694658, 'mtr_portfolio_id': 21753280, 'created_at': datetime.datetime(2025, 3, 26, 22, 49), 'result': '0.031124917892411078', 'result_long': None, 'result_double': None}] Qualite : 0.031124917892411078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21753280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21753280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, 'pht': 3726}}" where mtr_portfolio_id = 21753280 and dashboard_run_id = 1700193 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`=21753280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663914, 0.031124917892411078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, '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 = 21754177 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': 2694700, 'mtr_portfolio_id': 21754177, 'created_at': datetime.datetime(2025, 3, 26, 23, 3, 57), 'result': '0.05418162931616347', 'result_long': None, 'result_double': None}] Qualite : 0.05418162931616347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21754177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21754177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, 'pht': 3726}}" where mtr_portfolio_id = 21754177 and dashboard_run_id = 1700193 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`=21754177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663915, 0.05418162931616347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, '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 = 21755139 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': 2694762, 'mtr_portfolio_id': 21755139, 'created_at': datetime.datetime(2025, 3, 26, 23, 19, 1), 'result': '0.06263417679065923', 'result_long': None, 'result_double': None}] Qualite : 0.06263417679065923 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21755139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21755139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, 'pht': 3726}}" where mtr_portfolio_id = 21755139 and dashboard_run_id = 1700193 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`=21755139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663916, 0.06263417679065923, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, '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 = 21756185 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': 2694807, 'mtr_portfolio_id': 21756185, 'created_at': datetime.datetime(2025, 3, 26, 23, 34, 59), 'result': '0.057465443093998245', 'result_long': None, 'result_double': None}] Qualite : 0.057465443093998245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21756185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21756185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, 'pht': 3726}}" where mtr_portfolio_id = 21756185 and dashboard_run_id = 1700193 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`=21756185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663917, 0.057465443093998245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, '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 = 21756877 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': 2694845, 'mtr_portfolio_id': 21756877, 'created_at': datetime.datetime(2025, 3, 26, 23, 49, 29), 'result': '0.045881791245805416', 'result_long': None, 'result_double': None}] Qualite : 0.045881791245805416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21756877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21756877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, 'pht': 3726}}" where mtr_portfolio_id = 21756877 and dashboard_run_id = 1700193 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`=21756877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663918, 0.045881791245805416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, '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 = 21757954 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': 2694894, 'mtr_portfolio_id': 21757954, 'created_at': datetime.datetime(2025, 3, 27, 1, 4, 1), 'result': '0.043965896840629015', 'result_long': None, 'result_double': None}] Qualite : 0.043965896840629015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21757954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21757954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, 'pht': 3726}}" where mtr_portfolio_id = 21757954 and dashboard_run_id = 1700193 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`=21757954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9663919, 0.043965896840629015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21717852,21717911,21718208,21718593,21718923,21719113,21719546,21720025,21720583,21720905,21721639,21722303,21722992,21723967,21724584,21760961,21760962,21760963,21760964,21760965,21760966,21760967,21760968,21760969,21760970,21760971,21760985,21725475,21725478,21725481,21725483,21726952,21728821,21729717,21730956,21731666,21732332,21733447,21734263,21735300,21735815,21736891,21738482,21739307,21739892,21740539,21741201,21742216,21743303,21744306,21745274,21746490,21747195,21748496,21749070,21749627,21750331,21750903,21752014,21753280,21754177,21755139,21756185,21756877,21757954) result : ((1347421034,), (1347421845,), (1347421863,), (1347422022,), (1347422094,), (1347422180,), (1347422509,), (1347422573,), (1347422649,), (1347422723,), (1347423150,), (1347423037,), (1347423133,), (1347423138,), (1347423142,), (1347423148,), (1347423175,), (1347423177,), (1347423182,), (1347423185,), (1347423189,), (1347423193,), (1347423212,), (1347423215,), (1347423218,), (1347423254,), (1347423263,), (1347423265,), (1347423271,), (1347423279,), (1347423283,), (1347423373,), (1347423378,), (1347423402,), (1347423493,), (1347423495,), (1347423498,), (1347423504,), (1347423508,), (1347423532,), (1347423539,), (1347423542,), (1347423549,), (1347423554,), (1347423557,), (1347423591,), (1347423593,), (1347423597,), (1347423622,), (1347423626,), (1347423636,), (1347423640,), (1347423642,), (1347423644,), (1347423677,), (1347423680,), (1347423685,), (1347423764,), (1347423746,), (1347423749,), (1347423752,), (1347423757,), (1347423760,), (1347423796,), (1347423805,), (1347423810,), (1347423813,), (1347423835,), (1347423839,), (1347423844,), (1347423848,), (1347423857,), (1347423865,), (1347423883,), (1347423886,), (1347423889,), (1347423895,), (1347423898,), (1347423918,), (1347423921,), (1347423925,), (1347423928,), (1347423933,), (1347423963,), (1347423995,), (1347424001,), (1347424007,), (1347424013,), (1347424018,), (1347424032,), (1347424036,), (1347424039,), (1347424054,), (1347424087,), (1347424090,), (1347424095,), (1347424098,), (1347424101,), (1347424106,), (1347424129,), (1347424132,), (1347424134,), (1347424138,), (1347424142,), (1347424145,), (1347424188,), (1347424191,), (1347424195,), (1347424239,), (1347424242,), (1347424246,), (1347424251,), (1347424256,), (1347424333,), (1347424335,), (1347424337,), (1347424412,), (1347424414,), (1347424417,), (1347424421,), (1347424470,), (1347424458,), (1347424461,), (1347424463,), (1347424503,), (1347424507,), (1347424509,), (1347424515,), (1347424518,), (1347424522,), (1347424551,), (1347424553,), (1347424555,), (1347424560,), (1347424565,), (1347424570,), (1347424593,), (1347424645,), (1347424682,), (1347424684,), (1347424686,), (1347424690,), (1347424692,), (1347424737,), (1347424745,), (1347424746,), (1347424750,), (1347424753,), (1347424786,), (1347424789,), (1347424792,), (1347424829,), (1347424830,), (1347424831,), (1347424865,), (1347426571,), (1347427536,), (1347429903,), (1347430374,), (1347430376,), (1347430379,), (1347430383,), (1347430385,), (1347430389,), (1347430421,), (1347430424,), (1347430427,), (1347430433,), (1347430438,), (1347430469,), (1347430472,), (1347430475,), (1347430506,), (1347430508,), (1347430510,), (1347430516,), (1347430520,), (1347430578,), (1347430558,), (1347430562,), (1347430566,), (1347430571,), (1347430574,), (1347430609,), (1347430617,), (1347430626,), (1347430668,), (1347430669,), (1347430670,), (1347430674,), (1347430678,), (1347430684,), (1347430708,), (1347430710,), (1347430712,), (1347430715,), (1347430764,), (1347430766,), (1347430769,), (1347430809,), (1347430812,), (1347430815,), (1347430821,), (1347430864,), (1347430868,), (1347430874,), (1347430877,), (1347430903,), (1347430905,), (1347430907,), (1347430918,), (1347430970,), (1347430973,), (1347430978,), (1347430982,), (1347431010,), (1347431012,), (1347431014,), (1347431018,), (1347431021,), (1347431054,), (1347431056,), (1347431059,), (1347431065,), (1347431070,), (1347431076,), (1347431102,), (1347431105,), (1347431109,), (1347431145,), (1347431148,), (1347431152,), (1347431156,), (1347431159,), (1347431164,), (1347431187,), (1347431190,), (1347431195,), (1347431199,), (1347431201,), (1347431205,), (1347431258,), (1347431261,), (1347431263,), (1347431268,), (1347431327,), (1347431295,), (1347431299,), (1347431306,), (1347431316,), (1347431320,), (1347431352,), (1347431359,), (1347431367,), (1347431373,), (1347431376,), (1347431401,), (1347431404,), (1347431407,), (1347431451,), (1347431461,), (1347431465,), (1347431470,), (1347431475,), (1347431500,), (1347431504,), (1347431508,), (1347431513,), (1347431542,), (1347431546,), (1347431548,), (1347431554,), (1347431561,), (1347431564,), (1347431584,), (1347431587,), (1347431590,), (1347431595,), (1347431601,), (1347431606,), (1347431635,), (1347431646,), (1347431683,), (1347431686,), (1347431689,), (1347431696,), (1347431702,), (1347431721,), (1347431759,), (1347431763,), (1347431778,), (1347431791,), (1347431814,), (1347431816,), (1347431821,), (1347431828,), (1347431833,), (1347431838,), (1347431862,), (1347431867,), (1347431870,), (1347431876,), (1347431911,), (1347431913,), (1347431915,), (1347431920,), (1347431923,), (1347431928,), (1347431970,), (1347431974,), (1347431978,), (1347431986,), (1347431992,), (1347432016,), (1347432019,), (1347432023,), (1347432094,), (1347432072,), (1347432075,), (1347432079,), (1347432086,), (1347432089,), (1347432115,), (1347432119,), (1347432123,), (1347432129,), (1347432173,), (1347432176,), (1347432178,), (1347432187,), (1347432212,), (1347432225,), (1347432248,), (1347432252,), (1347432451,), (1347432454,), (1347432500,), (1347432503,), (1347432506,), (1347432514,), (1347432549,), (1347432554,), (1347432559,), (1347432565,), (1347432569,), (1347432611,), (1347432615,), (1347432617,), (1347432779,), (1347432805,), (1347432834,), (1347432863,), (1347432894,), (1347432926,), (1347433395,), (1347433444,), (1347433496,), (1347433524,), (1347433547,), (1347434070,), (1347434093,), (1347434095,), (1347434105,), (1347434117,), (1347434311,), (1347434286,), (1347434517,), (1347434522,), (1347434525,), (1347434534,), (1347434538,), (1347434543,), (1347434578,), (1347434583,), (1347434588,), (1347434595,), (1347434600,), (1347434611,), (1347434644,), (1347434649,), (1347434794,), (1347434797,), (1347434800,), (1347434805,), (1347434814,), (1347434839,), (1347435069,), (1347435125,), (1347435147,), (1347435174,), (1347435294,), (1347435296,), (1347435300,), (1347435307,), (1347435318,), (1347435344,), (1347435500,), (1347435564,), (1347435578,), (1347435584,), (1347435663,), (1347435674,), (1347435683,), (1347435695,), (1347435705,), (1347435711,), (1347435722,), (1347435723,), (1347435725,), (1347435726,), (1347435728,), (1347435729,), (1347435743,), (1347435755,), (1347435767,), (1347435777,), (1347435785,), (1347435791,), (1347435827,), (1347435835,), (1347435856,), (1347435861,), (1347435865,), (1347435869,), (1347435872,), (1347435877,), (1347435925,), (1347435926,), (1347435969,), (1347435985,), (1347435989,), (1347435992,), (1347435998,), (1347436009,), (1347436012,), (1347436056,), (1347436098,), (1347436103,), (1347435800,), (1347435807,), (1347435814,), (1347435819,), (1347435887,), (1347435889,), (1347435895,), (1347435896,), (1347435902,), (1347435903,), (1347435911,), (1347435912,), (1347435919,), (1347435920,), (1347435937,), (1347435941,), (1347435944,), (1347435950,), (1347435956,), (1347436021,), (1347436030,), (1347436035,), (1347436040,), (1347436049,), (1347436070,), (1347436072,), (1347436078,), (1347436095,), (1347436157,), (1347436175,), (1347436181,), (1347436267,), (1347436274,), (1347436291,), (1347436299,), (1347436319,), (1347436344,), (1347436463,), (1347436468,), (1347436473,), (1347436476,), (1347436480,), (1347436489,), (1347436540,), (1347436972,), (1347437074,), (1347437076,), (1347437078,), (1347437084,), (1347437090,), (1347437096,), (1347437135,), (1347437138,), (1347437145,), (1347437166,), (1347437211,), (1347437216,), (1347437230,), (1347437235,), (1347437242,), (1347437249,), (1347437273,), (1347437276,), (1347437307,), (1347437320,), (1347437326,), (1347437332,), (1347437511,), (1347437435,), (1347437473,), (1347437638,), (1347437649,), (1347437658,), (1347437663,), (1347437672,), (1347437676,), (1347437747,), (1347437771,), (1347437797,), (1347437824,), (1347437854,), (1347437988,), (1347438038,), (1347438144,), (1347438168,), (1347438214,), (1347438371,), (1347438409,), (1347438424,), (1347438442,), (1347438449,), (1347438513,), (1347438611,), (1347438616,), (1347438654,), (1347438680,), (1347438779,), (1347438784,), (1347438788,), (1347438792,), (1347438797,), (1347438803,), (1347438838,), (1347438843,), (1347438848,), (1347438853,), (1347438864,), (1347438871,), (1347439083,), (1347439116,), (1347439142,), (1347439186,), (1347439218,), (1347439296,), (1347439302,), (1347439305,), (1347439312,), (1347439319,), (1347439330,), (1347439364,), (1347439370,), (1347439375,), (1347439382,), (1347439426,), (1347439432,), (1347439437,), (1347439449,), (1347439650,), (1347439653,), (1347439661,), (1347439670,), (1347439683,), (1347439692,), (1347439727,), (1347439738,), (1347439745,), (1347439754,), (1347439795,), (1347439799,), (1347439803,), (1347439812,), (1347439820,), (1347440049,), (1347439994,), (1347440007,), (1347440014,), (1347440035,), (1347440043,), (1347440090,), (1347440098,), (1347440110,), (1347440124,), (1347440294,), (1347440303,), (1347440313,), (1347440320,), (1347440481,), (1347440489,), (1347440495,), (1347440529,), (1347440586,), (1347440591,), (1347440599,), (1347440609,), (1347440614,), (1347440621,), (1347440656,), (1347440662,), (1347440668,), (1347440673,), (1347440679,), (1347440684,), (1347440734,), (1347440736,), (1347440746,), (1347440752,), (1347440822,), (1347440827,), (1347440832,), (1347440839,), (1347440879,), (1347440886,), (1347440892,), (1347440905,), (1347440921,), (1347440936,), (1347440967,), (1347440972,), (1347440978,), (1347441026,), (1347441033,), (1347441039,), (1347441051,), (1347441058,), (1347441066,), (1347441266,), (1347441272,), (1347441289,), (1347441339,), (1347441343,), (1347441346,), (1347441352,), (1347441358,), (1347441363,), (1347442047,), (1347442094,), (1347442142,), (1347442191,), (1347442240,), (1347442779,), (1347442677,), (1347442707,), (1347442733,), (1347442761,), (1347442980,), (1347442985,), (1347443003,), (1347443030,), (1347443551,), (1347443576,), (1347443620,), (1347443656,), (1347443903,), (1347443906,), (1347443908,), (1347443912,), (1347443958,), (1347444091,), (1347444101,), (1347444112,), (1347444128,), (1347444141,), (1347444152,), (1347444303,), (1347444329,), (1347444339,), (1347444545,), (1347444550,), (1347444560,), (1347444566,), (1347444571,), (1347444716,), (1347444720,), (1347444724,), (1347444727,), (1347444731,), (1347444737,), (1347444845,), (1347444868,), (1347444892,), (1347445100,), (1347445104,), (1347445111,), (1347445125,), (1347445157,), (1347445193,), (1347445407,), (1347445410,), (1347445415,), (1347445420,), (1347445427,), (1347445471,), (1347445494,), (1347445499,), (1347445507,), (1347445516,), (1347445632,), (1347445636,), (1347445637,), (1347445806,), (1347445814,), (1347445821,), (1347445835,), (1347445845,), (1347445852,), (1347446045,), (1347446056,), (1347446065,), (1347446081,), (1347446086,), (1347446203,), (1347446138,), (1347446142,), (1347446145,), (1347446150,), (1347446258,), (1347446261,), (1347446364,), (1347446392,), (1347446418,), (1347446446,), (1347446580,), (1347446589,), (1347446592,), (1347446598,), (1347446649,), (1347446656,), (1347446751,), (1347446753,), (1347446754,), (1347447006,), (1347447026,), (1347447035,), (1347447182,), (1347447205,), (1347447222,), (1347447225,), (1347447241,), (1347447251,), (1347447298,), (1347447358,), (1347447366,), (1347447399,), (1347447438,), (1347447440,), (1347447442,), (1347447446,), (1347447456,), (1347447494,), (1347447497,), (1347447500,), (1347447504,), (1347447506,), (1347447511,), (1347447581,), (1347447584,), (1347447588,), (1347447729,), (1347447733,), (1347447783,), (1347447787,), (1347447789,), (1347447793,), (1347447796,), (1347447801,), (1347447854,), (1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,), (1347465376,), (1347465491,), (1347465661,), (1347465663,), (1347465733,), (1347465777,), (1347465779,), (1347465812,), (1347465817,), (1347465820,), (1347465825,), (1347465831,), (1347465864,), (1347465867,), (1347465871,), (1347465876,), (1347465880,), (1347465931,), (1347465903,), (1347465908,), (1347465914,), (1347465918,), (1347465925,), (1347465954,), (1347465959,), (1347465963,), (1347465970,), (1347465976,), (1347465983,), (1347466010,), (1347466014,), (1347466017,), (1347466060,), (1347466066,), (1347466073,), (1347466079,), (1347466085,), (1347466090,), (1347466115,), (1347466118,), (1347466121,), (1347466128,), (1347466133,), (1347466139,), (1347466163,), (1347466169,), (1347466174,), (1347466182,), (1347466212,), (1347466218,), (1347466225,), (1347466231,), (1347466235,), (1347466239,), (1347466252,), (1347466254,), (1347466258,), (1347466264,), (1347466298,), (1347466302,), (1347466309,), (1347466314,), (1347466318,), (1347466320,), (1347466326,), (1347466329,), (1347466332,), (1347466335,), (1347466361,), (1347466364,), (1347466368,), (1347466371,), (1347466374,), (1347466403,), (1347466408,), (1347466412,), (1347466417,), (1347466420,), (1347466422,), (1347466455,), (1347466458,), (1347466463,), (1347466465,), (1347466466,), (1347466539,), (1347466541,), (1347466545,), (1347466549,), (1347466555,), (1347466560,), (1347466579,), (1347466582,), (1347466586,), (1347466621,), (1347466598,), (1347466603,), (1347466607,), (1347466613,), (1347466618,), (1347466650,), (1347466653,), (1347466656,), (1347466661,), (1347466698,), (1347466703,), (1347466707,), (1347466714,), (1347466751,), (1347466754,), (1347466758,), (1347466764,), (1347466769,), (1347466776,), (1347466806,), (1347466809,), (1347466812,), (1347466818,), (1347466850,), (1347466853,), (1347466855,), (1347466861,), (1347466866,), (1347466898,), (1347466903,), (1347466905,), (1347466910,), (1347466950,), (1347466954,), (1347466958,), (1347466964,), (1347466997,), (1347467002,), (1347467007,), (1347467012,), (1347467016,), (1347467042,), (1347467046,), (1347467137,), (1347467141,), (1347467181,), (1347467184,), (1347467188,), (1347467223,), (1347467226,), (1347467231,), (1347467235,), (1347467239,), (1347467262,), (1347467265,), (1347467268,), (1347467274,), (1347467279,), (1347467317,), (1347467304,), (1347467306,), (1347467309,), (1347467314,), (1347467353,), (1347467356,), (1347467360,), (1347467365,), (1347467368,), (1347467373,), (1347467414,), (1347467416,), (1347467419,), (1347467423,), (1347467466,), (1347467470,), (1347467473,), (1347467480,), (1347467488,), (1347467507,), (1347467568,), (1347467569,), (1347467570,), (1347467860,), (1347467864,), (1347467875,), (1347467895,), (1347467901,), (1347467905,), (1347467966,), (1347467995,), (1347468023,), (1347468056,), (1347468133,), (1347468137,), (1347468142,), (1347468156,), (1347468173,), (1347468257,), (1347468260,), (1347468261,), (1347468267,), (1347468359,), (1347468362,), (1347468385,), (1347468461,), (1347468519,), (1347468576,), (1347469012,), (1347469049,), (1347469051,), (1347469064,), (1347469068,), (1347469297,), (1347469317,), (1347469320,), (1347469386,), (1347469390,), (1347469463,), (1347469551,), (1347469675,), (1347469737,), (1347470166,), (1347470200,), (1347470220,), (1347470265,), (1347470443,), (1347470415,), (1347470776,), (1347470788,), (1347470796,), (1347471049,), (1347471085,), (1347471168,), (1347471487,), (1347471507,), (1347471522,), (1347471546,), (1347471554,), (1347471721,), (1347471742,), (1347471755,), (1347471758,), (1347471833,), (1347471843,), (1347471860,), (1347471881,), (1347472049,), (1347472075,), (1347472092,), (1347472278,), (1347472304,), (1347472315,), (1347472321,), (1347472327,), (1347472358,), (1347472360,), (1347472362,), (1347472388,), (1347472483,), (1347472486,), (1347472493,), (1347472497,), (1347472502,), (1347472830,), (1347472913,), (1347472992,), (1347473065,), (1347473215,), (1347473225,), (1347473235,), (1347473407,), (1347473411,), (1347473441,), (1347473469,), (1347473500,), (1347473529,), (1347473577,), (1347473599,), (1347473607,), (1347473612,), (1347473617,), (1347473646,), (1347473648,), (1347473657,), (1347473676,), (1347473679,), (1347474142,), (1347478250,), (1347478279,), (1347478712,), (1347478763,), (1347479359,), (1347479381,), (1347479883,), (1347479972,), (1347480019,), (1347480069,), (1347480140,), (1347480555,), (1347480594,), (1347480650,), (1347480781,), (1347480866,), (1347481357,), (1347481427,), (1347481529,), (1347482736,), (1347482819,), (1347482889,), (1347484675,), (1347484808,), (1347484898,), (1347484951,), (1347485005,), (1347485592,), (1347485693,), (1347485808,), (1347485907,), (1347486125,), (1347486335,), (1347486985,), (1347487008,), (1347487148,), (1347487836,), (1347487932,), (1347487979,), (1347488033,), (1347488087,), (1347488138,), (1347488541,), (1347488599,), (1347488641,), (1347488684,), (1347488747,), (1347489389,), (1347489416,), (1347489453,), (1347489470,), (1347489514,), (1347489572,), (1347489576,), (1347489581,), (1347489585,), (1347489589,), (1347489592,), (1347490014,), (1347489904,), (1347489960,), (1347490526,), (1347490546,), (1347490590,), (1347490652,), (1347490672,), (1347490741,), (1347491282,), (1347491302,), (1347491403,), (1347491417,), (1347491811,), (1347491843,), (1347491851,), (1347491856,), (1347491881,), (1347491914,), (1347492204,), (1347492237,), (1347492262,), (1347492457,), (1347492473,), (1347492495,), (1347492511,), (1347492522,), (1347492544,), (1347492778,), (1347492798,), (1347492805,), (1347492825,), (1347492829,), (1347492853,), (1347493158,), (1347493172,), (1347493200,), (1347493229,), (1347493359,), (1347493364,), (1347493367,), (1347493371,), (1347493374,), (1347493378,), (1347493497,), (1347493505,), (1347493508,), (1347493512,), (1347493517,), (1347493995,), (1347494037,), (1347494070,), (1347494115,), (1347494163,), (1347494597,), (1347494619,), (1347494661,), (1347494700,), (1347494748,), (1347495052,), (1347495062,), (1347495065,), (1347495069,), (1347495215,), (1347495218,), (1347495225,), (1347495253,), (1347495278,), (1347495531,), (1347495571,), (1347495607,), (1347496114,), (1347495905,), (1347496048,), (1347496086,), (1347499286,), (1347499978,), (1347500026,), (1347500089,), (1347500541,), (1347500564,), (1347500582,), (1347500599,), (1347500618,), (1347500669,), (1347501166,), (1347501217,), (1347501269,), (1347501334,), (1347501664,), (1347501913,), (1347501983,), (1347501987,), (1347502120,), (1347502713,), (1347502726,), (1347502753,), (1347502784,), (1347502799,), (1347502823,), (1347503325,), (1347503448,), (1347503555,), (1347504096,), (1347504152,), (1347504208,), (1347504255,), (1347504335,), (1347504389,), (1347504734,), (1347504795,), (1347504839,), (1347504915,), (1347504995,), (1347505622,), (1347505675,), (1347505751,), (1347505817,), (1347505854,), (1347506347,), (1347506178,), (1347506230,), (1347506283,), (1347506806,), (1347506814,), (1347506874,), (1347506915,), (1347506944,), (1347506994,), (1347507285,), (1347507316,), (1347507349,), (1347507381,), (1347507774,), (1347507818,), (1347507852,), (1347507875,), (1347508226,), (1347508274,), (1347508321,), (1347508347,), (1347508377,), (1347508429,), (1347508777,), (1347508844,), (1347508902,), (1347508965,), (1347509754,), (1347509832,), (1347509894,), (1347509924,), (1347509986,), (1347510057,), (1347510552,), (1347513658,), (1347513769,), (1347514117,), (1347514165,), (1347514577,), (1347514771,), (1347515758,), (1347515835,), (1347515879,), (1347516572,), (1347516430,), (1347516494,), (1347517168,), (1347517207,), (1347517256,), (1347517315,), (1347517354,), (1347517493,), (1347518352,), (1347518386,), (1347518451,), (1347518489,), (1347518509,), (1347518584,), (1347519313,), (1347519403,), (1347519517,), (1347519593,), (1347519926,), (1347519939,), (1347519966,), (1347520027,), (1347520084,), (1347520100,), (1347520481,), (1347520545,), (1347520606,), (1347520631,), (1347520997,), (1347521037,), (1347521062,), (1347521074,), (1347521101,), (1347521139,), (1347521443,), (1347521482,), (1347521627,), (1347521692,), (1347522090,), (1347522114,), (1347522157,), (1347522198,), (1347522259,), (1347522298,), (1347522712,), (1347522776,), (1347522844,), (1347523472,), (1347524436,), (1347524477,), (1347524771,), (1347524813,), (1347524835,), (1347524859,), (1347524882,), (1347524909,), (1347525108,), (1347525135,), (1347525152,), (1347525469,), (1347525486,), (1347525513,), (1347525543,), (1347525568,), (1347525825,), (1347525708,), (1347525712,), (1347525738,), (1347525763,), (1347525790,), (1347526360,), (1347526810,), (1347526879,), (1347526984,), (1347527040,), (1347527197,), (1347527199,), (1347527207,), (1347527276,), (1347527320,), (1347527346,), (1347527792,), (1347527818,), (1347527854,), (1347527886,), (1347528091,), (1347528095,), (1347528105,), (1347528109,), (1347528112,), (1347528117,), (1347528178,), (1347528181,), (1347528201,), (1347528485,), (1347528500,), (1347528504,), (1347528509,), (1347528662,), (1347528680,), (1347528738,), (1347528748,), (1347528755,), (1347528771,), (1347528787,), (1347528817,), (1347528830,), (1347528844,), (1347528852,), (1347528871,), (1347528903,), (1347528909,), (1347528914,), (1347528917,), (1347528921,), (1347528984,), (1347529001,), (1347529006,), (1347529015,), (1347529030,), (1347529034,), (1347529057,), (1347529060,), (1347529062,), (1347529185,), (1347529197,), (1347529208,), (1347529238,), (1347529267,), (1347529333,), (1347529475,), (1347529483,), (1347529500,), (1347529507,), (1347529657,), (1347529660,), (1347529674,), (1347529677,), (1347529732,), (1347529704,), (1347529709,), (1347529717,), (1347529722,), (1347529726,), (1347529784,), (1347529789,), (1347529806,), (1347529885,), (1347530182,), (1347530210,), (1347530235,), (1347530258,), (1347530284,), (1347530315,), (1347530357,), (1347530408,), (1347530467,), (1347530499,), (1347530532,), (1347530575,), (1347530834,), (1347530862,), (1347530892,), (1347530915,), (1347531202,), (1347531244,), (1347531289,), (1347531379,), (1347531428,), (1347531541,), (1347531544,), (1347531547,), (1347531629,), (1347531663,), (1347531715,), (1347531735,), (1347531795,), (1347532165,), (1347532235,), (1347532277,), (1347532327,), (1347532476,), (1347532818,), (1347532853,), (1347532908,), (1347532956,), (1347532992,), (1347533057,), (1347533409,), (1347533472,), (1347533502,), (1347533519,), (1347533546,), (1347533961,), (1347534005,), (1347534055,), (1347534094,), (1347534134,), (1347534174,), (1347534438,), (1347534488,), (1347534536,), (1347534559,), (1347534789,), (1347534818,), (1347534852,), (1347534880,), (1347534911,), (1347534934,), (1347535242,), (1347535094,), (1347535100,), (1347535226,), (1347535519,), (1347535525,), (1347535530,), (1347535534,), (1347535538,), (1347535542,), (1347535654,), (1347535681,), (1347535723,), (1347536043,), (1347536096,), (1347536137,), (1347536151,), (1347536194,), (1347536204,), (1347536421,), (1347536426,), (1347536428,), (1347536430,), (1347536482,), (1347536484,), (1347536487,), (1347536489,), (1347536492,), (1347536526,), (1347536530,), (1347536537,), (1347536539,), (1347536540,), (1347536544,), (1347536564,), (1347536586,), (1347536589,), (1347536593,), (1347536597,), (1347536603,), (1347536621,), (1347536623,), (1347536645,), (1347536650,), (1347536654,), (1347536765,), (1347536788,), (1347536810,), (1347536826,), (1347536829,), (1347536841,), (1347536852,), (1347536860,), (1347536869,), (1347536871,), (1347536913,), (1347536916,), (1347536920,), (1347536924,), (1347536930,), (1347536986,), (1347536994,), (1347536997,), (1347537000,), (1347537002,), (1347538224,), (1347538304,), (1347538375,), (1347538684,), (1347538744,), (1347538800,), (1347538828,), (1347538886,), (1347539227,), (1347539034,), (1347539069,), (1347539110,), (1347539157,), (1347539593,), (1347539705,), (1347539773,), (1347539888,), (1347539992,), (1347540071,), (1347540658,), (1347540706,), (1347540749,), (1347540786,), (1347540829,), (1347541274,), (1347541321,), (1347541420,), (1347541475,), (1347541535,), (1347542109,), (1347542165,), (1347542222,), (1347542277,), (1347542324,), (1347542359,), (1347542492,), (1347542515,), (1347542538,), (1347542566,), (1347542593,), (1347543024,), (1347543060,), (1347543095,), (1347543121,), (1347543141,), (1347543164,), (1347543313,), (1347543337,), (1347543368,), (1347543431,), (1347543460,), (1347543577,), (1347543613,), (1347543640,), (1347543657,), (1347543660,), (1347543859,), (1347543888,), (1347543910,), (1347543915,), (1347543926,), (1347544121,), (1347544161,), (1347544171,), (1347544177,), (1347544364,), (1347544386,), (1347544399,), (1347544409,), (1347544413,), (1347544419,), (1347544614,), (1347544629,), (1347544639,), (1347544643,), (1347544670,), (1347544868,), (1347544872,), (1347544919,), (1347544942,), (1347544944,), (1347544950,), (1347545024,), (1347545027,), (1347545029,), (1347545033,), (1347545323,), (1347545188,), (1347545195,), (1347545205,), (1347545217,), (1347545257,), (1347545371,), (1347545374,), (1347545377,), (1347545382,), (1347545506,), (1347545525,), (1347545547,), (1347545549,), (1347545554,), (1347545559,), (1347545578,), (1347545584,), (1347545591,), (1347545692,), (1347545766,), (1347545882,), (1347545894,), (1347545899,), (1347545966,), (1347545978,), (1347545983,), (1347545987,), (1347546020,), (1347546023,), (1347546032,), (1347546082,), (1347546085,), (1347546087,), (1347546091,), (1347546093,), (1347546098,), (1347546131,), (1347546138,), (1347546145,), (1347546149,), (1347546193,), (1347546198,), (1347546274,), (1347546316,), (1347546372,), (1347546376,), (1347546379,), (1347546385,), (1347546388,), (1347546394,), (1347546418,), (1347546421,), (1347546425,), (1347546428,), (1347546455,), (1347546457,), (1347546462,), (1347546472,), (1347546476,), (1347546486,), (1347546517,), (1347546522,), (1347546526,), (1347546574,), (1347546585,), (1347546589,), (1347553591,), (1347553533,), (1347553557,), (1347553572,), (1347553911,), (1347553965,), (1347554020,), (1347554912,), (1347554959,), (1347555008,), (1347555057,), (1347555089,), (1347555201,), (1347555688,), (1347555761,), (1347555799,), (1347556156,), (1347556180,), (1347556203,), (1347556241,), (1347556263,), (1347556293,), (1347556524,), (1347556541,), (1347556545,), (1347556554,), (1347556823,), (1347556919,), (1347556939,), (1347556958,), (1347556988,), (1347557043,), (1347557209,), (1347557293,), (1347557324,), (1347557356,), (1347557577,), (1347557580,), (1347557584,), (1347557589,), (1347557617,), (1347557649,), (1347557770,), (1347557798,), (1347557824,), (1347557851,), (1347557866,), (1347558008,), (1347558010,), (1347558014,), (1347558016,), (1347558021,), (1347558107,), (1347558142,), (1347558169,), (1347558204,), (1347558230,), (1347558257,), (1347558555,), (1347558624,), (1347558675,), (1347558717,), (1347559034,), (1347559061,), (1347559089,), (1347559120,), (1347559146,), (1347559170,), (1347559309,), (1347559332,), (1347559340,), (1347559344,), (1347559508,), (1347559454,), (1347559458,), (1347559468,), (1347559497,), (1347559504,), (1347559577,), (1347559601,), (1347559648,), (1347559720,), (1347559916,), (1347559934,), (1347559943,), (1347559957,), (1347559970,), (1347559982,), (1347560201,), (1347560212,), (1347560217,), (1347560223,), (1347560264,), (1347560267,), (1347560272,), (1347560280,), (1347560282,), (1347560311,), (1347560314,), (1347560316,), (1347560321,), (1347560370,), (1347560373,), (1347560376,), (1347560379,), (1347560381,), (1347560420,), (1347560434,), (1347560438,), (1347560442,), (1347560490,), (1347560495,), (1347560498,), (1347560501,), (1347560515,), (1347560518,), (1347560544,), (1347560601,), (1347560607,), (1347560613,), (1347560616,), (1347560652,), (1347560654,), (1347560657,), (1347560660,), (1347560691,), (1347560695,), (1347560697,), (1347560700,), (1347560702,), (1347560706,), (1347560743,), (1347560744,), (1347560745,), (1347560750,), (1347560819,), (1347560821,), (1347560823,), (1347560827,), (1347560830,), (1347560833,), (1347560902,), (1347560920,), (1347560925,), (1347560928,), (1347561211,), (1347561081,), (1347561094,), (1347561110,), (1347561172,), (1347561190,), (1347561445,), (1347561485,), (1347561520,), (1347561537,), (1347561585,), (1347561587,), (1347561592,), (1347561595,), (1347561599,), (1347561605,), (1347561641,), (1347561644,), (1347561646,), (1347561649,), (1347561651,), (1347561682,), (1347561686,), (1347561690,), (1347561695,), (1347561740,), (1347561745,), (1347561750,), (1347561755,), (1347561758,), (1347561767,), (1347561838,), (1347561840,), (1347561843,), (1347561891,), (1347562372,), (1347562389,), (1347562473,), (1347562509,), (1347562554,), (1347562751,), (1347562756,), (1347562784,), (1347562786,), (1347562804,), (1347562809,), (1347562895,), (1347562899,), (1347562901,), (1347562907,), (1347563012,), (1347563021,), (1347563025,), (1347563029,), (1347563033,), (1347563038,), (1347563118,), (1347563125,), (1347563148,), (1347563287,), (1347563443,), (1347563446,), (1347563450,), (1347563455,), (1347563518,), (1347563523,), (1347563526,), (1347563528,), (1347563732,), (1347563736,), (1347563738,), (1347563754,), (1347563778,), (1347563830,), (1347563955,), (1347563856,), (1347563859,), (1347563942,), (1347563948,), (1347564004,), (1347564007,), (1347564011,), (1347564077,), (1347564081,), (1347564086,), (1347564090,), (1347564095,), (1347564097,), (1347564125,), (1347564128,), (1347564166,), (1347564314,), (1347564463,), (1347564467,), (1347564472,), (1347564622,), (1347564624,), (1347564628,), (1347564633,), (1347564638,), (1347564642,), (1347564671,), (1347564681,), (1347564683,), (1347564689,), (1347564716,), (1347564718,), (1347564720,), (1347564724,), (1347564728,), (1347564734,), (1347564760,), (1347564762,), (1347564764,), (1347564767,), (1347565019,), (1347565055,), (1347565136,), (1347565185,), (1347565224,), (1347565245,), (1347565348,), (1347565381,), (1347565419,), (1347565449,), (1347565474,), (1347565605,), (1347565642,), (1347565731,), (1347565768,), (1347565816,), (1347566212,), (1347566287,), (1347566332,), (1347566353,), (1347566416,), (1347567115,), (1347567120,), (1347567125,), (1347567132,), (1347567137,), (1347567142,), (1347567158,), (1347567163,), (1347567191,), (1347567460,), (1347567293,), (1347567339,), (1347567379,), (1347567407,), (1347567783,), (1347567808,), (1347567842,), (1347567871,), (1347567905,), (1347568295,), (1347568360,), (1347568435,), (1347568510,), (1347568590,), (1347569299,), (1347569384,), (1347569461,), (1347569507,), (1347569565,), (1347570185,), (1347570264,), (1347570340,), (1347570358,), (1347570469,), (1347571133,), (1347571178,), (1347571225,), (1347571266,), (1347571343,), (1347571782,), (1347571832,), (1347571861,), (1347571928,), (1347572617,), (1347572637,), (1347572757,), (1347572805,), (1347572865,), (1347573254,), (1347573281,), (1347573306,), (1347573316,), (1347573331,), (1347573649,), (1347573684,), (1347573761,), (1347573800,), (1347573832,), (1347574056,), (1347574084,), (1347574126,), (1347574150,), (1347574168,), (1347574172,), (1347574420,), (1347574442,), (1347574455,), (1347574850,), (1347574898,), (1347575415,), (1347575441,), (1347575492,), (1347575519,), (1347575548,), (1347575572,), (1347575664,), (1347575685,), (1347575715,), (1347575739,), (1347575771,), (1347575818,), (1347576108,), (1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,), (1347582678,), (1347582502,), (1347582508,), (1347582511,), (1347582525,), (1347582551,), (1347582777,), (1347582784,), (1347582817,), (1347583130,), (1347583141,), (1347583146,), (1347583148,), (1347583171,), (1347583267,), (1347583373,), (1347583377,), (1347583381,), (1347583435,), (1347583448,), (1347583857,), (1347583864,), (1347583869,), (1347583879,), (1347583898,), (1347584097,), (1347584100,), (1347584106,), (1347584423,), (1347584465,), (1347584478,), (1347584523,), (1347584525,), (1347584547,), (1347584561,), (1347584565,), (1347584650,), (1347584672,), (1347584682,), (1347584685,), (1347585023,), (1347585067,), (1347585130,), (1347585174,), (1347585222,), (1347585292,), (1347585605,), (1347585646,), (1347585700,), (1347586085,), (1347586120,), (1347586132,), (1347586158,), (1347586188,), (1347586244,), (1347586564,), (1347586570,), (1347586574,), (1347586577,), (1347586582,), (1347586702,), (1347586730,), (1347586754,), (1347586776,), (1347586943,), (1347586926,), (1347586932,), (1347586935,), (1347586938,), (1347586941,), (1347587195,), (1347587345,), (1347587437,), (1347587474,), (1347587597,), (1347588003,), (1347588026,), (1347588034,), (1347588046,), (1347588064,), (1347588313,), (1347588349,), (1347588385,), (1347588431,), (1347588459,), (1347588505,), (1347588861,), (1347588910,), (1347588945,), (1347588961,), (1347588990,), (1347589295,), (1347589324,), (1347589397,), (1347589452,), (1347589797,), (1347589836,), (1347589866,), (1347589891,), (1347589933,), (1347589957,), (1347590407,), (1347590469,), (1347590524,), (1347590556,), (1347590899,), (1347590944,), (1347591006,), (1347591050,), (1347591077,), (1347591114,), (1347591246,), (1347591250,), (1347591258,), (1347591613,), (1347591751,), (1347591803,), (1347591848,), (1347591877,), (1347591898,), (1347592029,), (1347592065,), (1347592111,), (1347592125,), (1347592148,), (1347592747,), (1347592791,), (1347592849,), (1347592886,), (1347594016,), (1347594060,), (1347594086,), (1347594095,), (1347594100,), (1347594136,), (1347594749,), (1347594572,), (1347594618,), (1347594655,), (1347595286,), (1347595311,), (1347595342,), (1347595358,), (1347595380,), (1347595661,), (1347595690,), (1347595715,), (1347595732,), (1347595779,), (1347595949,), (1347595955,), (1347595966,), (1347595987,), (1347596000,), (1347596013,), (1347596139,), (1347596167,), (1347596199,), (1347596229,), (1347596527,), (1347596774,), (1347596805,), (1347596828,), (1347596833,), (1347596857,), (1347596994,), (1347597043,), (1347597099,), (1347597127,), (1347597568,), (1347597616,), (1347597638,), (1347597657,), (1347597688,), (1347597710,), (1347597844,), (1347597850,), (1347597853,), (1347597867,), (1347598153,), (1347598177,), (1347598187,), (1347598225,), (1347598251,), (1347598282,), (1347598534,), (1347598578,), (1347598622,), (1347598654,), (1347598953,), (1347598986,), (1347599034,), (1347599077,), (1347599123,), (1347599468,), (1347599494,), (1347599520,), (1347599546,), (1347599597,), (1347599635,), (1347599922,), (1347599969,), (1347600000,), (1347600338,), (1347600359,), (1347600380,), (1347600403,), (1347600431,), (1347600447,), (1347600811,), (1347600722,), (1347600759,), (1347601460,), (1347601471,), (1347601476,), (1347601502,), (1347601531,), (1347601647,), (1347602000,), (1347602003,), (1347602006,), (1347602034,), (1347602184,), (1347602187,), (1347602191,), (1347602198,), (1347602199,), (1347602243,), (1347602478,), (1347602504,), (1347602552,), (1347602561,), (1347602749,), (1347602780,), (1347602796,), (1347602805,), (1347602812,), (1347602833,), (1347602928,), (1347602932,), (1347602935,), (1347603079,), (1347603083,), (1347603089,), (1347603093,), (1347603097,), (1347603102,), (1347603124,), (1347603147,), (1347603158,), (1347603162,), (1347603166,), (1347603193,), (1347603204,), (1347603213,), (1347603218,), (1347603223,), (1347603227,), (1347603254,), (1347603270,), (1347603276,), (1347603280,), (1347603332,), (1347603338,), (1347603344,), (1347603346,), (1347603350,), (1347603491,), (1347603494,), (1347603500,), (1347603506,), (1347603510,), (1347603515,), (1347603547,), (1347603554,), (1347603563,), (1347603569,), (1347603632,), (1347603642,), (1347603647,), (1347603652,), (1347603658,), (1347603664,), (1347603856,), (1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,), (1347611891,), (1347612977,), (1347613002,), (1347613098,), (1347613178,), (1347615211,), (1347615363,), (1347615367,), (1347615387,), (1347615394,), (1347615611,), (1347615634,), (1347615645,), (1347615660,), (1347615664,), (1347615689,), (1347615828,), (1347615867,), (1347615901,), (1347615948,), (1347616384,), (1347616413,), (1347616438,), (1347616468,), (1347616495,), (1347616652,), (1347616666,), (1347616714,), (1347616744,), (1347616791,), (1347617235,), (1347617266,), (1347617288,), (1347617305,), (1347617543,), (1347617550,), (1347617556,), (1347617643,), (1347618174,), (1347618172,), (1347618217,), (1347618223,), (1347618228,), (1347618232,), (1347618281,), (1347618295,), (1347618303,), (1347618319,), (1347618556,), (1347618560,), (1347618562,), (1347618584,), (1347618614,), (1347618680,), (1347618683,), (1347618685,), (1347618688,), (1347618737,), (1347618739,), (1347618743,), (1347618746,), (1347618748,), (1347618777,), (1347618778,), (1347618781,), (1347618783,), (1347618788,), (1347618828,), (1347618830,), (1347618834,), (1347618837,), (1347618840,), (1347618868,), (1347618871,), (1347618875,), (1347618878,), (1347619007,), (1347619013,), (1347619032,), (1347619097,), (1347619106,), (1347619142,), (1347619251,), (1347619254,), (1347619257,), (1347619299,), (1347619301,), (1347619305,), (1347619308,), (1347619309,), (1347619318,), (1347619351,), (1347619353,), (1347619356,), (1347619359,), (1347619361,), (1347619365,), (1347619635,), (1347619666,), (1347619889,), (1347619877,), (1347620054,), (1347620058,), (1347620061,), (1347620066,), (1347620071,), (1347620115,), (1347620120,), (1347620182,), (1347620191,), (1347620202,), (1347620211,), (1347620375,), (1347620387,), (1347620390,), (1347620394,), (1347620396,), (1347620400,), (1347620424,), (1347620428,), (1347620430,), (1347620433,), (1347620454,), (1347620456,), (1347620459,), (1347620462,), (1347620471,), (1347620478,), (1347620526,), (1347620540,), (1347620543,), (1347620544,), (1347620549,), (1347620617,), (1347620619,), (1347620622,), (1347620656,), (1347620657,), (1347620660,), (1347620664,), (1347620670,), (1347620676,), (1347620840,), (1347620869,), (1347620924,), (1347620935,), (1347620950,), (1347620964,), (1347621103,), (1347621105,), (1347621132,), (1347621182,), (1347621208,), (1347621218,), (1347621220,), (1347621223,), (1347621385,), (1347621418,), (1347621452,), (1347621487,), (1347621520,), (1347621846,), (1347621902,), (1347621974,), (1347622053,), (1347622258,), (1347622283,), (1347622305,), (1347622327,), (1347622357,), (1347622689,), (1347622620,), (1347622641,), (1347622646,), (1347622659,), (1347622663,), (1347622761,), (1347622763,), (1347622804,), (1347622806,), (1347622816,), (1347622824,), (1347622834,), (1347622840,), (1347623074,), (1347623091,), (1347623139,), (1347623151,), (1347623165,), (1347623481,), (1347623488,), (1347623492,), (1347623501,), (1347623652,), (1347623657,), (1347623661,), (1347623674,), (1347623679,), (1347623684,), (1347623773,), (1347623795,), (1347623808,), (1347623836,), (1347623838,), (1347623841,), (1347623845,), (1347623850,), (1347623854,), (1347623892,), (1347623898,), (1347623901,), (1347623904,), (1347623929,), (1347623941,), (1347623945,), (1347623949,), (1347623952,), (1347624105,), (1347624112,), (1347624114,), (1347624118,), (1347624123,), (1347624133,), (1347624272,), (1347624311,), (1347624324,), (1347624409,), (1347624445,), (1347624476,), (1347624494,), (1347624547,), (1347624572,), (1347625798,), (1347625948,), (1347626030,), (1347626063,), (1347626091,), (1347626228,), (1347626255,), (1347626307,), (1347626651,), (1347626446,), (1347626505,), (1347626569,), (1347627593,), (1347627639,), (1347627683,), (1347627713,), (1347628086,), (1347628110,), (1347628114,), (1347628666,), (1347628690,), (1347628716,), (1347629370,), (1347629432,), (1347629463,), (1347629528,), (1347629602,), (1347629974,), (1347629978,), (1347630005,), (1347630027,), (1347630041,), (1347630105,), (1347630108,), (1347630112,), (1347630116,), (1347630256,), (1347630259,), (1347630263,), (1347630268,), (1347630272,), (1347630304,), (1347630308,), (1347630314,), (1347630352,), (1347630376,), (1347630696,), (1347630741,), (1347630792,), (1347631363,), (1347631418,), (1347631465,), (1347631518,), (1347631576,), (1347631611,), (1347631983,), (1347632019,), (1347632052,), (1347632079,), (1347632103,), (1347632329,), (1347632354,), (1347632648,), (1347632660,), (1347632693,), (1347632719,), (1347633000,), (1347633055,), (1347633098,), (1347633122,), (1347633796,), (1347633635,), (1347633678,), (1347633716,), (1347633730,), (1347633760,), (1347634133,), (1347634161,), (1347634187,), (1347634558,), (1347634631,), (1347634728,), (1347634774,), (1347634805,), (1347635098,), (1347635123,), (1347635151,), (1347635177,), (1347635208,), (1347636342,), (1347636421,), (1347636490,), (1347636562,), (1347637090,), (1347637144,), (1347637424,), (1347637547,), (1347637603,), (1347638115,), (1347638159,), (1347638197,), (1347638254,), (1347638275,), (1347638325,), (1347638592,), (1347638629,), (1347638954,), (1347638977,), (1347638999,), (1347639029,), (1347639050,), (1347639076,), (1347639313,), (1347639330,), (1347639357,), (1347639380,), (1347639399,), (1347639612,), (1347639638,), (1347639660,), (1347640054,), (1347640093,), (1347640120,), (1347640150,), (1347640193,), (1347640240,), (1347640825,), (1347640913,), (1347641014,), (1347641115,), (1347641198,), (1347641300,), (1347641879,), (1347644420,), (1347644276,), (1347644307,), (1347644351,), (1347644373,), (1347644931,), (1347645022,), (1347645143,), (1347645305,), (1347645398,), (1347645424,), (1347645514,), (1347645528,), (1347645555,), (1347645618,), (1347645625,), (1347645658,), (1347645813,), (1347645990,), (1347646145,), (1347646275,), (1347646571,), (1347646575,), (1347646598,), (1347646734,), (1347646739,), (1347646748,), (1347646751,), (1347646820,), (1347647133,), (1347647206,), (1347647210,), (1347647215,), (1347647218,), (1347647267,), (1347647272,), (1347647344,), (1347647372,), (1347647401,), (1347647419,), (1347647467,), (1347647483,), (1347647795,), (1347647815,), (1347647832,), (1347647855,), (1347647987,), (1347647996,), (1347648015,), (1347648021,), (1347648072,), (1347648084,), (1347648090,), (1347648094,), (1347648095,), (1347648107,), (1347648374,), (1347648420,), (1347648458,), (1347648502,), (1347648534,), (1347648559,), (1347648847,), (1347648892,), (1347648938,), (1347649614,), (1347649379,), (1347649400,), (1347649419,), (1347649457,), (1347649552,), (1347649808,), (1347649835,), (1347649863,), (1347649882,), (1347649924,), (1347650295,), (1347650322,), (1347650568,), (1347650593,), (1347650622,), (1347650663,), (1347650683,), (1347650864,), (1347650953,), (1347650984,), (1347651036,), (1347651057,), (1347651078,), (1347651240,), (1347651266,), (1347651289,), (1347651315,), (1347651574,), (1347651626,), (1347651667,), (1347651718,), (1347651759,), (1347651790,), (1347652123,), (1347652154,), (1347652179,), (1347652204,), (1347652363,), (1347652409,), (1347652478,), (1347652526,), (1347652566,), (1347652605,), (1347652840,), (1347652860,), (1347652870,), (1347652893,), (1347652940,), (1347652984,), (1347653133,), (1347653136,), (1347653164,), (1347653577,), (1347653618,), (1347653669,), (1347653706,), (1347653740,), (1347653791,), (1347654105,), (1347654127,), (1347654171,), (1347654206,), (1347654226,), (1347654282,), (1347655436,), (1347655515,), (1347655569,), (1347655617,), (1347655648,), (1347656084,), (1347656011,), (1347656064,), (1347656597,), (1347656610,), (1347656621,), (1347656743,), (1347658069,), (1347658087,), (1347658108,), (1347658124,), (1347658133,), (1347658136,), (1347658440,), (1347658575,), (1347658622,), (1347659014,), (1347659034,), (1347659060,), (1347659118,), (1347659150,), (1347659196,), (1347659536,), (1347659596,), (1347659646,), (1347659689,), (1347659731,), (1347659990,), (1347660025,), (1347660074,), (1347660113,), (1347661227,), (1347661294,), (1347661472,), (1347661657,), (1347661705,), (1347661747,), (1347662126,), (1347662179,), (1347662229,), (1347662270,), (1347662896,), (1347662925,), (1347662951,), (1347662981,), (1347663045,), (1347663114,), (1347663475,), (1347663528,), (1347663576,), (1347663983,), (1347664010,), (1347664041,), (1347664057,), (1347664062,), (1347664078,), (1347664322,), (1347664370,), (1347664411,), (1347664425,), (1347664826,), (1347664917,), (1347664949,), (1347664975,), (1347665003,), (1347665177,), (1347665201,), (1347665233,), (1347665254,), (1347665299,), (1347665840,), (1347665670,), (1347665722,), (1347665793,), (1347666682,), (1347666748,), (1347666835,), (1347666942,), (1347667440,), (1347667485,), (1347667515,), (1347667584,), (1347667707,), (1347667995,), (1347668045,), (1347668130,), (1347668175,), (1347668220,), (1347668706,), (1347668744,), (1347668772,), (1347668812,), (1347668852,), (1347669177,), (1347669210,), (1347669244,), (1347669280,), (1347669525,), (1347669527,), (1347669536,), (1347669567,), (1347669588,), (1347669637,), (1347669642,), (1347669646,), (1347669650,), (1347669838,), (1347669887,), (1347669917,), (1347670167,), (1347670190,), (1347670212,), (1347670232,), (1347670254,), (1347670281,), (1347670483,), (1347670509,), (1347670537,), (1347670976,), (1347670999,), (1347671027,), (1347671447,), (1347671505,), (1347671555,), (1347671599,), (1347672003,), (1347672095,), (1347672141,), (1347672550,), (1347672577,), (1347672630,), (1347673415,), (1347673278,), (1347673338,), (1347674369,), (1347674420,), (1347674481,), (1347674522,), (1347674577,), (1347675058,), (1347675099,), (1347675143,), (1347675157,), (1347675200,), (1347675237,), (1347675682,), (1347675929,), (1347676026,), (1347676887,), (1347676894,), (1347676931,), (1347676935,), (1347676978,), (1347677021,), (1347677065,), (1347677092,), (1347677116,), (1347677144,), (1347677170,), (1347677395,), (1347677404,), (1347677408,), (1347677430,), (1347677455,), (1347677477,), (1347677568,), (1347677593,), (1347677614,), (1347677628,), (1347677659,), (1347677661,), (1347677665,), (1347677669,), (1347677674,), (1347677678,), (1347677728,), (1347677733,), (1347677735,), (1347677738,), (1347677893,), (1347677928,), (1347678225,), (1347678256,), (1347678282,), (1347678304,), (1347678326,), (1347678353,), (1347678573,), (1347678631,), (1347678656,), (1347678686,), (1347678755,), (1347678830,), (1347679184,), (1347679238,), (1347679250,), (1347679459,), (1347679464,), (1347679469,), (1347679492,), (1347679507,), (1347679514,), (1347679656,), (1347679586,), (1347679589,), (1347679616,), (1347679627,), (1347679630,), (1347679708,), (1347679712,), (1347679724,), (1347679779,), (1347679789,), (1347679792,), (1347679795,), (1347679799,), (1347679802,), (1347679828,), (1347679831,), (1347679836,), (1347679839,), (1347679888,), (1347679920,), (1347679980,), (1347679985,), (1347679994,), (1347680228,), (1347680238,), (1347680253,), (1347680258,), (1347680278,), (1347680286,), (1347680425,), (1347680438,), (1347680478,), (1347680481,), (1347680485,), (1347680512,), (1347680712,), (1347680871,), (1347680908,), (1347681011,), (1347681034,), (1347681035,), (1347681038,), (1347681042,), (1347681047,), (1347681076,), (1347681081,), (1347681090,), (1347681095,), (1347681126,), (1347681129,), (1347681138,), (1347681145,), (1347681150,), (1347681154,), (1347681184,), (1347681187,), (1347681240,), (1347681354,), (1347681370,), (1347681374,), (1347681378,), (1347681380,), (1347681688,), (1347681707,), (1347681747,), (1347681779,), (1347681840,), (1347681885,), (1347682026,), (1347682073,), (1347682097,), (1347682890,), (1347450947,), (1347450952,), (1347450968,), (1347451294,), (1347451348,), (1347451457,), (1347451521,), (1347451754,), (1347451801,), (1347451867,), (1347451895,), (1347451907,), (1347452072,), (1347452090,), (1347452108,), (1347452160,), (1347452163,), (1347452165,), (1347452168,), (1347452405,), (1347452430,), (1347452452,), (1347452480,), (1347452505,), (1347452525,), (1347452741,), (1347452763,), (1347452785,), (1347452811,), (1347452841,), (1347452951,), (1347452955,), (1347452959,), (1347453140,), (1347453143,), (1347453150,), (1347453156,), (1347453161,), (1347453172,), (1347453353,), (1347453380,), (1347453405,), (1347453439,), (1347453574,), (1347453580,), (1347453620,), (1347453624,), (1347453627,), (1347453630,), (1347453631,), (1347453675,), (1347453680,), (1347453684,), (1347453688,), (1347453690,), (1347453691,), (1347453889,), (1347453894,), (1347453898,), (1347453901,), (1347453907,), (1347453912,), (1347453921,), (1347455190,), (1347455238,), (1347455242,), (1347455249,), (1347455254,), (1347455259,), (1347455291,), (1347455296,), (1347455301,), (1347455334,), (1347455349,), (1347455356,), (1347455363,), (1347455368,), (1347455395,), (1347455400,), (1347455405,), (1347455453,), (1347455460,), (1347455467,), (1347455474,), (1347455482,), (1347455518,), (1347455524,), (1347455529,), (1347455537,), (1347455576,), (1347455580,), (1347455585,), (1347455592,), (1347455629,), (1347455635,), (1347455690,), (1347455695,), (1347455701,), (1347455744,), (1347455750,), (1347455755,), (1347455761,), (1347455764,), (1347455767,), (1347455790,), (1347455794,), (1347455802,), (1347455812,), (1347455820,), (1347455849,), (1347455854,), (1347455861,), (1347455869,), (1347455873,), (1347455876,), (1347455905,), (1347455909,), (1347455913,), (1347455953,), (1347455957,), (1347456008,), (1347455999,), (1347456004,), (1347456049,), (1347456053,), (1347456056,), (1347456064,), (1347456102,), (1347456108,), (1347456112,), (1347456118,), (1347456160,), (1347456165,), (1347456167,), (1347456173,), (1347456178,), (1347456211,), (1347456217,), (1347456264,), (1347456266,), (1347456269,), (1347456273,), (1347456278,), (1347456313,), (1347456315,), (1347456319,), (1347456325,), (1347456365,), (1347456368,), (1347456374,), (1347456379,), (1347456410,), (1347456413,), (1347456416,), (1347456421,), (1347456461,), (1347456466,), (1347456607,), (1347456610,), (1347456689,), (1347456694,), (1347456700,), (1347456705,), (1347456712,), (1347456762,), (1347456746,), (1347456751,), (1347456757,), (1347456805,), (1347456808,), (1347456810,), (1347456817,), (1347456852,), (1347456856,), (1347456859,), (1347456867,), (1347456899,), (1347456904,), (1347456911,), (1347456918,), (1347456925,), (1347456932,), (1347456964,), (1347456968,), (1347456973,), (1347456978,), (1347457008,), (1347457010,), (1347457012,), (1347457018,), (1347457026,), (1347457062,), (1347457066,), (1347457069,), (1347457075,), (1347457080,), (1347457114,), (1347457118,), (1347457121,), (1347457150,), (1347457155,), (1347457159,), (1347457167,), (1347457205,), (1347457209,), (1347457215,), (1347457218,), (1347457245,), (1347457262,), (1347457269,), (1347457274,), (1347457280,), (1347457285,), (1347457303,), (1347457308,), (1347457313,), (1347457319,), (1347457324,), (1347457328,), (1347457353,), (1347457357,), (1347457391,), (1347457396,), (1347457400,), (1347457442,), (1347457448,), (1347457453,), (1347457458,), (1347457462,), (1347457466,), (1347457514,), (1347457491,), (1347457495,), (1347457497,), (1347457504,), (1347457509,), (1347457531,), (1347457535,), (1347457572,), (1347457577,), (1347457582,), (1347457588,), (1347457594,), (1347457614,), (1347457617,), (1347457620,), (1347457626,), (1347457632,), (1347457666,), (1347457672,), (1347457674,), (1347457679,), (1347457682,), (1347457721,), (1347457722,), (1347457726,), (1347457730,), (1347457764,), (1347457766,), (1347457769,), (1347457809,), (1347457812,), (1347457815,), (1347457819,), (1347457823,), (1347457829,), (1347457862,), (1347457865,), (1347457867,), (1347457871,), (1347457909,), (1347457912,), (1347457914,), (1347457963,), (1347457966,), (1347457971,), (1347457974,), (1347458004,), (1347458006,), (1347458007,), (1347458011,), (1347458015,), (1347458022,), (1347458046,), (1347458049,), (1347458051,), (1347458089,), (1347458092,), (1347458095,), (1347458099,), (1347458102,), (1347458109,), (1347458139,), (1347458142,), (1347458144,), (1347458148,), (1347458150,), (1347458154,), (1347458188,), (1347458186,), (1347458278,), (1347458281,), (1347458283,), (1347458318,), (1347458323,), (1347458327,), (1347458366,), (1347458370,), (1347458374,), (1347458380,), (1347458416,), (1347458418,), (1347458421,), (1347458427,), (1347458433,), (1347458461,), (1347458465,), (1347458468,), (1347458507,), (1347458509,), (1347458511,), (1347458516,), (1347458522,), (1347458529,), (1347458565,), (1347458569,), (1347458572,), (1347458577,), (1347458586,), (1347458610,), (1347458612,), (1347458613,), (1347458648,), (1347458651,), (1347458655,), (1347458660,), (1347458693,), (1347458698,), (1347458703,), (1347458732,), (1347458734,), (1347458739,), (1347458742,), (1347458774,), (1347458777,), (1347458779,), (1347458782,), (1347458812,), (1347458813,), (1347458815,), (1347458884,), (1347458868,), (1347458870,), (1347458873,), (1347458876,), (1347458880,), (1347458904,), (1347458907,), (1347458910,), (1347458916,), (1347458922,), (1347458929,), (1347458961,), (1347458966,), (1347458970,), (1347459000,), (1347459005,), (1347459009,), (1347459013,), (1347459020,), (1347459051,), (1347459055,), (1347459060,), (1347459092,), (1347459096,), (1347459100,), (1347459107,), (1347459112,), (1347459137,), (1347459141,), (1347459145,), (1347459152,), (1347459186,), (1347459190,), (1347459193,), (1347459232,), (1347459236,), (1347459240,), (1347459245,), (1347459249,), (1347459253,), (1347459277,), (1347459281,), (1347459284,), (1347459290,), (1347459319,), (1347459323,), (1347459326,), (1347459332,), (1347459360,), (1347459364,), (1347459369,), (1347459376,), (1347459380,), (1347459409,), (1347459414,), (1347459418,), (1347459421,), (1347459423,), (1347459424,), (1347459492,), (1347459496,), (1347459548,), (1347459537,), (1347459540,), (1347459544,), (1347459585,), (1347459589,), (1347459592,), (1347459597,), (1347459600,), (1347459632,), (1347459636,), (1347459639,), (1347459675,), (1347459680,), (1347459684,), (1347459690,), (1347459718,), (1347459723,), (1347459726,), (1347459734,), (1347459741,), (1347459747,), (1347459769,), (1347459773,), (1347459777,), (1347459808,), (1347459813,), (1347459818,), (1347459829,), (1347459863,), (1347459867,), (1347459870,), (1347459875,), (1347459906,), (1347459908,), (1347459909,), (1347459913,), (1347459917,), (1347459922,), (1347459950,), (1347459954,), (1347459957,), (1347459962,), (1347459965,), (1347459995,), (1347459997,), (1347460000,), (1347460035,), (1347460040,), (1347460044,), (1347460083,), (1347460085,), (1347460090,), (1347460122,), (1347460125,), (1347460129,), (1347460136,), (1347460141,), (1347460170,), (1347460172,), (1347460175,), (1347460225,), (1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,), (1347460815,), (1347460818,), (1347460820,), (1347460823,), (1347460855,), (1347460857,), (1347460859,), (1347460862,), (1347460865,), (1347460870,), (1347460897,), (1347460900,), (1347460903,), (1347460905,), (1347460907,), (1347460933,), (1347460935,), (1347460936,), (1347460940,), (1347460975,), (1347460978,), (1347460980,), (1347460982,), (1347460984,), (1347460987,), (1347461012,), (1347461014,), (1347461017,), (1347461019,), (1347461047,), (1347461048,), (1347461049,), (1347461052,), (1347461055,), (1347461082,), (1347461085,), (1347461087,), (1347461092,), (1347461093,), (1347461095,), (1347461120,), (1347461122,), (1347461124,), (1347461156,), (1347461158,), (1347461159,), (1347461162,), (1347461163,), (1347461166,), (1347461188,), (1347461192,), (1347461195,), (1347461200,), (1347461227,), (1347461231,), (1347461236,), (1347461262,), (1347461265,), (1347461269,), (1347461272,), (1347461274,), (1347461303,), (1347461306,), (1347461310,), (1347461316,), (1347461320,), (1347461325,), (1347461349,), (1347461351,), (1347461353,), (1347461392,), (1347461383,), (1347461387,), (1347461426,), (1347461428,), (1347461431,), (1347461436,), (1347461440,), (1347461468,), (1347461473,), (1347461477,), (1347461482,), (1347461484,), (1347461507,), (1347461511,), (1347461547,), (1347461550,), (1347461554,), (1347461557,), (1347461558,), (1347461580,), (1347461583,), (1347461585,), (1347461623,), (1347461628,), (1347461631,), (1347461637,), (1347461642,), (1347461647,), (1347461671,), (1347461675,), (1347461677,), (1347461683,), (1347461689,), (1347461718,), (1347461762,), (1347461765,), (1347461766,), (1347461772,), (1347461778,), (1347461807,), (1347461812,), (1347461817,), (1347461822,), (1347461859,), (1347461862,), (1347461866,), (1347461871,), (1347461877,), (1347461881,), (1347461908,), (1347461910,), (1347461912,), (1347461915,), (1347461918,), (1347461919,), (1347461987,), (1347461991,), (1347461995,), (1347461998,), (1347462007,), (1347462021,), (1347462024,), (1347462026,), (1347462028,), (1347462029,), (1347462052,), (1347462034,), (1347462039,), (1347462043,), (1347462048,), (1347462082,), (1347462086,), (1347462089,), (1347462093,), (1347462097,), (1347462102,), (1347462131,), (1347462135,), (1347462138,), (1347462143,), (1347462146,), (1347462150,), (1347462172,), (1347462174,), (1347462179,), (1347462185,), (1347462191,), (1347462226,), (1347462231,), (1347462234,), (1347462238,), (1347462241,), (1347462246,), (1347462268,), (1347462271,), (1347462273,), (1347462278,), (1347462308,), (1347462310,), (1347462315,), (1347462317,), (1347462323,), (1347462354,), (1347462356,), (1347462357,), (1347462390,), (1347462394,), (1347462396,), (1347462400,), (1347462402,), (1347462433,), (1347462435,), (1347462438,), (1347462444,), (1347462449,), (1347462485,), (1347465453,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26032025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21724584]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] map_info['map_portfolio_photo'] : {21724584: [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838]} final : True mtd_id 4302 list_pids : [1347450983, 1347450676, 1347450601, 1347450225, 1347450118, 1347450116, 1347450110, 1347449036, 1347449032, 1347449019, 1347449012, 1347448958, 1347448932, 1347448928, 1347448925, 1347448858, 1347448854, 1347448844, 1347448835, 1347448827, 1347448699, 1347448261, 1347448043, 1347448019, 1347447940, 1347447932, 1347447918, 1347447906, 1347447850, 1347447846, 1347447842, 1347447841, 1347447838] Looping around the photos to save general results len do output : 1 /21724584Didn'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, '2695826') ('4302', '21724584', '1347450983', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450676', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450601', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450225', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450118', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450116', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347450110', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449036', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449032', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347449012', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448958', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448928', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448925', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448858', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448854', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448844', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448835', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448827', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448699', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448261', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448043', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347448019', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447940', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447932', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447918', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447906', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447850', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447846', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447842', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447841', None, None, None, None, None, '2695826') ('4302', None, None, None, None, None, None, None, '2695826') ('4302', '21724584', '1347447838', None, None, None, None, None, '2695826') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21724584', 'None', None, None, None, None, '2695826'), ('4302', '21724584', '1347450983', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450676', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450601', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450225', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450118', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450116', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347450110', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449036', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449032', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449019', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347449012', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448958', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448932', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448928', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448925', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448858', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448854', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448844', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448835', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448827', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448699', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448261', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448043', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347448019', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447940', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447932', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447918', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447906', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447850', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447846', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447842', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447841', None, None, None, None, None, '2695826'), ('4302', '21724584', '1347447838', None, None, None, None, None, '2695826')] time used for this insertion : 0.020513057708740234 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.9203526973724365 time spend to save output : 0.020861148834228516 total time spend for step 5 : 4.941213846206665 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 (2695826) 3.50user 2.18system 0:15.35elapsed 37%CPU (0avgtext+0avgdata 167568maxresident)k 624inputs+20720outputs (4major+87885minor)pagefaults 0swaps