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 : 3848812 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 (2681472) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2681472) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573757 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2681472'] with mtr_portfolio_ids : ['21573757'] and first list_photo_ids : [] new path : /proc/3848812/ Name: python3 Umask: 0002 State: R (running) Tgid: 3848812 Ngid: 0 Pid: 3848812 PPid: 3848811 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3848812 NSpid: 3848812 NSpgid: 3845999 NSsid: 3845999 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97508 kB VmRSS: 97508 kB RssAnon: 59760 kB RssFile: 37748 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 628 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: 46 nonvoluntary_ctxt_switches: 85 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3848812', 'Ngid': '0', 'Pid': '3848812', 'PPid': '3848811', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3848812', 'NSpid': '3848812', 'NSpgid': '3845999', 'NSsid': '3845999', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97508 kB', 'VmRSS': '97508 kB', 'RssAnon': '59760 kB', 'RssFile': '37748 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '628 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': '46', 'nonvoluntary_ctxt_switches': '85'} ('datou_batch_current', '3848812', '1106844', '0', '1106844', '865592', '97508', b'', 'marlene', '2681472') 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 (21573757) 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 (2681472 ) ) 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 (21573757) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1345994355, 'portfolio_id': 21573757}, {'photo_id': 1345993534, 'portfolio_id': 21573757}, {'photo_id': 1345993487, 'portfolio_id': 21573757}, {'photo_id': 1345992009, 'portfolio_id': 21573757}, {'photo_id': 1345991987, 'portfolio_id': 21573757}, {'photo_id': 1345991961, 'portfolio_id': 21573757}, {'photo_id': 1345991661, 'portfolio_id': 21573757}, {'photo_id': 1345991655, 'portfolio_id': 21573757}, {'photo_id': 1345991569, 'portfolio_id': 21573757}, {'photo_id': 1345991540, 'portfolio_id': 21573757}, {'photo_id': 1345991532, 'portfolio_id': 21573757}, {'photo_id': 1345991072, 'portfolio_id': 21573757}] map_portfolio_id_photo_id: {21573757: [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072]} ##### 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.37958431243896484 #### 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 Sat Mar 22 05:51:59 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 (21573757) 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 : 21573757 get user id for portfolio 21573757 get sub ptf for main ptf 21573757, type 3726 and hashtags ['Teint_Dans_La_Masse', 'kraft', 'flou', 'Carton_brun', 'papier', 'metal', 'cartonnette', 'mal_croppe', 'autre_refus', 'Carton_gris', 'environnement', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21573757 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','kraft','flou','Carton_brun','papier','metal','cartonnette','mal_croppe','autre_refus','Carton_gris','environnement','plastique')) 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`=21573757 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','kraft','flou','Carton_brun','papier','metal','cartonnette','mal_croppe','autre_refus','Carton_gris','environnement','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21573757, 'sub_port_id': 21573758, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119132, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'papier': {'main_port_id': 21573757, 'sub_port_id': 21573759, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119133, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'plastique': {'main_port_id': 21573757, 'sub_port_id': 21573760, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119134, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'environnement': {'main_port_id': 21573757, 'sub_port_id': 21573761, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119135, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'metal': {'main_port_id': 21573757, 'sub_port_id': 21573762, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119136, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'autre_refus': {'main_port_id': 21573757, 'sub_port_id': 21573763, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119137, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'cartonnette': {'main_port_id': 21573757, 'sub_port_id': 21573764, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119138, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'kraft': {'main_port_id': 21573757, 'sub_port_id': 21573765, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119139, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'flou': {'main_port_id': 21573757, 'sub_port_id': 21573766, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119140, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21573757, 'sub_port_id': 21573767, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119141, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'Carton_gris': {'main_port_id': 21573757, 'sub_port_id': 21573768, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119142, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}, 'mal_croppe': {'main_port_id': 21573757, 'sub_port_id': 21573769, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119143, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 2, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21573758 , 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=21573757 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 (21573758) result : ((1345991727,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573759 , 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=21573757 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 (21573759) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573760 , 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=21573757 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 (21573760) result : ((1345991718,), (1345991719,), (1345991720,), (1345991721,), (1345991728,), (1345991729,), (1345991730,), (1345991731,), (1345991732,), (1345991733,), (1345994313,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573761 , 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=21573757 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 (21573761) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573762 , 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=21573757 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 (21573762) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573763 , 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=21573757 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 (21573763) result : ((1345991711,), (1345991712,), (1345991724,), (1345991725,), (1345991726,), (1345994237,), (1345994238,), (1345994399,), (1345994400,), (1345995867,), (1345995898,), (1345995900,), (1345995902,), (1345995904,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573764 , 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=21573757 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 (21573764) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573765 , 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=21573757 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 (21573765) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573766 , 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=21573757 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 (21573766) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573767 , 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=21573757 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 (21573767) result : ((1345994385,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573768 , 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=21573757 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 (21573768) result : ((1345991714,), (1345994249,), (1345995918,), (1345995921,), (1345995924,), (1345995927,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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 21573769 , 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=21573757 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 (21573769) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21573757) result : ((1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,)) 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`=21573757 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','kraft','flou','Carton_brun','papier','metal','cartonnette','mal_croppe','autre_refus','Carton_gris','environnement','plastique')) 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`=21573757 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','kraft','flou','Carton_brun','papier','metal','cartonnette','mal_croppe','autre_refus','Carton_gris','environnement','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21573757, 'sub_port_id': 21573770, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119144, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'papier': {'main_port_id': 21573757, 'sub_port_id': 21573771, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119145, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'plastique': {'main_port_id': 21573757, 'sub_port_id': 21573772, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119146, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'environnement': {'main_port_id': 21573757, 'sub_port_id': 21573773, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119147, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'metal': {'main_port_id': 21573757, 'sub_port_id': 21573774, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119148, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'autre_refus': {'main_port_id': 21573757, 'sub_port_id': 21573775, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119149, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'cartonnette': {'main_port_id': 21573757, 'sub_port_id': 21573776, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119150, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'kraft': {'main_port_id': 21573757, 'sub_port_id': 21573777, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119151, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'flou': {'main_port_id': 21573757, 'sub_port_id': 21573778, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119152, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'Teint_Dans_La_Masse': {'main_port_id': 21573757, 'sub_port_id': 21573779, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119153, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'Carton_gris': {'main_port_id': 21573757, 'sub_port_id': 21573780, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119154, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}, 'mal_croppe': {'main_port_id': 21573757, 'sub_port_id': 21573781, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14119155, 'last_updated_at': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 21, 14, 3, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 21, 14, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573770,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573758 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573771,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573759 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573772,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573760 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573773,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573761 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573774,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573762 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573775,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573763 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573776,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573764 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573777,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573765 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573778,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573766 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573779,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573767 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573780,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573768 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21573781,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21573769 lien utilise dans velours : https://www.fotonower.com/velours/21573770,21573771,21573772,21573773,21573774,21573775,21573776,21573777,21573778,21573779,21573780,21573781?tags=Carton_brun,papier,plastique,environnement,metal,autre_refus,cartonnette,kraft,flou,Teint_Dans_La_Masse,Carton_gris,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21573757]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] map_info['map_portfolio_photo'] : {21573757: [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072]} final : False mtd_id 4302 list_pids : [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] Looping around the photos to save general results len do output : 1 /21573757. 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, '2681472') ('4302', '21573757', '1345994355', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993534', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993487', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345992009', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991987', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991961', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991661', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991655', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991569', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991540', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991532', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991072', None, None, None, None, None, '2681472') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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, '21573757', "{'Carton_brun': 21573758, 'papier': 21573759, 'plastique': 21573760, 'environnement': 21573761, 'metal': 21573762, 'autre_refus': 21573763, 'cartonnette': 21573764, 'kraft': 21573765, 'flou': 21573766, 'Teint_Dans_La_Masse': 21573767, 'Carton_gris': 21573768, 'mal_croppe': 21573769}", None, None, None, None, '2681472'), ('4302', '21573757', '1345994355', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345993534', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345993487', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345992009', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991987', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991961', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991661', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991655', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991569', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991540', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991532', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991072', None, None, None, None, None, '2681472')] time used for this insertion : 0.015651941299438477 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4355361461639404 time spend to save output : 0.01595020294189453 total time spend for step 1 : 3.451486349105835 step2:final Sat Mar 22 05:52:02 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 (21573757) 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 21573757 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1345991072,1345991540,1345991532,1345991569,1345991661,1345991655,1345992009,1345991987,1345991961,1345993534,1345993487,1345994355); 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([21573757]) Inside saveOutput : final : False verbose : True original output for save of step final : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} new output for save of step final : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] map_info['map_portfolio_photo'] : {21573757: [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072]} final : False mtd_id 4302 list_pids : [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] Looping around the photos to save general results len do output : 12 /1345994355.Didn't retrieve data . /1345993534.Didn't retrieve data . /1345993487.Didn't retrieve data . /1345992009.Didn't retrieve data . /1345991987.Didn't retrieve data . /1345991961.Didn't retrieve data . /1345991661.Didn't retrieve data . /1345991655.Didn't retrieve data . /1345991569.Didn't retrieve data . /1345991540.Didn't retrieve data . /1345991532.Didn't retrieve data . /1345991072.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, '2681472') ('4302', '21573757', '1345994355', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993534', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993487', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345992009', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991987', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991961', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991661', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991655', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991569', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991540', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991532', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991072', None, None, None, None, None, '2681472') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21573757', '1345994355', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345993534', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345993487', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345992009', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991987', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991961', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991661', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991655', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991569', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991540', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991532', '0.09216390052083459', None, None, None, None, '2681472'), ('4302', '21573757', '1345991072', '0.09216390052083459', None, None, None, None, '2681472')] time used for this insertion : 0.01640009880065918 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06714653968811035 time spend to save output : 0.016973018646240234 total time spend for step 2 : 0.08411955833435059 step3:velours_tree Sat Mar 22 05:52:02 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 : {21573757: [{'Carton_brun': 21573758, 'papier': 21573759, 'plastique': 21573760, 'environnement': 21573761, 'metal': 21573762, 'autre_refus': 21573763, 'cartonnette': 21573764, 'kraft': 21573765, 'flou': 21573766, 'Teint_Dans_La_Masse': 21573767, 'Carton_gris': 21573768, 'mal_croppe': 21573769}]} input_args_next_step : {21573757: ()} output_args : {21573757: [{'Carton_brun': 21573758, 'papier': 21573759, 'plastique': 21573760, 'environnement': 21573761, 'metal': 21573762, 'autre_refus': 21573763, 'cartonnette': 21573764, 'kraft': 21573765, 'flou': 21573766, 'Teint_Dans_La_Masse': 21573767, 'Carton_gris': 21573768, 'mal_croppe': 21573769}]} args : 21573757 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 21573758, 'papier': 21573759, 'plastique': 21573760, 'environnement': 21573761, 'metal': 21573762, 'autre_refus': 21573763, 'cartonnette': 21573764, 'kraft': 21573765, 'flou': 21573766, 'Teint_Dans_La_Masse': 21573767, 'Carton_gris': 21573768, 'mal_croppe': 21573769},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21573757) 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([21573757]) 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.28494763374328613 time spend to save output : 4.172325134277344e-05 total time spend for step 3 : 0.2849893569946289 step4:send_mail_cod Sat Mar 22 05:52:02 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 : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} input_args_next_step : {1345994355: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345994355 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345993534 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345993487 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345992009 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991987 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991961 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991661 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991655 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991569 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991540 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991532 depend.output_id : 0 input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ()} output_args : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',)} args : 1345991072 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 : {21573757: [{'Carton_brun': 21573758, 'papier': 21573759, 'plastique': 21573760, 'environnement': 21573761, 'metal': 21573762, 'autre_refus': 21573763, 'cartonnette': 21573764, 'kraft': 21573765, 'flou': 21573766, 'Teint_Dans_La_Masse': 21573767, 'Carton_gris': 21573768, 'mal_croppe': 21573769}]} input_args_next_step : {1345994355: ('0.09216390052083459',), 1345993534: ('0.09216390052083459',), 1345993487: ('0.09216390052083459',), 1345992009: ('0.09216390052083459',), 1345991987: ('0.09216390052083459',), 1345991961: ('0.09216390052083459',), 1345991661: ('0.09216390052083459',), 1345991655: ('0.09216390052083459',), 1345991569: ('0.09216390052083459',), 1345991540: ('0.09216390052083459',), 1345991532: ('0.09216390052083459',), 1345991072: ('0.09216390052083459',), 21573757: ()} output_args : {21573757: [{'Carton_brun': 21573758, 'papier': 21573759, 'plastique': 21573760, 'environnement': 21573761, 'metal': 21573762, 'autre_refus': 21573763, 'cartonnette': 21573764, 'kraft': 21573765, 'flou': 21573766, 'Teint_Dans_La_Masse': 21573767, 'Carton_gris': 21573768, 'mal_croppe': 21573769}]} args : 21573757 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 :13, first value : ('0.09216390052083459',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21573757) 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 (1345994355,1345993534,1345993487,1345992009,1345991987,1345991961,1345991661,1345991655,1345991569,1345991540,1345991532,1345991072) Found this number of photos: 12 ##### Call download_photos : nb_thread : 5 begin to download photo : 1345991072 begin to download photo : 1345991569 begin to download photo : 1345991961 begin to download photo : 1345993487 download finish for photo 1345991072 begin to download photo : 1345991532 download finish for photo 1345993487 begin to download photo : 1345993534 download finish for photo 1345991569 begin to download photo : 1345991655 download finish for photo 1345991961 begin to download photo : 1345991987 download finish for photo 1345991532 begin to download photo : 1345991540 download finish for photo 1345991655 begin to download photo : 1345991661 download finish for photo 1345993534 begin to download photo : 1345994355 download finish for photo 1345991987 begin to download photo : 1345992009 download finish for photo 1345991540 download finish for photo 1345994355 download finish for photo 1345992009 download finish for photo 1345991661 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 : 12 ; length of list_pids : 12 ; length of list_args : 12 results_Auto_P21573757_22-03-2025_05_52_03.pdf 21573760 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=21573760 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1345991718: '1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945783_0.png', 1345991719: '1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945785_0.png', 1345991720: '1742561847_1188322_1345991072_1c263d666c91b52a5d1d7e98cf641723_rle_crop_3721945796_0.png', 1345991721: '1742561847_1188322_1345991072_1c263d666c91b52a5d1d7e98cf641723_rle_crop_3721945797_0.png', 1345991728: '1742561853_785664_1345991569_21b856f10aa8c659ce4fc5a9fb2d2341_rle_crop_3721945809_0.png', 1345991729: '1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945826_0.png', 1345991730: '1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945828_0.png', 1345991731: '1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945823_0.png', 1345991732: '1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945829_0.png', 1345991733: '1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945824_0.png', 1345994313: '1742562090_805062_1345992009_5e953c997f93c31af176da5af1156f1d_rle_crop_3721952666_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/63db88af115181fc808b6ce3be879c03_75870089.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/dea3b725629805ce32bcd8c8a410386b_66490753.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f1b0947b2d9b9d0faf7a74b026f6a492_5265875.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c04818dbee7635cc54d3dbf195174d33_49776179.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/36cfef884ac3419e1a84ad4aa36437b5_80145644.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/d864a61267b0f2ab03defaf98bddf95b_31597679.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3a78851da0ee3b20a592098d6b98428b_8098566.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/07a31606713415e2ec87ead76f82a8fa_17537426.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/f2f60a99d99d87971ffff4880df6c707_17243527.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2426f75b3a8682ee623b12ec9333a1a1_72022400.png change filename to text .imagette215737601742619123/ imagette215737601742619123/1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945783_0.png.png imagette215737601742619123/1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945826_0.png.png imagette215737601742619123/1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945824_0.png.png imagette215737601742619123/1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945785_0.png.png imagette215737601742619123/1742561847_1188322_1345991072_1c263d666c91b52a5d1d7e98cf641723_rle_crop_3721945797_0.png.png imagette215737601742619123/1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945829_0.png.png imagette215737601742619123/1742562090_805062_1345992009_5e953c997f93c31af176da5af1156f1d_rle_crop_3721952666_0.png.png imagette215737601742619123/1742561847_1188322_1345991072_1c263d666c91b52a5d1d7e98cf641723_rle_crop_3721945796_0.png.png imagette215737601742619123/1742561853_785664_1345991569_21b856f10aa8c659ce4fc5a9fb2d2341_rle_crop_3721945809_0.png.png imagette215737601742619123/1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945823_0.png.png imagette215737601742619123/1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945828_0.png.png imagette215737621742619124/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a4abcaae30a7dd1cee85630c4f31439d_27901303.png imagette215737601742619123 21573762 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=21573762 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215737621742619124 21573763 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=21573763 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1345991711: '1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945778_0.png', 1345991712: '1742561847_1188322_1345991072_1c263d666c91b52a5d1d7e98cf641723_rle_crop_3721945793_0.png', 1345991724: '1742561853_785664_1345991569_21b856f10aa8c659ce4fc5a9fb2d2341_rle_crop_3721945811_0.png', 1345991725: '1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945820_0.png', 1345991726: '1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945822_0.png', 1345994237: '1742562090_805062_1345992009_5e953c997f93c31af176da5af1156f1d_rle_crop_3721952667_0.png', 1345994238: '1742562090_805062_1345991655_e86c91cebe94b4c46af1eb696dc0859f_rle_crop_3721952955_0.png', 1345994399: '1742562110_805442_1345991987_3e5de51e659a7c1b8e5d868278af330c_rle_crop_3721954567_0.png', 1345994400: '1742562110_805442_1345991961_541bcf7fdb1857c6e0f5666e030cb0b3_rle_crop_3721954669_0.png', 1345995867: '1742562253_807789_1345993534_99f3e18e929228551b5d524f9c435493_rle_crop_3721965812_0.png', 1345995898: '1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965829_0.png', 1345995900: '1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965826_0.png', 1345995902: '1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965838_0.png', 1345995904: '1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965854_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/3b91eb6349784d57d98a51c0dd158435_58183341.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/fa6a5ccc3935459c04e85199d83e79db_5301610.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2ff7aa6695eedbda40ecc6d0b1eda0d5_91304423.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6d513e8fe44e480cba6b471c965f0bdd_36596858.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/164efde1799d994f5cd1c41a4025ed38_63423927.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/e044df6723dd537613c26ca7b3b5f48c_25937087.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/fb5a99da77449a364f35d05ec46b4cab_62009197.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/025a92f3f5a80721fd4494d96225ff65_82747234.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/03c17a1c2a9b05eb4db673ca2a156c16_48683145.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6596bff187b7c298e92cfaf0dd97dae3_31492905.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b9eee2f78ea4b6576e6cc0b2bb5126bf_43707047.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/7d2e188c6c1966452d26f3dfc00bb2d0_57037016.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9c0686f4c21b971833a3c75718618299_54082061.png change filename to text .imagette215737631742619124/ imagette215737631742619124/1742561853_785664_1345991569_21b856f10aa8c659ce4fc5a9fb2d2341_rle_crop_3721945811_0.png.png imagette215737631742619124/1742562090_805062_1345991655_e86c91cebe94b4c46af1eb696dc0859f_rle_crop_3721952955_0.png.png imagette215737631742619124/1742561847_1188322_1345991072_1c263d666c91b52a5d1d7e98cf641723_rle_crop_3721945793_0.png.png imagette215737631742619124/1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965854_0.png.png imagette215737631742619124/1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965826_0.png.png imagette215737631742619124/1742562110_805442_1345991987_3e5de51e659a7c1b8e5d868278af330c_rle_crop_3721954567_0.png.png imagette215737631742619124/1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945778_0.png.png imagette215737631742619124/1742562253_807789_1345993534_99f3e18e929228551b5d524f9c435493_rle_crop_3721965812_0.png.png imagette215737631742619124/1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945822_0.png.png imagette215737631742619124/1742562110_805442_1345991961_541bcf7fdb1857c6e0f5666e030cb0b3_rle_crop_3721954669_0.png.png imagette215737631742619124/1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965838_0.png.png imagette215737631742619124/1742561853_785664_1345991532_b37cdf8d5d36c044489f85ff37039be4_rle_crop_3721945820_0.png.png imagette215737631742619124/1742562090_805062_1345992009_5e953c997f93c31af176da5af1156f1d_rle_crop_3721952667_0.png.png imagette215737631742619124/1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965829_0.png.png imagette215737641742619126/ imagette215737651742619126/ imagette215737661742619126/ imagette215737691742619126/ wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/299d6c0b3e846cda1b5138fb3e18182a_18679998.png imagette215737631742619124 21573764 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=21573764 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215737641742619126 21573765 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=21573765 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215737651742619126 21573766 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=21573766 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215737661742619126 21573769 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=21573769 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette215737691742619126 21573758 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=21573758 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1345991727: '1742561853_785664_1345991569_21b856f10aa8c659ce4fc5a9fb2d2341_rle_crop_3721945806_0.png'} change filename to text .imagette215737581742619126/ imagette215737581742619126/1742561853_785664_1345991569_21b856f10aa8c659ce4fc5a9fb2d2341_rle_crop_3721945806_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/9986f3ef93b241624711b82bf4997de5_25665659.png imagette215737581742619126 21573767 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=21573767 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1345994385: '1742562110_805442_1345991961_541bcf7fdb1857c6e0f5666e030cb0b3_rle_crop_3721954662_0.png'} change filename to text .imagette215737671742619126/ imagette215737671742619126/1742562110_805442_1345991961_541bcf7fdb1857c6e0f5666e030cb0b3_rle_crop_3721954662_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/198a9692d1c95b6e83d7e01cd86dccca_35843815.png imagette215737671742619126 21573768 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=21573768 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1345991714: '1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945770_0.png', 1345994249: '1742562090_805062_1345991655_e86c91cebe94b4c46af1eb696dc0859f_rle_crop_3721952946_0.png', 1345995918: '1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965835_0.png', 1345995921: '1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965851_0.png', 1345995924: '1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965849_0.png', 1345995927: '1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965848_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/5f2e49e4cb9f9007c5ac0f1bcd688e6e_14717240.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/c1a98de0d4eb47768fe0829d48443c61_46514005.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/2e6074c2d4deca75ba259a43f4fe0cdc_51290921.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ee13807a181541b2e1d00c6f3a34d360_80863759.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/6c99bfd9231ebeb7b6be61cbe97c1ba6_8742365.png change filename to text .imagette215737681742619126/ imagette215737681742619126/1742561847_1188322_1345991540_a5e53ad0feba657d05466c79fc3e3f81_rle_crop_3721945770_0.png.png imagette215737681742619126/1742562090_805062_1345991655_e86c91cebe94b4c46af1eb696dc0859f_rle_crop_3721952946_0.png.png imagette215737681742619126/1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965849_0.png.png imagette215737681742619126/1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965848_0.png.png imagette215737681742619126/1742562267_1228455_1345994355_288cd108b90d53973c94f0b024d3a357_rle_crop_3721965835_0.png.png imagette215737681742619126/1742562267_1228455_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829_rle_crop_3721965851_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/ffdfea6525aee35109598b7c51ede94d_23513534.png imagette215737681742619126 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21573757 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21573770,21573771,21573772,21573773,21573774,21573775,21573776,21573777,21573778,21573779,21573780,21573781?tags=Carton_brun,papier,plastique,environnement,metal,autre_refus,cartonnette,kraft,flou,Teint_Dans_La_Masse,Carton_gris,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1345994355] : ('0.09216390052083459',) no score found for photo 1345994355 We are sending mail with results at report@fotonower.com args[1345993534] : ('0.09216390052083459',) no score found for photo 1345993534 We are sending mail with results at report@fotonower.com args[1345993487] : ('0.09216390052083459',) no score found for photo 1345993487 We are sending mail with results at report@fotonower.com args[1345992009] : ('0.09216390052083459',) no score found for photo 1345992009 We are sending mail with results at report@fotonower.com args[1345991987] : ('0.09216390052083459',) no score found for photo 1345991987 We are sending mail with results at report@fotonower.com args[1345991961] : ('0.09216390052083459',) no score found for photo 1345991961 We are sending mail with results at report@fotonower.com args[1345991661] : ('0.09216390052083459',) no score found for photo 1345991661 We are sending mail with results at report@fotonower.com args[1345991655] : ('0.09216390052083459',) no score found for photo 1345991655 We are sending mail with results at report@fotonower.com args[1345991569] : ('0.09216390052083459',) no score found for photo 1345991569 We are sending mail with results at report@fotonower.com args[1345991540] : ('0.09216390052083459',) no score found for photo 1345991540 We are sending mail with results at report@fotonower.com args[1345991532] : ('0.09216390052083459',) no score found for photo 1345991532 We are sending mail with results at report@fotonower.com args[1345991072] : ('0.09216390052083459',) no score found for photo 1345991072 We are sending mail with results at report@fotonower.com refus_total : 0.09216390052083459 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=21573757 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_P21573757_22-03-2025_05_52_03.pdf results_Auto_P21573757_22-03-2025_05_52_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573757_22-03-2025_05_52_03.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','21573757','results_Auto_P21573757_22-03-2025_05_52_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573757_22-03-2025_05_52_03.pdf','pdf','','0.25','0.09216390052083459') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21573757]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] map_info['map_portfolio_photo'] : {21573757: [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072]} final : False mtd_id 4302 list_pids : [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] 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, '2681472') ('4302', '21573757', '1345994355', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993534', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993487', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345992009', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991987', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991961', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991661', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991655', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991569', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991540', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991532', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991072', None, None, None, None, None, '2681472') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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', '21573757', '1345994355', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345993534', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345993487', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345992009', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991987', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991961', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991661', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991655', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991569', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991540', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991532', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991072', None, None, None, None, None, '2681472')] time used for this insertion : 0.015774965286254883 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.599459171295166 time spend to save output : 0.01600050926208496 total time spend for step 4 : 5.615459680557251 step5:split_time_score Sat Mar 22 05:52:08 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 : ['21573757'] 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 : [('21573757',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21573757) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1345991072: {'path': 'temp/1742619122_3848812_1345991072_1c263d666c91b52a5d1d7e98cf641723.jpg', 'extension': 'jpg'}, 1345991532: {'path': 'temp/1742619122_3848812_1345991532_b37cdf8d5d36c044489f85ff37039be4.jpg', 'extension': 'jpg'}, 1345991540: {'path': 'temp/1742619122_3848812_1345991540_a5e53ad0feba657d05466c79fc3e3f81.jpg', 'extension': 'jpg'}, 1345993487: {'path': 'temp/1742619122_3848812_1345993487_86b74e2cfb8c2ba049647e0c0fe7c829.jpg', 'extension': 'jpg'}, 1345993534: {'path': 'temp/1742619122_3848812_1345993534_99f3e18e929228551b5d524f9c435493.jpg', 'extension': 'jpg'}, 1345994355: {'path': 'temp/1742619122_3848812_1345994355_288cd108b90d53973c94f0b024d3a357.jpg', 'extension': 'jpg'}, 1345991961: {'path': 'temp/1742619122_3848812_1345991961_541bcf7fdb1857c6e0f5666e030cb0b3.jpg', 'extension': 'jpg'}, 1345991987: {'path': 'temp/1742619122_3848812_1345991987_3e5de51e659a7c1b8e5d868278af330c.jpg', 'extension': 'jpg'}, 1345992009: {'path': 'temp/1742619122_3848812_1345992009_5e953c997f93c31af176da5af1156f1d.jpg', 'extension': 'jpg'}, 1345991569: {'path': 'temp/1742619122_3848812_1345991569_21b856f10aa8c659ce4fc5a9fb2d2341.jpg', 'extension': 'jpg'}, 1345991655: {'path': 'temp/1742619122_3848812_1345991655_e86c91cebe94b4c46af1eb696dc0859f.jpg', 'extension': 'jpg'}, 1345991661: {'path': 'temp/1742619122_3848812_1345991661_35c13111b3b10e8ee0c526fc9307ec2d.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 = 21573757; (('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 = 21573757 group by h (('13', 12),) 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=21573757 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 (21573757) 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 (21573757) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21032025 21573757 Nombre de photos uploadées : 12 / 23040 (0%) 21032025 21573757 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 21032025 21573757 Nombre de photos taguées (volume) : 0 / 12 (0%) [{'photo_id': 1345991072, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/1c263d666c91b52a5d1d7e98cf641723.jpg', 'username': None, 'uploaded_at': 1742561662, 'text': 'image_21032025_13_52_13_009127m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1345991540, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/a5e53ad0feba657d05466c79fc3e3f81.jpg', 'username': None, 'uploaded_at': 1742561733, 'text': 'image_21032025_13_52_23_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1345991532, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/b37cdf8d5d36c044489f85ff37039be4.jpg', 'username': None, 'uploaded_at': 1742561733, 'text': 'image_21032025_13_53_14_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1345991569, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/21/21b856f10aa8c659ce4fc5a9fb2d2341.jpg', 'username': None, 'uploaded_at': 1742561767, 'text': 'image_21032025_13_53_23_009132m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 9.5367431640625e-07 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004551410675048828 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21573757, '2025-03-21' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1678259,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.5953464508056641 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= 1678259 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601222, 'dashboard_result_id': 9553619, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601222_22-03-2025_05_34_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602625, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601223, 'dashboard_result_id': 9553620, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601223_22-03-2025_05_34_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602650, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601224, 'dashboard_result_id': 9553621, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601224_22-03-2025_05_35_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602685, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601225, 'dashboard_result_id': 9553622, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601225_22-03-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602585, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601227, 'dashboard_result_id': 9553623, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601227_22-03-2025_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21602518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602529, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601228, 'dashboard_result_id': 9553624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601228_22-03-2025_05_36_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602480, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601229, 'dashboard_result_id': 9553625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601229_22-03-2025_05_36_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602504, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601230, 'dashboard_result_id': 9553626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601230_22-03-2025_05_37_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602406, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601231, 'dashboard_result_id': 9553627, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601231_22-03-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21602357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602368, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601232, 'dashboard_result_id': 9553628, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601232_22-03-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602328, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601233, 'dashboard_result_id': 9553629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601233_22-03-2025_05_38_50.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602231, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601234, 'dashboard_result_id': 9553630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601234_22-03-2025_05_38_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602246, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602256, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601235, 'dashboard_result_id': 9553631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601235_22-03-2025_05_39_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602199, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602206, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602207, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601236, 'dashboard_result_id': 9553632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601236_22-03-2025_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602183, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601237, 'dashboard_result_id': 9553633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601237_22-03-2025_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602104, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601238, 'dashboard_result_id': 9553634, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601238_22-03-2025_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21602147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602158, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601239, 'dashboard_result_id': 9553635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601239_22-03-2025_05_41_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602060, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601240, 'dashboard_result_id': 9553636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601240_22-03-2025_05_41_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602036, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601241, 'dashboard_result_id': 9553637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601241_22-03-2025_05_42_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601996, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601242, 'dashboard_result_id': 9553638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601242_22-03-2025_00_12_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601947, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601243, 'dashboard_result_id': 9553639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601243_22-03-2025_05_42_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21601961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601972, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601244, 'dashboard_result_id': 9553640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601244_22-03-2025_05_43_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601923, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601248, 'dashboard_result_id': 9553641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601248_22-03-2025_05_43_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601882, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601251, 'dashboard_result_id': 9553642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601251_22-03-2025_05_44_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601741, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601256, 'dashboard_result_id': 9553643, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601256_22-03-2025_05_44_55.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601766, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601260, 'dashboard_result_id': 9553644, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601260_22-03-2025_05_44_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601808, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601264, 'dashboard_result_id': 9553645, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601264_22-03-2025_05_45_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601716, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601717, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601268, 'dashboard_result_id': 9553646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601268_22-03-2025_05_45_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601690, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601272, 'dashboard_result_id': 9553647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601272_22-03-2025_05_46_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21601556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601569, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601276, 'dashboard_result_id': 9553648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601276_22-03-2025_05_46_53.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601635, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601279, 'dashboard_result_id': 9553649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601279_22-03-2025_05_46_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601659, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601281, 'dashboard_result_id': 9553650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601281_22-03-2025_05_47_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601531, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601285, 'dashboard_result_id': 9553651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601285_22-03-2025_05_47_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601470, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601287, 'dashboard_result_id': 9553652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601287_22-03-2025_05_48_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601356, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601290, 'dashboard_result_id': 9553653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601290_22-03-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601416, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601292, 'dashboard_result_id': 9553654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601292_22-03-2025_05_49_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601380, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601293, 'dashboard_result_id': 9553655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601293_22-03-2025_05_49_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601332, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21601296, 'dashboard_result_id': 9553656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601296_22-03-2025_05_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601306, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601308, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21571351, 'dashboard_result_id': 9553657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571351_22-03-2025_05_50_51.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21571425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21571426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21571427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21571428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21571429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21571430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21571431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21571432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21571433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21571434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21571435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21571436, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21570421, 'dashboard_result_id': 9553658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570421_22-03-2025_05_50_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21570434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21570435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21570437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21570438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21570439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21570440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21570442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21570443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21570444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21570445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21570446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21570447, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21570422, 'dashboard_result_id': 9553659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570422_22-03-2025_05_51_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21570424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21570425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21570426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21570427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21570428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21570429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21570430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21570431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21570432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21570433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21570436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21570441, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21571177, 'dashboard_result_id': 9553660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571177_22-03-2025_05_51_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21571238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21571239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21571240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21571241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21571242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21571243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21571244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21571245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21571246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21571247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21571248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21571249, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21573757, 'dashboard_result_id': 9553661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573757_21-03-2025_14_04_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21573758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21573759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21573760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21573761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21573762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21573763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21573764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21573765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21573766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21573767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21573768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21573769, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21573905, 'dashboard_result_id': 9553662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573905_21-03-2025_14_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21573961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21573962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21573963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21573964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21573965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21573966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21573967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21573968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21573969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21573970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21573971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21573972, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21574824, 'dashboard_result_id': 9553663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21574824_21-03-2025_14_25_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21574837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21574838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21574839, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21574840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21574841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21574842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21574843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21574844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21574845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21574846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21574847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21574848, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21575441, 'dashboard_result_id': 9553664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21575441_21-03-2025_14_49_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21575442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21575443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21575444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21575445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21575446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21575447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21575448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21575449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21575450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21575451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21575452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21575453, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21576248, 'dashboard_result_id': 9553665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21576248_21-03-2025_15_03_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21576300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21576301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21576302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21576303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21576304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21576305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21576306, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21576307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21576308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21576309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21576310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21576311, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21577109, 'dashboard_result_id': 9553666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577109_21-03-2025_15_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21577110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577121, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21577786, 'dashboard_result_id': 9553667, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577786_21-03-2025_15_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21577863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577865, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21578773, 'dashboard_result_id': 9553668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21578773_21-03-2025_15_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21578840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21578841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21578842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21578843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21578844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21578845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21578846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21578847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21578848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21578849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21578850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21578851, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21579460, 'dashboard_result_id': 9553669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21579485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21579486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21579487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21579488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21579489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21579490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21579491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21579492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21579493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21579494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21579495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21579496, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21580554, 'dashboard_result_id': 9553670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_22_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21580555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21580556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21580557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21580558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21580559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21580560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21580561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21580562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21580563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21580564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21580565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21580566, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21581869, 'dashboard_result_id': 9553671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21581869_21-03-2025_16_33_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21581870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21581871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21581872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21581873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21581874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21581875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21581876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21581877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21581878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21581879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21581880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21581881, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21582362, 'dashboard_result_id': 9553672, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21582362_21-03-2025_17_02_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21582363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21582364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21582365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21582366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21582367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21582368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21582369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21582370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21582371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21582372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21582373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21582374, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21583397, 'dashboard_result_id': 9553673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583397_21-03-2025_17_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21583398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21583399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21583400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21583401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21583402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21583403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21583404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21583405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21583406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21583407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21583408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21583409, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21583463, 'dashboard_result_id': 9553674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583463_21-03-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21583477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21583478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21583479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21583481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21583482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21583483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21583485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21583486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21583487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21583489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21583490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21583491, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21584325, 'dashboard_result_id': 9553675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21584325_21-03-2025_18_07_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21584338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21584339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21584340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21584341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21584342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21584343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21584344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21584345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21584346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21584347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21584348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21584349, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21586659, 'dashboard_result_id': 9553676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21586702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21586703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21586704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21586705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21586707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21586708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21586709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21586710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21586711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21586712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21586713, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21587143, 'dashboard_result_id': 9553677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587217, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21587823, 'dashboard_result_id': 9553678, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_19_06_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21589129, 'dashboard_result_id': 9553679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589129_21-03-2025_19_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21589163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589172, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21589130, 'dashboard_result_id': 9553680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21589131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589142, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21590152, 'dashboard_result_id': 9553681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21590152_21-03-2025_19_35_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21590171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21590172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21590173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21590174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21590175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21590176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21590177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21590178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21590179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21590180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21590181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21590182, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21591264, 'dashboard_result_id': 9553682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21591264_21-03-2025_19_49_52.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21591329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21591330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21591331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21591332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21591333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21591334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21591335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21591336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21591337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21591338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21591339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21591340, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21592131, 'dashboard_result_id': 9553683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592131_21-03-2025_20_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21592180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21592181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21592182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21592183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21592184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21592185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21592186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21592187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21592188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21592189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21592190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21592191, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21592971, 'dashboard_result_id': 9553684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592971_21-03-2025_20_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21592999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21593000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21593001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21593002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21593003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21593004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21593005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21593006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21593007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21593008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21593009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21593010, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21593896, 'dashboard_result_id': 9553685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21593896_21-03-2025_20_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21593897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21593898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21593899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21593900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21593901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21593902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21593903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21593904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21593905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21593906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21593907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21593908, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21595376, 'dashboard_result_id': 9553686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21595376_21-03-2025_21_09_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21595377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21595378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21595379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21595380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21595381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21595382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21595383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21595384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21595385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21595386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21595387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21595388, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21598194, 'dashboard_result_id': 9553687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21598194_21-03-2025_22_13_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21598196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21598197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21598198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21598199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21598200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21598201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21598202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21598203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21598204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21598205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21598206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21598207, 'pht': 3726}}"}, {'dashboat_entry_day': 1678259, 'dashboard_run_id': 1688301, 'mtr_portfolio_id': 21599966, 'dashboard_result_id': 9553688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21599966_21-03-2025_22_57_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21599967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21599968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21599969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21599970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21599971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21599972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21599973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21599974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21599975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21599976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21599977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21599978, '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 = 21601222 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 = 21601222 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 = 21601222 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601222 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 = 21601222 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 = 21601222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601222_22-03-2025_05_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601222_22-03-2025_05_34_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602625, 'pht': 3726}}" where mtr_portfolio_id = 21601222 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601223 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 = 21601223 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 = 21601223 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601223 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 = 21601223 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 = 21601223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601223_22-03-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601223_22-03-2025_05_34_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602640, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602650, 'pht': 3726}}" where mtr_portfolio_id = 21601223 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601224 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 = 21601224 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 = 21601224 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601224 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 = 21601224 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 = 21601224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601224_22-03-2025_05_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601224_22-03-2025_05_35_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602680, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602685, 'pht': 3726}}" where mtr_portfolio_id = 21601224 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601225 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 = 21601225 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 = 21601225 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601225 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 = 21601225 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 = 21601225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601225_22-03-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601225_22-03-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602585, 'pht': 3726}}" where mtr_portfolio_id = 21601225 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601227 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 = 21601227 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 = 21601227 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601227 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 = 21601227 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 = 21601227 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601227_22-03-2025_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601227 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601227_22-03-2025_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21602518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602529, 'pht': 3726}}" where mtr_portfolio_id = 21601227 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601228 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 = 21601228 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 = 21601228 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601228 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 = 21601228 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 = 21601228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601228_22-03-2025_05_36_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601228_22-03-2025_05_36_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602480, 'pht': 3726}}" where mtr_portfolio_id = 21601228 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601229 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 = 21601229 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 = 21601229 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601229 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 = 21601229 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 = 21601229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601229_22-03-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601229_22-03-2025_05_36_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602504, 'pht': 3726}}" where mtr_portfolio_id = 21601229 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601230 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 = 21601230 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 = 21601230 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601230 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 = 21601230 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 = 21601230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601230_22-03-2025_05_37_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601230_22-03-2025_05_37_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602400, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602406, 'pht': 3726}}" where mtr_portfolio_id = 21601230 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601231 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 = 21601231 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 = 21601231 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601231 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 = 21601231 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 = 21601231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601231_22-03-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601231_22-03-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21602357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602368, 'pht': 3726}}" where mtr_portfolio_id = 21601231 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601232 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 = 21601232 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 = 21601232 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601232 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 = 21601232 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 = 21601232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601232_22-03-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601232_22-03-2025_05_38_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602328, 'pht': 3726}}" where mtr_portfolio_id = 21601232 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601233 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 = 21601233 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 = 21601233 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601233 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 = 21601233 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 = 21601233 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601233_22-03-2025_05_38_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601233 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601233_22-03-2025_05_38_50.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602231, 'pht': 3726}}" where mtr_portfolio_id = 21601233 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601234 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 = 21601234 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 = 21601234 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601234 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 = 21601234 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 = 21601234 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601234_22-03-2025_05_38_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601234 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601234_22-03-2025_05_38_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602246, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602248, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602256, 'pht': 3726}}" where mtr_portfolio_id = 21601234 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601235 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 = 21601235 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 = 21601235 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601235 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 = 21601235 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 = 21601235 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601235_22-03-2025_05_39_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601235 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601235_22-03-2025_05_39_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602199, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602204, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602206, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602207, 'pht': 3726}}" where mtr_portfolio_id = 21601235 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601236 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 = 21601236 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 = 21601236 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601236 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 = 21601236 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 = 21601236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601236_22-03-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601236 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601236_22-03-2025_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602183, 'pht': 3726}}" where mtr_portfolio_id = 21601236 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601237 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 = 21601237 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 = 21601237 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601237 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 = 21601237 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 = 21601237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601237_22-03-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601237 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601237_22-03-2025_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602104, 'pht': 3726}}" where mtr_portfolio_id = 21601237 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601238 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 = 21601238 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 = 21601238 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601238 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 = 21601238 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 = 21601238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601238_22-03-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601238_22-03-2025_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21602147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602156, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602158, 'pht': 3726}}" where mtr_portfolio_id = 21601238 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601239 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 = 21601239 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 = 21601239 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601239 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 = 21601239 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 = 21601239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601239_22-03-2025_05_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601239_22-03-2025_05_41_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602060, 'pht': 3726}}" where mtr_portfolio_id = 21601239 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601240 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 = 21601240 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 = 21601240 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601240 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 = 21601240 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 = 21601240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601240_22-03-2025_05_41_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601240_22-03-2025_05_41_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21602025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21602026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21602027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21602028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21602029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21602030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21602031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21602032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21602033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21602034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21602035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21602036, 'pht': 3726}}" where mtr_portfolio_id = 21601240 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601241 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 = 21601241 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 = 21601241 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601241 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 = 21601241 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 = 21601241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601241_22-03-2025_05_42_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601241_22-03-2025_05_42_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601996, 'pht': 3726}}" where mtr_portfolio_id = 21601241 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601242 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 = 21601242 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21601242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601242_22-03-2025_00_12_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601242_22-03-2025_00_12_38.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601947, 'pht': 3726}}" where mtr_portfolio_id = 21601242 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601243 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 = 21601243 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 = 21601243 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601243 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 = 21601243 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 = 21601243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601243_22-03-2025_05_42_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601243 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601243_22-03-2025_05_42_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21601961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601971, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601972, 'pht': 3726}}" where mtr_portfolio_id = 21601243 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601244 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 = 21601244 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 = 21601244 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601244 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 = 21601244 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 = 21601244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601244_22-03-2025_05_43_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601244 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601244_22-03-2025_05_43_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601923, 'pht': 3726}}" where mtr_portfolio_id = 21601244 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601248 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 = 21601248 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 = 21601248 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601248 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 = 21601248 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 = 21601248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601248_22-03-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601248_22-03-2025_05_43_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601879, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601882, 'pht': 3726}}" where mtr_portfolio_id = 21601248 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601251 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 = 21601251 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 = 21601251 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601251 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 = 21601251 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 = 21601251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601251_22-03-2025_05_44_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601251_22-03-2025_05_44_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601733, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601738, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601741, 'pht': 3726}}" where mtr_portfolio_id = 21601251 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601256 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 = 21601256 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 = 21601256 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601256 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 = 21601256 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 = 21601256 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601256_22-03-2025_05_44_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601256 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601256_22-03-2025_05_44_55.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601756, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601766, 'pht': 3726}}" where mtr_portfolio_id = 21601256 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601260 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 = 21601260 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 = 21601260 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601260 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 = 21601260 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 = 21601260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601260_22-03-2025_05_44_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601260_22-03-2025_05_44_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601798, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601808, 'pht': 3726}}" where mtr_portfolio_id = 21601260 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601264 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 = 21601264 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 = 21601264 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601264 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 = 21601264 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 = 21601264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601264_22-03-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601264_22-03-2025_05_45_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601706, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601716, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601717, 'pht': 3726}}" where mtr_portfolio_id = 21601264 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601268 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 = 21601268 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 = 21601268 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601268 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 = 21601268 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 = 21601268 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601268_22-03-2025_05_45_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601268 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601268_22-03-2025_05_45_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601682, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601688, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601690, 'pht': 3726}}" where mtr_portfolio_id = 21601268 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601272 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 = 21601272 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 = 21601272 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601272 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 = 21601272 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 = 21601272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601272_22-03-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601272_22-03-2025_05_46_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21601556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601560, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601564, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601569, 'pht': 3726}}" where mtr_portfolio_id = 21601272 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601276 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 = 21601276 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 = 21601276 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601276 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 = 21601276 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 = 21601276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601276_22-03-2025_05_46_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601276 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601276_22-03-2025_05_46_53.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601635, 'pht': 3726}}" where mtr_portfolio_id = 21601276 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601279 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 = 21601279 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 = 21601279 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601279 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 = 21601279 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 = 21601279 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601279_22-03-2025_05_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601279 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601279_22-03-2025_05_46_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601659, 'pht': 3726}}" where mtr_portfolio_id = 21601279 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601281 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 = 21601281 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 = 21601281 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601281 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 = 21601281 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 = 21601281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601281_22-03-2025_05_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601281_22-03-2025_05_47_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601526, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601531, 'pht': 3726}}" where mtr_portfolio_id = 21601281 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601285 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 = 21601285 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 = 21601285 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601285 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 = 21601285 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 = 21601285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601285_22-03-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601285 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601285_22-03-2025_05_47_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601460, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601463, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601470, 'pht': 3726}}" where mtr_portfolio_id = 21601285 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601287 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 = 21601287 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 = 21601287 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601287 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 = 21601287 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 = 21601287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601287_22-03-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601287_22-03-2025_05_48_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601350, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601351, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601356, 'pht': 3726}}" where mtr_portfolio_id = 21601287 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601290 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 = 21601290 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 = 21601290 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601290 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 = 21601290 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 = 21601290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601290_22-03-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601290_22-03-2025_05_48_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601406, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601413, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601416, 'pht': 3726}}" where mtr_portfolio_id = 21601290 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601292 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 = 21601292 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 = 21601292 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601292 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 = 21601292 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 = 21601292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601292_22-03-2025_05_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601292 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601292_22-03-2025_05_49_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601378, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601380, 'pht': 3726}}" where mtr_portfolio_id = 21601292 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601293 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 = 21601293 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 = 21601293 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601293 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 = 21601293 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 = 21601293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601293_22-03-2025_05_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601293_22-03-2025_05_49_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601332, 'pht': 3726}}" where mtr_portfolio_id = 21601293 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601296 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 = 21601296 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 = 21601296 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21601296 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 = 21601296 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 = 21601296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601296_22-03-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21601296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21601296_22-03-2025_05_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21601297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21601298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21601299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21601300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21601301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21601302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21601303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21601304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21601305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21601306, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21601307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21601308, 'pht': 3726}}" where mtr_portfolio_id = 21601296 and dashboard_run_id = 1688301 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21571351 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': 2681468, 'mtr_portfolio_id': 21571351, 'created_at': datetime.datetime(2025, 3, 22, 5, 50, 45), 'result': '0.07891974806643183', 'result_long': None, 'result_double': None}] Qualite : 0.07891974806643183 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21571351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571351_22-03-2025_05_50_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21571351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571351_22-03-2025_05_50_51.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21571425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21571426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21571427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21571428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21571429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21571430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21571431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21571432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21571433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21571434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21571435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21571436, 'pht': 3726}}" where mtr_portfolio_id = 21571351 and dashboard_run_id = 1688301 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`=21571351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553657, 0.07891974806643183, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571351_22-03-2025_05_50_51.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21571425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21571426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21571427, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21571428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21571429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21571430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21571431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21571432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21571433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21571434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21571435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21571436, '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 = 21570421 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': 2681469, 'mtr_portfolio_id': 21570421, 'created_at': datetime.datetime(2025, 3, 22, 5, 50, 30), 'result': '0.08062552621457914', 'result_long': None, 'result_double': None}] Qualite : 0.08062552621457914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21570421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570421_22-03-2025_05_50_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21570421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570421_22-03-2025_05_50_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21570434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21570435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21570437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21570438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21570439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21570440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21570442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21570443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21570444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21570445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21570446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21570447, 'pht': 3726}}" where mtr_portfolio_id = 21570421 and dashboard_run_id = 1688301 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`=21570421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553658, 0.08062552621457914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570421_22-03-2025_05_50_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21570434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21570435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21570437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21570438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21570439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21570440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21570442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21570443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21570444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21570445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21570446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21570447, '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 = 21570422 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': 2681470, 'mtr_portfolio_id': 21570422, 'created_at': datetime.datetime(2025, 3, 22, 5, 51, 3), 'result': '0.0987086465553076', 'result_long': None, 'result_double': None}] Qualite : 0.0987086465553076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21570422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570422_22-03-2025_05_51_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21570422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570422_22-03-2025_05_51_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21570424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21570425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21570426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21570427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21570428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21570429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21570430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21570431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21570432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21570433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21570436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21570441, 'pht': 3726}}" where mtr_portfolio_id = 21570422 and dashboard_run_id = 1688301 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`=21570422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553659, 0.0987086465553076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21570422_22-03-2025_05_51_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21570424, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21570425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21570426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21570427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21570428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21570429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21570430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21570431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21570432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21570433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21570436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21570441, '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 = 21571177 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': 2681471, 'mtr_portfolio_id': 21571177, 'created_at': datetime.datetime(2025, 3, 22, 5, 51, 32), 'result': '0.07616641883023867', 'result_long': None, 'result_double': None}] Qualite : 0.07616641883023867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21571177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571177_22-03-2025_05_51_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21571177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571177_22-03-2025_05_51_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21571238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21571239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21571240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21571241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21571242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21571243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21571244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21571245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21571246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21571247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21571248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21571249, 'pht': 3726}}" where mtr_portfolio_id = 21571177 and dashboard_run_id = 1688301 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`=21571177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553660, 0.07616641883023867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21571177_22-03-2025_05_51_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21571238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21571239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21571240, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21571241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21571242, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21571243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21571244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21571245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21571246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21571247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21571248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21571249, '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 = 21573757 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': 2681472, 'mtr_portfolio_id': 21573757, 'created_at': datetime.datetime(2025, 3, 22, 5, 52, 2), 'result': '0.09216390052083459', 'result_long': None, 'result_double': None}] Qualite : 0.09216390052083459 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21573757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573757_22-03-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21573757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573757_22-03-2025_05_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21573758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21573759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21573760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21573761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21573762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21573763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21573764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21573765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21573766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21573767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21573768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21573769, 'pht': 3726}}" where mtr_portfolio_id = 21573757 and dashboard_run_id = 1688301 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`=21573757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553661, 0.09216390052083459, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573757_22-03-2025_05_52_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21573758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21573759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21573760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21573761, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21573762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21573763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21573764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21573765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21573766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21573767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21573768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21573769, '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 = 21573905 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': 2679075, 'mtr_portfolio_id': 21573905, 'created_at': datetime.datetime(2025, 3, 21, 14, 17), 'result': '0.06619103322203668', 'result_long': None, 'result_double': None}] Qualite : 0.06619103322203668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21573905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573905_21-03-2025_14_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21573905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573905_21-03-2025_14_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21573961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21573962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21573963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21573964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21573965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21573966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21573967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21573968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21573969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21573970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21573971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21573972, 'pht': 3726}}" where mtr_portfolio_id = 21573905 and dashboard_run_id = 1688301 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`=21573905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553662, 0.06619103322203668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21573905_21-03-2025_14_17_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21573961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21573962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21573963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21573964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21573965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21573966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21573967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21573968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21573969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21573970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21573971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21573972, '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 = 21574824 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': 2679116, 'mtr_portfolio_id': 21574824, 'created_at': datetime.datetime(2025, 3, 21, 14, 25, 3), 'result': '0.07173744758601436', 'result_long': None, 'result_double': None}] Qualite : 0.07173744758601436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21574824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21574824_21-03-2025_14_25_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21574824 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21574824_21-03-2025_14_25_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21574837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21574838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21574839, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21574840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21574841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21574842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21574843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21574844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21574845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21574846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21574847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21574848, 'pht': 3726}}" where mtr_portfolio_id = 21574824 and dashboard_run_id = 1688301 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`=21574824 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553663, 0.07173744758601436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21574824_21-03-2025_14_25_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21574837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21574838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21574839, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21574840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21574841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21574842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21574843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21574844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21574845, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21574846, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21574847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21574848, '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 = 21575441 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': 2679162, 'mtr_portfolio_id': 21575441, 'created_at': datetime.datetime(2025, 3, 21, 14, 49, 27), 'result': '0.07260941088923101', 'result_long': None, 'result_double': None}] Qualite : 0.07260941088923101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21575441 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21575441_21-03-2025_14_49_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21575441 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21575441_21-03-2025_14_49_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21575442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21575443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21575444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21575445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21575446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21575447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21575448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21575449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21575450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21575451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21575452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21575453, 'pht': 3726}}" where mtr_portfolio_id = 21575441 and dashboard_run_id = 1688301 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`=21575441 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553664, 0.07260941088923101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21575441_21-03-2025_14_49_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21575442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21575443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21575444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21575445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21575446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21575447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21575448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21575449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21575450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21575451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21575452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21575453, '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 = 21576248 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': 2679216, 'mtr_portfolio_id': 21576248, 'created_at': datetime.datetime(2025, 3, 21, 15, 3, 59), 'result': '0.07548483163179169', 'result_long': None, 'result_double': None}] Qualite : 0.07548483163179169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21576248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21576248_21-03-2025_15_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21576248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21576248_21-03-2025_15_03_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21576300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21576301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21576302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21576303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21576304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21576305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21576306, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21576307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21576308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21576309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21576310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21576311, 'pht': 3726}}" where mtr_portfolio_id = 21576248 and dashboard_run_id = 1688301 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`=21576248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553665, 0.07548483163179169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21576248_21-03-2025_15_03_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21576300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21576301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21576302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21576303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21576304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21576305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21576306, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21576307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21576308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21576309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21576310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21576311, '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 = 21577109 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': 2679294, 'mtr_portfolio_id': 21577109, 'created_at': datetime.datetime(2025, 3, 21, 15, 20, 1), 'result': '0.07736392867288819', 'result_long': None, 'result_double': None}] Qualite : 0.07736392867288819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21577109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577109_21-03-2025_15_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21577109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577109_21-03-2025_15_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21577110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577121, 'pht': 3726}}" where mtr_portfolio_id = 21577109 and dashboard_run_id = 1688301 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`=21577109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553666, 0.07736392867288819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577109_21-03-2025_15_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21577110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577121, '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 = 21577786 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': 2679326, 'mtr_portfolio_id': 21577786, 'created_at': datetime.datetime(2025, 3, 21, 15, 34), 'result': '0.07131784779465286', 'result_long': None, 'result_double': None}] Qualite : 0.07131784779465286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21577786 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577786_21-03-2025_15_34_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21577786 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577786_21-03-2025_15_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21577863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577865, 'pht': 3726}}" where mtr_portfolio_id = 21577786 and dashboard_run_id = 1688301 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`=21577786 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553667, 0.07131784779465286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21577786_21-03-2025_15_34_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21577854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21577855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21577856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21577857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21577858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21577859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21577860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21577861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21577862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21577863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21577864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21577865, '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 = 21578773 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': 2679392, 'mtr_portfolio_id': 21578773, 'created_at': datetime.datetime(2025, 3, 21, 15, 49, 32), 'result': '0.08772307555830389', 'result_long': None, 'result_double': None}] Qualite : 0.08772307555830389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21578773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21578773_21-03-2025_15_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21578773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21578773_21-03-2025_15_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21578840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21578841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21578842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21578843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21578844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21578845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21578846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21578847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21578848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21578849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21578850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21578851, 'pht': 3726}}" where mtr_portfolio_id = 21578773 and dashboard_run_id = 1688301 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`=21578773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553668, 0.08772307555830389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21578773_21-03-2025_15_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21578840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21578841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21578842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21578843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21578844, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21578845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21578846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21578847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21578848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21578849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21578850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21578851, '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 = 21579460 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': 2679432, 'mtr_portfolio_id': 21579460, 'created_at': datetime.datetime(2025, 3, 21, 15, 57, 1), 'result': '0.0607217683880556', 'result_long': None, 'result_double': None}] Qualite : 0.0607217683880556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21579460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21579460 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21579485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21579486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21579487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21579488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21579489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21579490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21579491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21579492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21579493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21579494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21579495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21579496, 'pht': 3726}}" where mtr_portfolio_id = 21579460 and dashboard_run_id = 1688301 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`=21579460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553669, 0.0607217683880556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21579460_21-03-2025_15_57_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21579485, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21579486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21579487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21579488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21579489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21579490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21579491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21579492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21579493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21579494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21579495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21579496, '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 = 21580554 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': 2679520, 'mtr_portfolio_id': 21580554, 'created_at': datetime.datetime(2025, 3, 21, 16, 22), 'result': '0.07109602667923964', 'result_long': None, 'result_double': None}] Qualite : 0.07109602667923964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21580554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_22_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21580554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_22_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21580555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21580556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21580557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21580558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21580559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21580560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21580561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21580562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21580563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21580564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21580565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21580566, 'pht': 3726}}" where mtr_portfolio_id = 21580554 and dashboard_run_id = 1688301 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`=21580554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553670, 0.07109602667923964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21580554_21-03-2025_16_22_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21580555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21580556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21580557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21580558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21580559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21580560, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21580561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21580562, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21580563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21580564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21580565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21580566, '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 = 21581869 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': 2679568, 'mtr_portfolio_id': 21581869, 'created_at': datetime.datetime(2025, 3, 21, 16, 33, 58), 'result': '0.07102351949382932', 'result_long': None, 'result_double': None}] Qualite : 0.07102351949382932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21581869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21581869_21-03-2025_16_33_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21581869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21581869_21-03-2025_16_33_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21581870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21581871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21581872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21581873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21581874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21581875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21581876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21581877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21581878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21581879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21581880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21581881, 'pht': 3726}}" where mtr_portfolio_id = 21581869 and dashboard_run_id = 1688301 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`=21581869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553671, 0.07102351949382932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21581869_21-03-2025_16_33_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21581870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21581871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21581872, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21581873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21581874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21581875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21581876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21581877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21581878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21581879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21581880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21581881, '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 = 21582362 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': 2679616, 'mtr_portfolio_id': 21582362, 'created_at': datetime.datetime(2025, 3, 21, 17, 2), 'result': '0.0880444882407219', 'result_long': None, 'result_double': None}] Qualite : 0.0880444882407219 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21582362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21582362_21-03-2025_17_02_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21582362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21582362_21-03-2025_17_02_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21582363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21582364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21582365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21582366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21582367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21582368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21582369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21582370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21582371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21582372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21582373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21582374, 'pht': 3726}}" where mtr_portfolio_id = 21582362 and dashboard_run_id = 1688301 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`=21582362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553672, 0.0880444882407219, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21582362_21-03-2025_17_02_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21582363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21582364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21582365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21582366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21582367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21582368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21582369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21582370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21582371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21582372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21582373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21582374, '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 = 21583397 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': 2679714, 'mtr_portfolio_id': 21583397, 'created_at': datetime.datetime(2025, 3, 21, 17, 5, 1), 'result': '0.04778310118159227', 'result_long': None, 'result_double': None}] Qualite : 0.04778310118159227 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21583397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583397_21-03-2025_17_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21583397 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583397_21-03-2025_17_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21583398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21583399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21583400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21583401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21583402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21583403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21583404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21583405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21583406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21583407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21583408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21583409, 'pht': 3726}}" where mtr_portfolio_id = 21583397 and dashboard_run_id = 1688301 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`=21583397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553673, 0.04778310118159227, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583397_21-03-2025_17_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21583398, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21583399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21583400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21583401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21583402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21583403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21583404, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21583405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21583406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21583407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21583408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21583409, '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 = 21583463 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': 2679718, 'mtr_portfolio_id': 21583463, 'created_at': datetime.datetime(2025, 3, 21, 17, 18, 57), 'result': '0.08807166898082895', 'result_long': None, 'result_double': None}] Qualite : 0.08807166898082895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21583463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583463_21-03-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21583463 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583463_21-03-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21583477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21583478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21583479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21583481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21583482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21583483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21583485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21583486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21583487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21583489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21583490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21583491, 'pht': 3726}}" where mtr_portfolio_id = 21583463 and dashboard_run_id = 1688301 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`=21583463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553674, 0.08807166898082895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21583463_21-03-2025_17_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21583477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21583478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21583479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21583481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21583482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21583483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21583485, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21583486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21583487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21583489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21583490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21583491, '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 = 21584325 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': 2679754, 'mtr_portfolio_id': 21584325, 'created_at': datetime.datetime(2025, 3, 21, 18, 7, 4), 'result': '0.06795579216910376', 'result_long': None, 'result_double': None}] Qualite : 0.06795579216910376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21584325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21584325_21-03-2025_18_07_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21584325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21584325_21-03-2025_18_07_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21584338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21584339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21584340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21584341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21584342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21584343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21584344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21584345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21584346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21584347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21584348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21584349, 'pht': 3726}}" where mtr_portfolio_id = 21584325 and dashboard_run_id = 1688301 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`=21584325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553675, 0.06795579216910376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21584325_21-03-2025_18_07_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21584338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21584339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21584340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21584341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21584342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21584343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21584344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21584345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21584346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21584347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21584348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21584349, '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 = 21586659 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': 2679888, 'mtr_portfolio_id': 21586659, 'created_at': datetime.datetime(2025, 3, 21, 18, 19, 59), 'result': '0.1309430114398558', 'result_long': None, 'result_double': None}] Qualite : 0.1309430114398558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21586659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21586659 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21586702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21586703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21586704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21586705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21586707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21586708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21586709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21586710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21586711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21586712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21586713, 'pht': 3726}}" where mtr_portfolio_id = 21586659 and dashboard_run_id = 1688301 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`=21586659 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553676, 0.1309430114398558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21586659_21-03-2025_18_19_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21586702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21586703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21586704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21586705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21586706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21586707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21586708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21586709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21586710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21586711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21586712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21586713, '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 = 21587143 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': 2679915, 'mtr_portfolio_id': 21587143, 'created_at': datetime.datetime(2025, 3, 21, 18, 25), 'result': '0.060699564101281515', 'result_long': None, 'result_double': None}] Qualite : 0.060699564101281515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21587143 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21587143 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587217, 'pht': 3726}}" where mtr_portfolio_id = 21587143 and dashboard_run_id = 1688301 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`=21587143 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553677, 0.060699564101281515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587143_21-03-2025_18_25_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587211, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587217, '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 = 21587823 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': 2679980, 'mtr_portfolio_id': 21587823, 'created_at': datetime.datetime(2025, 3, 21, 19, 6, 30), 'result': '0.07362654007669965', 'result_long': None, 'result_double': None}] Qualite : 0.07362654007669965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21587823 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_19_06_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21587823 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_19_06_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, 'pht': 3726}}" where mtr_portfolio_id = 21587823 and dashboard_run_id = 1688301 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`=21587823 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553678, 0.07362654007669965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21587823_21-03-2025_19_06_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21587824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21587825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21587826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21587827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21587828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21587829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21587830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21587831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21587832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21587833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21587834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21587835, '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 = 21589129 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': 2680073, 'mtr_portfolio_id': 21589129, 'created_at': datetime.datetime(2025, 3, 21, 19, 6, 1), 'result': '0.07747611787648946', 'result_long': None, 'result_double': None}] Qualite : 0.07747611787648946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21589129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589129_21-03-2025_19_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21589129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589129_21-03-2025_19_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21589163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589172, 'pht': 3726}}" where mtr_portfolio_id = 21589129 and dashboard_run_id = 1688301 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`=21589129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553679, 0.07747611787648946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589129_21-03-2025_19_06_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21589163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589168, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589172, '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 = 21589130 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': 2680074, 'mtr_portfolio_id': 21589130, 'created_at': datetime.datetime(2025, 3, 21, 19, 19), 'result': '0.0856138373609611', 'result_long': None, 'result_double': None}] Qualite : 0.0856138373609611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21589130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21589130 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21589131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589142, 'pht': 3726}}" where mtr_portfolio_id = 21589130 and dashboard_run_id = 1688301 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`=21589130 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553680, 0.0856138373609611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21589130_21-03-2025_19_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21589131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21589132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21589133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21589134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21589135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21589136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21589137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21589138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21589139, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21589140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21589141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21589142, '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 = 21590152 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': 2680116, 'mtr_portfolio_id': 21590152, 'created_at': datetime.datetime(2025, 3, 21, 19, 35, 3), 'result': '0.09581432467744277', 'result_long': None, 'result_double': None}] Qualite : 0.09581432467744277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21590152 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21590152_21-03-2025_19_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21590152 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21590152_21-03-2025_19_35_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21590171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21590172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21590173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21590174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21590175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21590176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21590177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21590178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21590179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21590180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21590181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21590182, 'pht': 3726}}" where mtr_portfolio_id = 21590152 and dashboard_run_id = 1688301 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`=21590152 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553681, 0.09581432467744277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21590152_21-03-2025_19_35_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21590171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21590172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21590173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21590174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21590175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21590176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21590177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21590178, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21590179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21590180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21590181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21590182, '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 = 21591264 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': 2680199, 'mtr_portfolio_id': 21591264, 'created_at': datetime.datetime(2025, 3, 21, 19, 49, 51), 'result': '0.06672801862361574', 'result_long': None, 'result_double': None}] Qualite : 0.06672801862361574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21591264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21591264_21-03-2025_19_49_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21591264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21591264_21-03-2025_19_49_52.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21591329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21591330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21591331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21591332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21591333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21591334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21591335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21591336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21591337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21591338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21591339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21591340, 'pht': 3726}}" where mtr_portfolio_id = 21591264 and dashboard_run_id = 1688301 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`=21591264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553682, 0.06672801862361574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21591264_21-03-2025_19_49_52.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21591329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21591330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21591331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21591332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21591333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21591334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21591335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21591336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21591337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21591338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21591339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21591340, '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 = 21592131 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': 2680239, 'mtr_portfolio_id': 21592131, 'created_at': datetime.datetime(2025, 3, 21, 20, 5), 'result': '0.0774218282028546', 'result_long': None, 'result_double': None}] Qualite : 0.0774218282028546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21592131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592131_21-03-2025_20_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21592131 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592131_21-03-2025_20_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21592180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21592181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21592182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21592183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21592184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21592185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21592186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21592187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21592188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21592189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21592190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21592191, 'pht': 3726}}" where mtr_portfolio_id = 21592131 and dashboard_run_id = 1688301 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`=21592131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553683, 0.0774218282028546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592131_21-03-2025_20_05_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21592180, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21592181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21592182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21592183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21592184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21592185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21592186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21592187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21592188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21592189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21592190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21592191, '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 = 21592971 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': 2680305, 'mtr_portfolio_id': 21592971, 'created_at': datetime.datetime(2025, 3, 21, 20, 18, 57), 'result': '0.06857593646216015', 'result_long': None, 'result_double': None}] Qualite : 0.06857593646216015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21592971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592971_21-03-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21592971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592971_21-03-2025_20_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21592999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21593000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21593001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21593002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21593003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21593004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21593005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21593006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21593007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21593008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21593009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21593010, 'pht': 3726}}" where mtr_portfolio_id = 21592971 and dashboard_run_id = 1688301 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`=21592971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553684, 0.06857593646216015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21592971_21-03-2025_20_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21592999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21593000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21593001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21593002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21593003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21593004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21593005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21593006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21593007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21593008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21593009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21593010, '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 = 21593896 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': 2680355, 'mtr_portfolio_id': 21593896, 'created_at': datetime.datetime(2025, 3, 21, 20, 35), 'result': '0.08260449010062984', 'result_long': None, 'result_double': None}] Qualite : 0.08260449010062984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21593896 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21593896_21-03-2025_20_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21593896 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21593896_21-03-2025_20_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21593897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21593898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21593899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21593900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21593901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21593902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21593903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21593904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21593905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21593906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21593907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21593908, 'pht': 3726}}" where mtr_portfolio_id = 21593896 and dashboard_run_id = 1688301 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`=21593896 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553685, 0.08260449010062984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21593896_21-03-2025_20_35_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21593897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21593898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21593899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21593900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21593901, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21593902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21593903, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21593904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21593905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21593906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21593907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21593908, '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 = 21595376 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': 2680435, 'mtr_portfolio_id': 21595376, 'created_at': datetime.datetime(2025, 3, 21, 21, 9, 6), 'result': '0.06617581098724516', 'result_long': None, 'result_double': None}] Qualite : 0.06617581098724516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21595376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21595376_21-03-2025_21_09_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21595376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21595376_21-03-2025_21_09_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21595377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21595378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21595379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21595380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21595381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21595382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21595383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21595384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21595385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21595386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21595387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21595388, 'pht': 3726}}" where mtr_portfolio_id = 21595376 and dashboard_run_id = 1688301 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`=21595376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553686, 0.06617581098724516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21595376_21-03-2025_21_09_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21595377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21595378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21595379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21595380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21595381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21595382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21595383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21595384, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21595385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21595386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21595387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21595388, '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 = 21598194 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': 2680686, 'mtr_portfolio_id': 21598194, 'created_at': datetime.datetime(2025, 3, 21, 22, 13, 58), 'result': '0.0562428049470244', 'result_long': None, 'result_double': None}] Qualite : 0.0562428049470244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21598194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21598194_21-03-2025_22_13_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21598194 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21598194_21-03-2025_22_13_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21598196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21598197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21598198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21598199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21598200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21598201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21598202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21598203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21598204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21598205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21598206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21598207, 'pht': 3726}}" where mtr_portfolio_id = 21598194 and dashboard_run_id = 1688301 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`=21598194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553687, 0.0562428049470244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21598194_21-03-2025_22_13_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21598196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21598197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21598198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21598199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21598200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21598201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21598202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21598203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21598204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21598205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21598206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21598207, '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 = 21599966 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': 2680763, 'mtr_portfolio_id': 21599966, 'created_at': datetime.datetime(2025, 3, 21, 22, 57, 27), 'result': '0.06206876677708505', 'result_long': None, 'result_double': None}] Qualite : 0.06206876677708505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21599966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21599966_21-03-2025_22_57_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21599966 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21599966_21-03-2025_22_57_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21599967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21599968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21599969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21599970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21599971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21599972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21599973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21599974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21599975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21599976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21599977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21599978, 'pht': 3726}}" where mtr_portfolio_id = 21599966 and dashboard_run_id = 1688301 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`=21599966 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9553688, 0.06206876677708505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21599966_21-03-2025_22_57_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21599967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21599968, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21599969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21599970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21599971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21599972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21599973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21599974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21599975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21599976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21599977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21599978, '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 (21601222,21601223,21601224,21601225,21601227,21601228,21601229,21601230,21601231,21601232,21601233,21601234,21601235,21601236,21601237,21601238,21601239,21601240,21601241,21601242,21601243,21601244,21601248,21601251,21601256,21601260,21601264,21601268,21601272,21601276,21601279,21601281,21601285,21601287,21601290,21601292,21601293,21601296,21571351,21570421,21570422,21571177,21573757,21573905,21574824,21575441,21576248,21577109,21577786,21578773,21579460,21580554,21581869,21582362,21583397,21583463,21584325,21586659,21587143,21587823,21589129,21589130,21590152,21591264,21592131,21592971,21593896,21595376,21598194,21599966) result : ((1345969101,), (1345969104,), (1345969107,), (1345969111,), (1345969115,), (1345969116,), (1345969159,), (1345969167,), (1345969170,), (1345969173,), (1345969176,), (1345969191,), (1345969230,), (1345969231,), (1345969243,), (1345969247,), (1345969287,), (1345969290,), (1345969293,), (1345969297,), (1345969300,), (1345969302,), (1345969327,), (1345969330,), (1345969352,), (1345969356,), (1345969358,), (1345969359,), (1345969363,), (1345969366,), (1345969495,), (1345969518,), (1345969638,), (1345969666,), (1345969693,), (1345969718,), (1345969748,), (1345969780,), (1345970505,), (1345970611,), (1345970650,), (1345970694,), (1345970765,), (1345970834,), (1345970906,), (1345971337,), (1345971620,), (1345971651,), (1345971824,), (1345971899,), (1345971938,), (1345971968,), (1345971991,), (1345972015,), (1345972302,), (1345972341,), (1345972369,), (1345972394,), (1345972435,), (1345972470,), (1345968918,), (1345968922,), (1345968928,), (1345968933,), (1345968935,), (1345968938,), (1345968943,), (1345968946,), (1345968949,), (1345968953,), (1345968961,), (1345968975,), (1345969003,), (1345969007,), (1345969010,), (1345969012,), (1345969015,), (1345969017,), (1345969027,), (1345969028,), (1345969031,), (1345969032,), (1345969036,), (1345969037,), (1345969039,), (1345969042,), (1345969043,), (1345969047,), (1345969049,), (1345969053,), (1345969068,), (1345969072,), (1345969077,), (1345969081,), (1345969086,), (1345969089,), (1345969127,), (1345969132,), (1345969137,), (1345969140,), (1345969144,), (1345969148,), (1345969201,), (1345969202,), (1345969204,), (1345969205,), (1345969211,), (1345969212,), (1345969218,), (1345969219,), (1345969256,), (1345969259,), (1345969263,), (1345969267,), (1345969271,), (1345969275,), (1345969312,), (1345969315,), (1345969319,), (1345969322,), (1345969375,), (1345969376,), (1345969379,), (1345969381,), (1345969390,), (1345969392,), (1345969402,), (1345969408,), (1345969412,), (1345969414,), (1345969416,), (1345969427,), (1345969443,), (1345969448,), (1345969460,), (1345969479,), (1345969890,), (1345969893,), (1345969908,), (1345969911,), (1345969918,), (1345969925,), (1345969939,), (1345969946,), (1345969961,), (1345969973,), (1345969986,), (1345969999,), (1345970276,), (1345970339,), (1345970368,), (1345970418,), (1345970464,), (1345971250,), (1345971061,), (1345971104,), (1345971137,), (1345971173,), (1345971423,), (1345971485,), (1345971522,), (1345971577,), (1345972115,), (1345972139,), (1345972178,), (1345972236,), (1345972289,), (1345972560,), (1345972564,), (1345972608,), (1345972632,), (1345972754,), (1345972782,), (1345972821,), (1345972845,), (1345972859,), (1345972874,), (1345972954,), (1345972955,), (1345972969,), (1345972973,), (1345972977,), (1345972978,), (1345972982,), (1345972984,), (1345972986,), (1345972988,), (1345973023,), (1345973028,), (1345973031,), (1345973035,), (1345973038,), (1345973117,), (1345973123,), (1345973129,), (1345973135,), (1345973193,), (1345973197,), (1345973202,), (1345973209,), (1345973243,), (1345973254,), (1345973351,), (1345975283,), (1345972498,), (1345972674,), (1345972705,), (1345972893,), (1345972908,), (1345972914,), (1345972924,), (1345972928,), (1345972930,), (1345972990,), (1345972992,), (1345973043,), (1345973053,), (1345973058,), (1345973062,), (1345973066,), (1345973071,), (1345973078,), (1345973140,), (1345973145,), (1345973154,), (1345973155,), (1345973160,), (1345973164,), (1345973169,), (1345973174,), (1345973212,), (1345973215,), (1345973265,), (1345973274,), (1345973281,), (1345973284,), (1345973298,), (1345973302,), (1345973305,), (1345973308,), (1345973316,), (1345973324,), (1345973359,), (1345973364,), (1345973367,), (1345973370,), (1345973374,), (1345973395,), (1345973399,), (1345973405,), (1345973417,), (1345973426,), (1345973428,), (1345973439,), (1345973443,), (1345973451,), (1345973459,), (1345973464,), (1345973469,), (1345973625,), (1345973641,), (1345973648,), (1345973656,), (1345973687,), (1345973700,), (1345973723,), (1345973728,), (1345973734,), (1345973739,), (1345973746,), (1345973751,), (1345973760,), (1345973761,), (1345973764,), (1345973765,), (1345973773,), (1345973775,), (1345973792,), (1345973793,), (1345973803,), (1345973804,), (1345973811,), (1345973813,), (1345991072,), (1345991532,), (1345991540,), (1345991569,), (1345991655,), (1345991661,), (1345991961,), (1345991987,), (1345992009,), (1345993487,), (1345993534,), (1345994355,), (1345994275,), (1345994328,), (1345994867,), (1345994912,), (1345994948,), (1345994981,), (1345995640,), (1345995643,), (1345995682,), (1345995684,), (1345995708,), (1345995712,), (1345995736,), (1345995743,), (1345995788,), (1345995799,), (1345995837,), (1345995845,), (1345995961,), (1345995992,), (1345996041,), (1345996468,), (1345996494,), (1345996503,), (1345996509,), (1345996515,), (1345996532,), (1345996803,), (1345996828,), (1345996868,), (1345996888,), (1345997059,), (1345997076,), (1345997102,), (1345997144,), (1345997197,), (1345997249,), (1345997665,), (1345997714,), (1345997761,), (1345997783,), (1345998206,), (1345998256,), (1345998263,), (1345998286,), (1345998314,), (1345998366,), (1345998478,), (1345998541,), (1345998595,), (1345999010,), (1345999054,), (1345999104,), (1345999145,), (1345999188,), (1346000016,), (1346000055,), (1346000107,), (1346000164,), (1346000203,), (1346000403,), (1346000430,), (1346000477,), (1346001331,), (1346001354,), (1346001373,), (1346001377,), (1346001381,), (1346001386,), (1346001395,), (1346001412,), (1346001435,), (1346001465,), (1346002304,), (1346002081,), (1346002126,), (1346002156,), (1346002212,), (1346002537,), (1346002563,), (1346002609,), (1346002666,), (1346002722,), (1346002847,), (1346002877,), (1346002912,), (1346002937,), (1346002959,), (1346003391,), (1346003451,), (1346003499,), (1346003525,), (1346003818,), (1346003862,), (1346003887,), (1346003904,), (1346003925,), (1346003951,), (1346004141,), (1346004144,), (1346004148,), (1346004152,), (1346004371,), (1346004397,), (1346004419,), (1346004439,), (1346004466,), (1346004490,), (1346004549,), (1346004568,), (1346004585,), (1346004606,), (1346004635,), (1346004685,), (1346004691,), (1346004693,), (1346004695,), (1346004713,), (1346004726,), (1346004881,), (1346004886,), (1346004891,), (1346004897,), (1346004998,), (1346005035,), (1346005055,), (1346005077,), (1346005118,), (1346005151,), (1346005413,), (1346005423,), (1346005427,), (1346005433,), (1346005478,), (1346005486,), (1346005499,), (1346005731,), (1346005738,), (1346005744,), (1346005753,), (1346005795,), (1346005806,), (1346005810,), (1346005817,), (1346005824,), (1346005910,), (1346005883,), (1346005890,), (1346005896,), (1346005904,), (1346005924,), (1346005933,), (1346005947,), (1346005957,), (1346005963,), (1346006057,), (1346006058,), (1346006063,), (1346006065,), (1346006069,), (1346006072,), (1346006075,), (1346006077,), (1346006080,), (1346006082,), (1346006086,), (1346006088,), (1346006179,), (1346006207,), (1346006225,), (1346006477,), (1346006501,), (1346006511,), (1346006525,), (1346006531,), (1346006536,), (1346006579,), (1346006583,), (1346006586,), (1346006589,), (1346006694,), (1346006699,), (1346006704,), (1346006712,), (1346006858,), (1346006895,), (1346006938,), (1346006972,), (1346006978,), (1346007260,), (1346007277,), (1346007305,), (1346007361,), (1346007364,), (1346007367,), (1346007373,), (1346007378,), (1346007381,), (1346007447,), (1346007459,), (1346007467,), (1346007489,), (1346007605,), (1346007637,), (1346007673,), (1346007701,), (1346007722,), (1346008192,), (1346008228,), (1346008277,), (1346008325,), (1346008381,), (1346008389,), (1346008878,), (1346008930,), (1346008996,), (1346009062,), (1346009283,), (1346009318,), (1346009384,), (1346009406,), (1346009458,), (1346009508,), (1346010216,), (1346009753,), (1346009806,), (1346009930,), (1346010107,), (1346011202,), (1346011225,), (1346011240,), (1346011250,), (1346011463,), (1346011489,), (1346011565,), (1346011586,), (1346011631,), (1346012314,), (1346012349,), (1346012408,), (1346012439,), (1346012474,), (1346012573,), (1346012597,), (1346012639,), (1346012921,), (1346012943,), (1346012972,), (1346013022,), (1346013061,), (1346013111,), (1346013240,), (1346013286,), (1346013330,), (1346013372,), (1346013432,), (1346013927,), (1346013962,), (1346013990,), (1346014021,), (1346014194,), (1346014208,), (1346014225,), (1346014398,), (1346014402,), (1346014556,), (1346014579,), (1346014593,), (1346015490,), (1346015590,), (1346015685,), (1346016108,), (1346016204,), (1346016282,), (1346016387,), (1346017611,), (1346017682,), (1346017753,), (1346017778,), (1346017831,), (1346018342,), (1346018187,), (1346018239,), (1346018285,), (1346018310,), (1346018477,), (1346018505,), (1346018527,), (1346018545,), (1346018568,), (1346018723,), (1346018738,), (1346018771,), (1346018799,), (1346018826,), (1346018902,), (1346018917,), (1346018934,), (1346018960,), (1346018970,), (1346019288,), (1346019325,), (1346019336,), (1346019342,), (1346019348,), (1346019353,), (1346019647,), (1346019708,), (1346019739,), (1346019766,), (1346019788,), (1346020010,), (1346020051,), (1346020114,), (1346020193,), (1346020389,), (1346020424,), (1346020444,), (1346020476,), (1346020501,), (1346020519,), (1346020585,), (1346020592,), (1346020614,), (1346020621,), (1346020735,), (1346020758,), (1346020795,), (1346020965,), (1346020992,), (1346021020,), (1346021035,), (1346021061,), (1346021082,), (1346021368,), (1346021394,), (1346021423,), (1346021463,), (1346021613,), (1346021650,), (1346022195,), (1346022272,), (1346022703,), (1346022745,), (1346022799,), (1346022854,), (1346022917,), (1346023577,), (1346023601,), (1346023654,), (1346023694,), (1346023771,), (1346023838,), (1346024273,), (1346024322,), (1346024371,), (1346024424,), (1346024807,), (1346024717,), (1346024769,), (1346025167,), (1346025169,), (1346025190,), (1346025192,), (1346025203,), (1346025206,), (1346025214,), (1346025219,), (1346025225,), (1346025228,), (1346025235,), (1346025250,), (1346025354,), (1346025416,), (1346025486,), (1346025560,), (1346025636,), (1346026866,), (1346026906,), (1346026943,), (1346026997,), (1346027908,), (1346028029,), (1346028088,), (1346028386,), (1346028410,), (1346028456,), (1346028512,), (1346029003,), (1346029027,), (1346029037,), (1346029063,), (1346029218,), (1346029258,), (1346029292,), (1346029327,), (1346030284,), (1346032110,), (1346032133,), (1346032832,), (1346032856,), (1346032874,), (1346032920,), (1346033302,), (1346033327,), (1346033709,), (1346033603,), (1346033633,), (1346033657,), (1346033697,), (1346033790,), (1346033795,), (1346033818,), (1346033842,), (1346034534,), (1346034565,), (1346034588,), (1346034745,), (1346034774,), (1346034794,), (1346034817,), (1346035212,), (1346035260,), (1346035312,), (1346035361,), (1346035390,), (1346035539,), (1346035609,), (1346035669,), (1346035734,), (1346035740,), (1346035997,), (1346036030,), (1346036059,), (1346036082,), (1346036097,), (1346036690,), (1346036694,), (1346036703,), (1346036727,), (1346037588,), (1346038440,), (1346038535,), (1346038848,), (1346038978,), (1346039122,), (1346039495,), (1346039551,), (1346039618,), (1346039673,), (1346039756,), (1346040667,), (1346040721,), (1346040774,), (1346040835,), (1346040949,), (1346041049,), (1346042566,), (1346042360,), (1346042371,), (1346042434,), (1346042461,), (1346042938,), (1346043028,), (1346043190,), (1346043303,), (1346043410,), (1346044031,), (1346044060,), (1346044093,), (1346044116,), (1346044147,), (1346044285,), (1346044352,), (1346044429,), (1346044480,), (1346044517,), (1346044552,), (1346045118,), (1346045175,), (1346045224,), (1346045261,), (1346045315,), (1346045465,), (1346045516,), (1346045587,), (1346045630,), (1346045678,), (1346045886,), (1346045890,), (1346045893,), (1346045899,), (1346045906,), (1346046022,), (1346046072,), (1346046114,), (1346046149,), (1346046187,), (1346046675,), (1346046699,), (1346046725,), (1346046762,), (1346046819,), (1346046822,), (1346046825,), (1346046831,), (1346047139,), (1346047158,), (1346047190,), (1346047219,), (1346047456,), (1346047511,), (1346047551,), (1346047600,), (1346047643,), (1346048260,), (1346048266,), (1346048306,), (1346048308,), (1346048345,), (1346048347,), (1346048371,), (1346048374,), (1346049708,), (1346049790,), (1346049871,), (1346049967,), (1346050764,), (1346050707,), (1346050738,), (1346051211,), (1346051249,), (1346051297,), (1346051673,), (1346051732,), (1346051774,), (1346051831,), (1346052725,), (1346052757,), (1346052776,), (1346052838,), (1346052870,), (1346053036,), (1346053070,), (1346053144,), (1346053231,), (1346053345,), (1346053827,), (1346053943,), (1346054018,), (1346054235,), (1346054237,), (1346054257,), (1346054282,), (1346054311,), (1346054352,), (1346054984,), (1346055012,), (1346055062,), (1346055441,), (1346055454,), (1346055469,), (1346055489,), (1346055495,), (1346055844,), (1346055854,), (1346055866,), (1346055878,), (1346055882,), (1346056144,), (1346056169,), (1346056185,), (1346056215,), (1346056243,), (1346056372,), (1346056404,), (1346056454,), (1346056491,), (1346056943,), (1346056967,), (1346056975,), (1346056981,), (1346058874,), (1346058733,), (1346059172,), (1346059188,), (1346059199,), (1346059445,), (1346059471,), (1346059497,), (1346059536,), (1346059586,), (1346059982,), (1346060007,), (1346060026,), (1346060049,), (1346060192,), (1346060254,), (1346060269,), (1346060489,), (1346060542,), (1346060595,), (1346060828,), (1346060880,), (1346061314,), (1346061351,), (1346061406,), (1346062012,), (1346062017,), (1346062063,), (1346062069,), (1346062114,), (1346062120,), (1346062160,), (1346062163,), (1346062186,), (1346062213,), (1346063023,), (1346063065,), (1346064199,), (1346064211,), (1346064265,), (1346064266,), (1346064321,), (1346064323,), (1346064389,), (1346064390,), (1346064486,), (1346064493,), (1346065220,), (1346064881,), (1346064977,), (1346065077,), (1346065171,), (1346066489,), (1346066532,), (1346066565,), (1346066612,), (1346066864,), (1346066948,), (1346067069,), (1346067182,), (1346067279,), (1346067377,), (1346068131,), (1346068196,), (1346068246,), (1346068259,), (1346068297,), (1346069091,), (1346069158,), (1346069249,), (1346069349,), (1346069439,), (1346069785,), (1346069873,), (1346069950,), (1346070072,), (1346070150,), (1346070237,), (1346070887,), (1346070915,), (1346070958,), (1346071042,), (1346072352,), (1346072445,), (1346072475,), (1346072506,), (1346072532,), (1346072583,), (1346072702,), (1346072921,), (1346073127,), (1346073182,), (1346073252,), (1346073315,), (1346075641,), (1346080175,), (1346078739,), (1346080161,), (1346081152,), (1346081203,), (1346081251,), (1346081312,), (1346081546,), (1346081574,), (1346082029,), (1346082038,), (1346081881,), (1346081885,), (1346081983,), (1346081988,), (1346082283,), (1346082319,), (1346082354,), (1346082652,), (1346083260,), (1346083277,), (1346083463,), (1346083668,), (1346083750,), (1346083922,), (1346084551,), (1346084732,), (1346084764,), (1346084812,), (1346084881,), (1346084963,), (1346085105,), (1346085127,), (1346085150,), (1346085213,), (1346085363,), (1346085392,), (1346085775,), (1346085779,), (1346085782,), (1346086117,), (1346086158,), (1346086187,), (1346086224,), (1346086241,), (1346086369,), (1346086557,), (1346086566,), (1346086569,), (1346086574,), (1346086582,), (1346087110,), (1346087200,), (1346087248,), (1346087489,), (1346087546,), (1346087604,), (1346088228,), (1346088318,), (1346088410,), (1346089094,), (1346089194,), (1346089264,), (1346089332,), (1346089673,), (1346089678,), (1346089701,), (1346089728,), (1346090456,), (1346090232,), (1346090258,), (1346090306,), (1346090347,), (1346090396,), (1346091034,), (1346091094,), (1346091154,), (1346091420,), (1346091449,), (1346091479,), (1346091510,), (1346091527,), (1346091880,), (1346091896,), (1346091925,), (1346091930,), (1346091947,), (1346091949,), (1346091979,), (1346091982,), (1346092002,), (1346092004,), (1346092030,), (1346092041,), (1346092061,), (1346092521,), (1346092650,), (1346092794,), (1346092848,), (1346092917,), (1346092972,), (1346093397,), (1346093424,), (1346093449,), (1346093475,), (1346093507,), (1346093636,), (1346093694,), (1346093740,), (1346094178,), (1346094224,), (1346094236,), (1346094240,), (1346094253,), (1346094505,), (1346094533,), (1346094549,), (1346094569,), (1346094605,), (1346094729,), (1346094743,), (1346094793,), (1346094817,), (1346094835,), (1346095060,), (1346095124,), (1346095130,), (1346095136,), (1346095160,), (1346095238,), (1346095265,), (1346095274,), (1346095649,), (1346095666,), (1346095688,), (1346095693,), (1346095698,), (1346095793,), (1346112271,), (1346112126,), (1346112188,), (1346112247,), (1346112502,), (1346112586,), (1346112623,), (1346112674,), (1346112707,), (1346113503,), (1346113854,), (1346113878,), (1346113906,), (1346113937,), (1346114799,), (1346114830,), (1346114860,), (1346114878,), (1346115755,), (1346115756,), (1346115904,), (1346115905,), (1346115951,), (1346115952,), (1346116185,), (1346116214,), (1346120209,), (1346120351,), (1346120438,), (1346121010,), (1346121032,), (1346121058,), (1346121090,), (1346121415,), (1346121479,), (1346121534,), (1346121577,), (1346121603,), (1346122116,), (1346122090,), (1346122131,), (1346122137,), (1346122143,), (1346122150,), (1346122153,), (1346122310,), (1346122353,), (1346122387,), (1346123340,), (1346124427,), (1346124440,), (1346124478,), (1346124505,), (1346124515,), (1346124565,), (1346124573,), (1346124582,), (1346124871,), (1346124905,), (1346124918,), (1346124922,), (1346125178,), (1346125182,), (1346125185,), (1346125189,), (1346125235,), (1346125236,), (1346125241,), (1346125242,), (1346125250,), (1346125251,), (1346125261,), (1346125267,), (1346125331,), (1346125337,), (1346125343,), (1346125347,), (1346125389,), (1346125397,), (1346125479,), (1346125480,), (1346125485,), (1346125486,), (1346125490,), (1346125492,), (1346125496,), (1346125497,), (1346125733,), (1346125735,), (1346125750,), (1346125751,), (1346125756,), (1346125757,), (1346125767,), (1346125770,), (1346125777,), (1346125778,), (1346125820,), (1346125836,), (1346125952,), (1346126136,), (1346126128,), (1346126132,), (1346126185,), (1346126189,), (1346126201,), (1346126203,), (1346126218,), (1346126220,), (1346126230,), (1346126232,), (1346126428,), (1346126436,), (1346126514,), (1346126519,), (1346126529,), (1346126550,), (1346126769,), (1346126775,), (1346126782,), (1346127003,), (1346127014,), (1346127077,), (1346127111,), (1346127143,), (1346127183,), (1346127284,), (1346127307,), (1346127330,), (1346127522,), (1346127546,), (1346127571,), (1346127607,), (1346127954,), (1346127975,), (1346128001,), (1346128013,), (1346128288,), (1346128382,), (1346128434,), (1346128511,), (1346128561,), (1346128670,), (1346128673,), (1346128725,), (1346128731,), (1346128760,), (1346128763,), (1346128804,), (1346128807,), (1346128877,), (1346128943,), (1346129079,), (1346129105,), (1346129164,), (1346129293,), (1346129306,), (1346129321,), (1346129607,), (1346129655,), (1346129684,), (1346129844,), (1346129848,), (1346135142,), (1346133455,), (1346135094,), (1346135358,), (1346135426,), (1346135517,), (1346135628,), (1346135703,), (1346136831,), (1346136845,), (1346136501,), (1346136518,), (1346136569,), (1346136583,), (1346136749,), (1346136793,), (1346137663,), (1346137664,), (1346137730,), (1346137733,), (1346137802,), (1346137813,), (1346137876,), (1346137886,), (1346138458,), (1346138501,), (1346138548,), (1346139306,), (1346139337,), (1346139381,), (1346139409,), (1346139437,), (1346139537,), (1346139567,), (1346139594,), (1346139644,), (1346140105,), (1346140129,), (1346140172,), (1346140703,), (1346140774,), (1346140820,), (1346140860,), (1346141580,), (1346141631,), (1346141723,), (1346141797,), (1346142949,), (1346143088,), (1346143174,), (1346143278,), (1346143735,), (1346143815,), (1346143871,), (1346144515,), (1346144571,), (1346144627,), (1346144698,), (1346145631,), (1346145692,), (1346147072,), (1346147177,), (1346147405,), (1346147507,), (1346148362,), (1346148422,), (1346148467,), (1346148527,), (1346148658,), (1346148705,), (1346148708,), (1346148767,), (1346148812,), (1346149640,), (1346149439,), (1346149478,), (1346149514,), (1346150581,), (1346150694,), (1346150789,), (1346150961,), (1346151028,), (1346151847,), (1346151887,), (1346151938,), (1346151972,), (1346152118,), (1346152146,), (1346152410,), (1346152412,), (1346152425,), (1346152426,), (1346152436,), (1346152437,), (1346152468,), (1346152469,), (1346152491,), (1346152493,), (1346152515,), (1346152516,), (1346152552,), (1346152563,), (1346152568,), (1346152583,), (1346152589,), (1346152627,), (1346153197,), (1346153248,), (1346153280,), (1346153313,), (1346153918,), (1346153945,), (1346153957,), (1346154164,), (1346154165,), (1346154169,), (1346154170,), (1346154176,), (1346154177,), (1346154185,), (1346154186,), (1346154191,), (1346154193,), (1346154278,), (1346154304,), (1346154331,), (1346154360,), (1346154382,), (1346154403,), (1346154437,), (1346154450,), (1346154477,), (1346154482,), (1346154734,), (1346154755,), (1346154799,), (1346154823,), (1346155012,), (1346155041,), (1346155053,), (1346155057,), (1346155062,), (1346155064,), (1346155265,), (1346155282,), (1346155287,), (1346155355,), (1346155365,), (1346155374,), (1346155382,), (1346155549,), (1346155476,), (1346155501,), (1346155532,), (1346155626,), (1346155632,), (1346155645,), (1346155657,), (1346155663,), (1346155673,), (1346155682,), (1346155688,), (1346155693,), (1346155698,), (1346155706,), (1346155845,), (1346155850,), (1346155854,), (1346155859,), (1346155863,), (1346155923,), (1346155931,), (1346155942,), (1346155967,), (1346155975,), (1346155983,), (1346156210,), (1346156226,), (1346156231,), (1346156427,), (1346156428,), (1346156450,), (1346156458,), (1346156480,), (1346156484,), (1346156510,), (1346156512,), (1346156546,), (1346156563,), (1346156597,), (1346156600,), (1346156717,), (1346156786,), (1346156843,), (1346156888,), (1346157527,), (1346157668,), (1346157714,), (1346157723,), (1346157766,), (1346157821,), (1346157894,), (1346157896,), (1346157937,), (1346157955,), (1346157991,), (1346158001,), (1346158028,), (1346158038,), (1346158055,), (1346158072,), (1346158082,), (1346158104,), (1346158181,), (1346158214,), (1346158236,), (1346158254,), (1346158273,), (1346158313,), (1346158478,), (1346158516,), (1346158537,), (1346158613,), (1346158619,), (1346158623,), (1346158626,), (1346158631,), (1346159054,), (1346159091,), (1346159112,), (1346159148,), (1346159194,), (1346159291,), (1346159296,), (1346159307,), (1346159534,), (1346159543,), (1346159581,), (1346160096,), (1346159873,), (1346159886,), (1346159915,), (1346159951,), (1346160064,), (1346160250,), (1346160274,), (1346160303,), (1346160703,), (1346160737,), (1346160851,), (1346160895,), (1346160972,), (1346161071,), (1346161111,), (1346161171,), (1346161229,), (1346161262,), (1346161385,), (1346161408,), (1346161445,), (1346161478,), (1346161535,), (1346161555,), (1346161933,), (1346161985,), (1346161999,), (1346162315,), (1346162325,), (1346162362,), (1346162427,), (1346162657,), (1346162660,), (1346162665,), (1346162669,), (1346162684,), (1346162691,), (1346162721,), (1346162724,), (1346162725,), (1346162726,), (1346162727,), (1346162784,), (1346162786,), (1346163074,), (1346163142,), (1346163179,), (1346163203,), (1346163429,), (1346163435,), (1346163439,), (1346163485,), (1346163488,), (1346163490,), (1346163491,), (1346163492,), (1346163493,), (1346163933,), (1346163976,), (1346164025,), (1346164041,), (1346164891,), (1346164645,), (1346164669,), (1346164743,), (1346164821,), (1346165727,), (1346165771,), (1346165842,), (1346165906,), (1346165982,), (1346166052,), (1346166192,), (1346166234,), (1346166307,), (1346166374,), (1346166442,), (1346166518,), (1346167170,), (1346167227,), (1346167273,), (1346167712,), (1346167733,), (1346167768,), (1346167832,), (1346168021,), (1346168055,), (1346168096,), (1346168127,), (1346168184,), (1346168239,), (1346168695,), (1346168752,), (1346168812,), (1346168864,), (1346169693,), (1346169897,), (1346169964,), (1346170127,), (1346170496,), (1346170666,), (1346170837,), (1346170996,), (1346171802,), (1346171833,), (1346171849,), (1346171853,), (1346171876,), (1346171911,), (1346172527,), (1346172528,), (1346172733,), (1346172734,), (1346172835,), (1346172836,), (1346173600,), (1346173601,), (1346173700,), (1346173703,), (1346173790,), (1346173813,), (1346173876,), (1346173904,), (1346175053,), (1346175092,), (1346175113,), (1346175195,), (1346175292,), (1346175594,), (1346175596,), (1346175651,), (1346175652,), (1346175716,), (1346175727,), (1346175786,), (1346175788,), (1346175829,), (1346175840,), (1346175923,), (1346175924,), (1346176102,), (1346176129,), (1346176177,), (1346176261,), (1346177183,), (1346176918,), (1346176984,), (1346177050,), (1346177105,), (1346177148,), (1346177312,), (1346177354,), (1346177425,), (1346177512,), (1346177582,), (1346178008,), (1346178010,), (1346178057,), (1346178063,), (1346178133,), (1346178142,), (1346178149,), (1346178150,), (1346178423,), (1346178478,), (1346178540,), (1346178589,), (1346178623,), (1346178647,), (1346178653,), (1346178675,), (1346178679,), (1346178705,), (1346179038,), (1346179046,), (1346179078,), (1346179113,), (1346179130,), (1346179418,), (1346179422,), (1346179427,), (1346179624,), (1346179627,), (1346179633,), (1346179642,), (1346179734,), (1346179749,), (1346179766,), (1346179782,), (1346179789,), (1346180225,), (1346180249,), (1346180276,), (1346180586,), (1346180587,), (1346180650,), (1346180651,), (1346180659,), (1346180661,), (1346180679,), (1346180681,), (1346180729,), (1346180745,), (1346180758,), (1346181138,), (1346181165,), (1346181281,), (1346181317,), (1346181342,), (1346181368,), (1346181396,), (1346181418,), (1346181424,), (1346181568,), (1346181574,), (1346181579,), (1346181585,), (1346181663,), (1346181649,), (1346181656,), (1346181709,), (1346181714,), (1346181719,), (1346181728,), (1346181740,), (1346181858,), (1346181863,), (1346181870,), (1346181882,), (1346181888,), (1346181961,), (1346181991,), (1346182001,), (1346182007,), (1346182059,), (1346182069,), (1346182184,), (1346182188,), (1346182246,), (1346182252,), (1346182266,), (1346182284,), (1346182726,), (1346182729,), (1346182774,), (1346182778,), (1346182814,), (1346182825,), (1346182859,), (1346182879,), (1346182885,), (1346182929,), (1346182932,), (1346182971,), (1346183081,), (1346183108,), (1346183131,), (1346183295,), (1346183317,), (1346183345,), (1346183390,), (1346183429,), (1346183479,), (1346184097,), (1346184158,), (1346184206,), (1346184247,), (1346184298,), (1346184348,), (1346199347,), (1346229062,), (1346229113,), (1346230451,), (1346231564,), (1346232852,), (1346232877,), (1346233422,), (1346233656,), (1346244644,), (1346254815,), (1346255791,), (1346255792,), (1346255819,), (1346255824,), (1346255833,), (1346255845,), (1346259114,), (1346259150,), (1346265374,), (1346112353,), (1346112749,), (1346113096,), (1346113148,), (1346113175,), (1346113226,), (1346113301,), (1346113362,), (1346113558,), (1346113607,), (1346113654,), (1346113669,), (1346113721,), (1346113962,), (1346113989,), (1346114049,), (1346114195,), (1346114288,), (1346114507,), (1346114619,), (1346114738,), (1346114906,), (1346114944,), (1346115056,), (1346115098,), (1346115305,), (1346115430,), (1346115490,), (1346115557,), (1346115996,), (1346116017,), (1346116044,), (1346116065,), (1346116095,), (1346116107,), (1346116253,), (1346116435,), (1346116510,), (1346116536,), (1346116614,), (1346116639,), (1346116663,), (1346116691,), (1346116718,), (1346116747,), (1346116842,), (1346106926,), (1346106981,), (1346106993,), (1346106999,), (1346107020,), (1346107052,), (1346107108,), (1346107112,), (1346107114,), (1346107128,), (1346107146,), (1346107172,), (1346107310,), (1346107354,), (1346107413,), (1346107435,), (1346107469,), (1346107509,), (1346107652,), (1346107707,), (1346107752,), (1346107834,), (1346107907,), (1346107991,), (1346108244,), (1346108294,), (1346108339,), (1346108387,), (1346108433,), (1346108684,), (1346108763,), (1346108843,), (1346108890,), (1346108923,), (1346108952,), (1346109929,), (1346110041,), (1346110128,), (1346110179,), (1346110244,), (1346110274,), (1346110431,), (1346110491,), (1346110555,), (1346110613,), (1346110672,), (1346110745,), (1346110916,), (1346110999,), (1346111087,), (1346111145,), (1346111208,), (1346111251,), (1346111466,), (1346111534,), (1346111624,), (1346111710,), (1346111782,), (1346111858,), (1346112307,), (1346105383,), (1346105432,), (1346105457,), (1346105482,), (1346105509,), (1346105565,), (1346105571,), (1346105577,), (1346105584,), (1346105589,), (1346105596,), (1346105611,), (1346105616,), (1346105622,), (1346105648,), (1346105675,), (1346105696,), (1346105807,), (1346105847,), (1346105891,), (1346105924,), (1346105938,), (1346105955,), (1346106006,), (1346106042,), (1346106073,), (1346106101,), (1346106113,), (1346106120,), (1346106135,), (1346106141,), (1346106145,), (1346106148,), (1346106152,), (1346106157,), (1346106303,), (1346106339,), (1346106384,), (1346106435,), (1346106493,), (1346106531,), (1346106632,), (1346106657,), (1346106681,), (1346106704,), (1346106730,), (1346106770,), (1346102212,), (1346102264,), (1346102338,), (1346102365,), (1346102411,), (1346102560,), (1346102604,), (1346102624,), (1346102658,), (1346102701,), (1346102753,), (1346102811,), (1346102814,), (1346102822,), (1346102867,), (1346102988,), (1346103124,), (1346103579,), (1346103610,), (1346103637,), (1346103680,), (1346103728,), (1346103897,), (1346104051,), (1346104093,), (1346104152,), (1346104232,), (1346104260,), (1346104297,), (1346104356,), (1346104363,), (1346104376,), (1346104403,), (1346104427,), (1346104431,), (1346104447,), (1346104448,), (1346104453,), (1346104454,), (1346104460,), (1346104463,), (1346104469,), (1346104470,), (1346104478,), (1346104480,), (1346104489,), (1346104490,), (1346104509,), (1346104513,), (1346104522,), (1346104540,), (1346104568,), (1346104644,), (1346104693,), (1346104743,), (1346104804,), (1346104864,), (1346104923,), (1346105033,), (1346105063,), (1346105089,), (1346105134,), (1346105179,), (1346105214,), (1346105334,), (1346099028,), (1346099056,), (1346099070,), (1346099148,), (1346099181,), (1346099253,), (1346099315,), (1346099376,), (1346099448,), (1346099520,), (1346099554,), (1346099597,), (1346099624,), (1346099681,), (1346099714,), (1346099879,), (1346099905,), (1346099957,), (1346099999,), (1346100046,), (1346100172,), (1346100195,), (1346100214,), (1346100259,), (1346100315,), (1346100374,), (1346100524,), (1346100550,), (1346100568,), (1346100605,), (1346100650,), (1346100671,), (1346100829,), (1346100870,), (1346100902,), (1346100929,), (1346100934,), (1346100941,), (1346100976,), (1346100977,), (1346100981,), (1346100982,), (1346100987,), (1346100991,), (1346101004,), (1346101010,), (1346101022,), (1346101024,), (1346101046,), (1346101047,), (1346101217,), (1346101255,), (1346101313,), (1346101377,), (1346101407,), (1346101439,), (1346101487,), (1346101491,), (1346101498,), (1346101514,), (1346101544,), (1346101561,), (1346101647,), (1346101663,), (1346101700,), (1346101769,), (1346097078,), (1346097087,), (1346097089,), (1346097126,), (1346097131,), (1346097136,), (1346097142,), (1346097149,), (1346097164,), (1346097181,), (1346097185,), (1346097190,), (1346097195,), (1346097205,), (1346097253,), (1346097359,), (1346097363,), (1346097365,), (1346097384,), (1346097422,), (1346097460,), (1346097536,), (1346097538,), (1346097566,), (1346097567,), (1346097615,), (1346097617,), (1346097666,), (1346097667,), (1346097693,), (1346097703,), (1346097727,), (1346097733,), (1346097820,), (1346097838,), (1346097864,), (1346097886,), (1346097910,), (1346097939,), (1346098024,), (1346098050,), (1346098078,), (1346098098,), (1346098128,), (1346098167,), (1346098340,), (1346098390,), (1346098430,), (1346098503,), (1346098538,), (1346098637,), (1346098881,), (1346098935,), (1346098990,), (1346093172,), (1346093220,), (1346093248,), (1346093262,), (1346093303,), (1346093548,), (1346093767,), (1346093803,), (1346093834,), (1346093943,), (1346093969,), (1346093993,), (1346094027,), (1346094059,), (1346094082,), (1346094284,), (1346094369,), (1346094395,), (1346094416,), (1346094424,), (1346094432,), (1346094437,), (1346094659,), (1346094847,), (1346094923,), (1346094930,), (1346094937,), (1346094978,), (1346095023,), (1346095033,), (1346095143,), (1346095149,), (1346095287,), (1346095300,), (1346095395,), (1346095443,), (1346095516,), (1346095553,), (1346095570,), (1346095608,), (1346095703,), (1346095718,), (1346095723,), (1346095743,), (1346095770,), (1346095775,), (1346095778,), (1346095799,), (1346095804,), (1346095814,), (1346095826,), (1346095841,), (1346096012,), (1346096047,), (1346096057,), (1346096072,), (1346096091,), (1346096128,), (1346096148,), (1346096159,), (1346096187,), (1346096220,), (1346096310,), (1346096540,), (1346096550,), (1346096555,), (1346096573,), (1346096589,), (1346096822,), (1346096905,), (1346096952,), (1346096975,), (1346085628,), (1346085687,), (1346085712,), (1346085725,), (1346085731,), (1346085745,), (1346085788,), (1346085794,), (1346085799,), (1346085874,), (1346085922,), (1346085950,), (1346085975,), (1346086001,), (1346086032,), (1346086600,), (1346086741,), (1346086793,), (1346086849,), (1346086885,), (1346086947,), (1346086988,), (1346087281,), (1346087326,), (1346087369,), (1346087644,), (1346087690,), (1346087740,), (1346087927,), (1346087961,), (1346087987,), (1346088020,), (1346088051,), (1346088099,), (1346088511,), (1346088565,), (1346088708,), (1346089476,), (1346089507,), (1346089781,), (1346089827,), (1346089946,), (1346089991,), (1346090039,), (1346090069,), (1346090099,), (1346090144,), (1346090656,), (1346090720,), (1346090775,), (1346090822,), (1346090869,), (1346090921,), (1346091223,), (1346091272,), (1346091317,), (1346091535,), (1346091628,), (1346091650,), (1346091654,), (1346091663,), (1346091716,), (1346091760,), (1346092011,), (1346092017,), (1346092064,), (1346092080,), (1346092093,), (1346092125,), (1346092143,), (1346092169,), (1346092216,), (1346092263,), (1346092305,), (1346093116,), (1346079530,), (1346079558,), (1346079597,), (1346079628,), (1346079657,), (1346079694,), (1346079787,), (1346079813,), (1346079848,), (1346079874,), (1346079904,), (1346079931,), (1346080015,), (1346080020,), (1346080026,), (1346080030,), (1346080049,), (1346080078,), (1346080208,), (1346080236,), (1346080267,), (1346080297,), (1346081374,), (1346081426,), (1346081617,), (1346081660,), (1346081710,), (1346081757,), (1346082070,), (1346082089,), (1346082114,), (1346082129,), (1346082146,), (1346082161,), (1346082390,), (1346082429,), (1346082462,), (1346082537,), (1346082546,), (1346082553,), (1346082565,), (1346082593,), (1346082618,), (1346082688,), (1346082736,), (1346082764,), (1346082794,), (1346082826,), (1346082982,), (1346083041,), (1346083069,), (1346083121,), (1346083153,), (1346083191,), (1346083292,), (1346083303,), (1346083324,), (1346083342,), (1346084105,), (1346084170,), (1346084212,), (1346084236,), (1346084251,), (1346084276,), (1346084303,), (1346084328,), (1346077074,), (1346077079,), (1346077090,), (1346077109,), (1346077182,), (1346077214,), (1346077244,), (1346077266,), (1346077294,), (1346077331,), (1346077415,), (1346077437,), (1346077460,), (1346077489,), (1346077514,), (1346077537,), (1346077600,), (1346077610,), (1346077642,), (1346077680,), (1346077717,), (1346077813,), (1346077960,), (1346078003,), (1346078039,), (1346078073,), (1346078100,), (1346078107,), (1346078125,), (1346078130,), (1346078134,), (1346078157,), (1346078186,), (1346078212,), (1346078329,), (1346078377,), (1346078507,), (1346078590,), (1346078615,), (1346078641,), (1346078761,), (1346078790,), (1346078814,), (1346078829,), (1346078835,), (1346078853,), (1346078879,), (1346078906,), (1346078935,), (1346078965,), (1346078968,), (1346079025,), (1346079050,), (1346079077,), (1346079109,), (1346079159,), (1346079204,), (1346079330,), (1346079358,), (1346079387,), (1346079408,), (1346079422,), (1346079446,), (1346074705,), (1346074853,), (1346074886,), (1346074997,), (1346075036,), (1346075088,), (1346075117,), (1346075135,), (1346075157,), (1346075257,), (1346075288,), (1346075311,), (1346075336,), (1346075361,), (1346075382,), (1346075449,), (1346075473,), (1346075512,), (1346075533,), (1346075547,), (1346075571,), (1346075666,), (1346075693,), (1346075751,), (1346075797,), (1346075822,), (1346075908,), (1346075933,), (1346075963,), (1346075993,), (1346076021,), (1346076054,), (1346076134,), (1346076161,), (1346076185,), (1346076213,), (1346076242,), (1346076267,), (1346076402,), (1346076427,), (1346076496,), (1346076525,), (1346076569,), (1346076616,), (1346076750,), (1346076800,), (1346076820,), (1346076848,), (1346076871,), (1346076906,), (1346076982,), (1346076983,), (1346076986,), (1346076987,), (1346076992,), (1346076993,), (1346076998,), (1346076999,), (1346077004,), (1346077007,), (1346077009,), (1346077014,), (1346077027,), (1346077031,), (1346077035,), (1346077038,), (1346077041,), (1346077046,), (1346077061,), (1346077066,), (1346063704,), (1346063798,), (1346063865,), (1346063971,), (1346064563,), (1346064572,), (1346065318,), (1346065634,), (1346065741,), (1346065848,), (1346065881,), (1346065952,), (1346066081,), (1346066674,), (1346066681,), (1346067646,), (1346067736,), (1346067773,), (1346067823,), (1346067887,), (1346067944,), (1346068321,), (1346068443,), (1346068507,), (1346068586,), (1346068659,), (1346068742,), (1346068839,), (1346069533,), (1346070535,), (1346070573,), (1346070618,), (1346070660,), (1346070706,), (1346070753,), (1346071292,), (1346071539,), (1346072240,), (1346072254,), (1346072258,), (1346072262,), (1346072267,), (1346072271,), (1346073469,), (1346073612,), (1346073642,), (1346073700,), (1346073725,), (1346073743,), (1346073793,), (1346073795,), (1346073822,), (1346073846,), (1346073870,), (1346073971,), (1346074321,), (1346074350,), (1346074378,), (1346074412,), (1346074424,), (1346074431,), (1346074478,), (1346074482,), (1346074487,), (1346074490,), (1346074497,), (1346074503,), (1346074525,), (1346074527,), (1346074530,), (1346074537,), (1346074550,), (1346074564,), (1346074603,), (1346074622,), (1346074648,), (1346058891,), (1346058910,), (1346058922,), (1346058939,), (1346058943,), (1346059213,), (1346059227,), (1346059231,), (1346059259,), (1346059266,), (1346059270,), (1346059286,), (1346059310,), (1346059345,), (1346059630,), (1346059777,), (1346059799,), (1346059812,), (1346059838,), (1346059869,), (1346059896,), (1346060078,), (1346060102,), (1346060293,), (1346060325,), (1346060382,), (1346060655,), (1346060674,), (1346060677,), (1346060690,), (1346060696,), (1346060702,), (1346060703,), (1346060708,), (1346060712,), (1346060932,), (1346061003,), (1346061080,), (1346061140,), (1346061449,), (1346061519,), (1346061562,), (1346061735,), (1346061792,), (1346061837,), (1346061877,), (1346061899,), (1346061922,), (1346062210,), (1346062233,), (1346062316,), (1346062343,), (1346062369,), (1346062392,), (1346062418,), (1346062444,), (1346062548,), (1346062594,), (1346062649,), (1346062711,), (1346062768,), (1346062823,), (1346063131,), (1346063189,), (1346063261,), (1346063322,), (1346063484,), (1346063660,), (1346055924,), (1346055945,), (1346055975,), (1346055996,), (1346056011,), (1346056040,), (1346056269,), (1346056509,), (1346056555,), (1346056748,), (1346056773,), (1346056823,), (1346056848,), (1346056868,), (1346056873,), (1346057007,), (1346057040,), (1346057116,), (1346057167,), (1346057206,), (1346057232,), (1346057259,), (1346057319,), (1346057383,), (1346057403,), (1346057427,), (1346057479,), (1346057521,), (1346057574,), (1346057667,), (1346057694,), (1346057719,), (1346057732,), (1346057740,), (1346057749,), (1346057785,), (1346057810,), (1346057835,), (1346057862,), (1346057892,), (1346057915,), (1346057977,), (1346057979,), (1346058001,), (1346058003,), (1346058016,), (1346058018,), (1346058021,), (1346058039,), (1346058042,), (1346058067,), (1346058074,), (1346058087,), (1346058114,), (1346058197,), (1346058396,), (1346058400,), (1346058404,), (1346058409,), (1346058421,), (1346058552,), (1346058581,), (1346058585,), (1346058588,), (1346058591,), (1346058739,), (1346058742,), (1346058746,), (1346058750,), (1346058755,), (1346058766,), (1346058772,), (1346058777,), (1346058786,), (1346058812,), (1346058815,), (1346050416,), (1346050467,), (1346050528,), (1346050793,), (1346050823,), (1346050852,), (1346050938,), (1346050967,), (1346050982,), (1346050992,), (1346051004,), (1346051043,), (1346051329,), (1346051373,), (1346051421,), (1346051902,), (1346051987,), (1346052296,), (1346052341,), (1346052385,), (1346052451,), (1346052500,), (1346052543,), (1346052896,), (1346053415,), (1346053510,), (1346053536,), (1346053560,), (1346053589,), (1346053616,), (1346053654,), (1346054085,), (1346054114,), (1346054149,), (1346054489,), (1346054563,), (1346054616,), (1346054679,), (1346054747,), (1346054802,), (1346055116,), (1346055183,), (1346055238,), (1346055500,), (1346055667,), (1346055718,), (1346055753,), (1346055777,), (1346055784,), (1346055788,), (1346055888,), (1346044861,), (1346044902,), (1346044960,), (1346045000,), (1346045356,), (1346045746,), (1346045828,), (1346045839,), (1346045843,), (1346045858,), (1346045869,), (1346045876,), (1346045924,), (1346046203,), (1346046322,), (1346046364,), (1346046411,), (1346046462,), (1346046528,), (1346046565,), (1346046769,), (1346046780,), (1346046795,), (1346046800,), (1346046805,), (1346046807,), (1346046809,), (1346046811,), (1346046837,), (1346046843,), (1346046942,), (1346046973,), (1346046987,), (1346047010,), (1346047038,), (1346047066,), (1346047247,), (1346047298,), (1346047713,), (1346047863,), (1346047915,), (1346047970,), (1346048018,), (1346048078,), (1346048133,), (1346048399,), (1346048401,), (1346048439,), (1346048444,), (1346050047,), (1346035112,), (1346035439,), (1346035805,), (1346036133,), (1346036424,), (1346036487,), (1346036522,), (1346036573,), (1346036624,), (1346036657,), (1346036754,), (1346036774,), (1346036830,), (1346036836,), (1346036840,), (1346036845,), (1346036849,), (1346036858,), (1346036876,), (1346036878,), (1346036883,), (1346036884,), (1346036891,), (1346036892,), (1346036899,), (1346036901,), (1346036907,), (1346036909,), (1346036926,), (1346036928,), (1346037054,), (1346037074,), (1346037104,), (1346037129,), (1346037154,), (1346037165,), (1346037296,), (1346037344,), (1346037393,), (1346037422,), (1346037454,), (1346037489,), (1346037608,), (1346037640,), (1346037667,), (1346037705,), (1346037736,), (1346037813,), (1346037840,), (1346037872,), (1346037919,), (1346038036,), (1346038182,), (1346038605,), (1346038644,), (1346038725,), (1346038742,), (1346039250,), (1346039261,), (1346039350,), (1346039836,), (1346040064,), (1346040131,), (1346040213,), (1346040278,), (1346040359,), (1346040418,), (1346041349,), (1346041414,), (1346041551,), (1346041798,), (1346041999,), (1346042129,), (1346042683,), (1346043497,), (1346043813,), (1346043855,), (1346043874,), (1346043893,), (1346043931,), (1346043943,), (1346044189,), (1346044782,), (1346044829,), (1346030933,), (1346030976,), (1346031075,), (1346031123,), (1346031152,), (1346031180,), (1346031209,), (1346031245,), (1346031391,), (1346031421,), (1346031446,), (1346031490,), (1346031536,), (1346031596,), (1346031741,), (1346031818,), (1346031848,), (1346031868,), (1346031889,), (1346031913,), (1346032001,), (1346032009,), (1346032015,), (1346032029,), (1346032032,), (1346032036,), (1346032147,), (1346032184,), (1346032205,), (1346032237,), (1346032418,), (1346032482,), (1346032535,), (1346032582,), (1346032627,), (1346032671,), (1346032949,), (1346032993,), (1346033122,), (1346033228,), (1346033251,), (1346033262,), (1346033277,), (1346033282,), (1346033378,), (1346033408,), (1346033437,), (1346033450,), (1346033722,), (1346033875,), (1346033924,), (1346034095,), (1346034166,), (1346034219,), (1346034277,), (1346034394,), (1346034459,), (1346034622,), (1346034641,), (1346034665,), (1346034836,), (1346034865,), (1346034991,), (1346035018,), (1346035042,), (1346035067,), (1346035089,), (1346022025,), (1346022350,), (1346022446,), (1346022500,), (1346022572,), (1346022997,), (1346023226,), (1346023286,), (1346023327,), (1346023369,), (1346023436,), (1346023484,), (1346023934,), (1346023978,), (1346024024,), (1346024068,), (1346024118,), (1346024150,), (1346024461,), (1346024515,), (1346024841,), (1346024865,), (1346024905,), (1346025088,), (1346025135,), (1346025150,), (1346025154,), (1346025157,), (1346025162,), (1346025706,), (1346026007,), (1346026099,), (1346026246,), (1346026432,), (1346026554,), (1346026676,), (1346027081,), (1346027241,), (1346027450,), (1346027493,), (1346027622,), (1346027673,), (1346027718,), (1346027773,), (1346028139,), (1346028188,), (1346028227,), (1346028556,), (1346028591,), (1346028720,), (1346028751,), (1346028786,), (1346028810,), (1346028857,), (1346028876,), (1346029090,), (1346029120,), (1346029380,), (1346029451,), (1346029736,), (1346029809,), (1346029868,), (1346029946,), (1346030018,), (1346030063,), (1346030334,), (1346030471,), (1346030549,), (1346030582,), (1346030615,), (1346030743,), (1346030792,), (1346030836,), (1346030884,), (1346014045,), (1346014113,), (1346014229,), (1346014233,), (1346014237,), (1346014297,), (1346014318,), (1346014341,), (1346014358,), (1346014365,), (1346014372,), (1346014409,), (1346014421,), (1346014450,), (1346014472,), (1346014664,), (1346014713,), (1346014772,), (1346014936,), (1346015011,), (1346015121,), (1346015231,), (1346015253,), (1346015270,), (1346015742,), (1346015775,), (1346015866,), (1346016412,), (1346016441,), (1346017884,), (1346017971,), (1346018007,), (1346018046,), (1346018051,), (1346018057,), (1346018077,), (1346018375,), (1346018585,), (1346018643,), (1346018665,), (1346018668,), (1346018683,), (1346018702,), (1346018706,), (1346018978,), (1346018988,), (1346019064,), (1346019098,), (1346019133,), (1346019177,), (1346019223,), (1346019253,), (1346019364,), (1346019373,), (1346019401,), (1346019427,), (1346019466,), (1346019499,), (1346019813,), (1346020322,), (1346020367,), (1346020655,), (1346020676,), (1346020819,), (1346020840,), (1346020867,), (1346021170,), (1346021201,), (1346021234,), (1346021267,), (1346021293,), (1346021316,), (1346021786,), (1346021833,), (1346021876,), (1346021927,), (1346021972,), (1346006597,), (1346006641,), (1346006651,), (1346006660,), (1346006667,), (1346006675,), (1346006686,), (1346006731,), (1346006774,), (1346006984,), (1346007037,), (1346007074,), (1346007107,), (1346007135,), (1346007177,), (1346007202,), (1346007335,), (1346007341,), (1346007350,), (1346007394,), (1346007398,), (1346007403,), (1346007414,), (1346007423,), (1346007428,), (1346007511,), (1346007536,), (1346007753,), (1346007880,), (1346007928,), (1346007967,), (1346008028,), (1346008063,), (1346008100,), (1346008465,), (1346008490,), (1346008538,), (1346008587,), (1346008627,), (1346008682,), (1346009091,), (1346009118,), (1346010247,), (1346010438,), (1346010528,), (1346010583,), (1346010809,), (1346010857,), (1346010949,), (1346011319,), (1346011359,), (1346011700,), (1346011950,), (1346011992,), (1346012043,), (1346012072,), (1346012113,), (1346012151,), (1346012490,), (1346012656,), (1346012703,), (1346012743,), (1346012814,), (1346012826,), (1346012830,), (1346012842,), (1346012846,), (1346012877,), (1346013471,), (1346013553,), (1346013563,), (1346013593,), (1346013619,), (1346013649,), (1346013723,), (1346004658,), (1346004774,), (1346004811,), (1346004832,), (1346004841,), (1346004860,), (1346004868,), (1346004905,), (1346004914,), (1346005218,), (1346005249,), (1346005281,), (1346005306,), (1346005331,), (1346005359,), (1346005440,), (1346005449,), (1346005520,), (1346005539,), (1346005563,), (1346005654,), (1346005677,), (1346005705,), (1346005709,), (1346005714,), (1346005717,), (1346005760,), (1346005768,), (1346005832,), (1346005846,), (1346005850,), (1346005855,), (1346005859,), (1346005861,), (1346005865,), (1346005914,), (1346005969,), (1346005992,), (1346006007,), (1346006011,), (1346006014,), (1346006017,), (1346006020,), (1346006258,), (1346006307,), (1346006328,), (1346006359,), (1346006384,), (1346006396,), (1346006413,), (1346006437,), (1346006449,), (1346006592,), (1346000250,), (1346000546,), (1346000615,), (1346000669,), (1346000809,), (1346000857,), (1346000923,), (1346001004,), (1346001084,), (1346001156,), (1346001520,), (1346001566,), (1346001692,), (1346001728,), (1346001796,), (1346001839,), (1346001892,), (1346001939,), (1346002355,), (1346002415,), (1346002434,), (1346002458,), (1346002468,), (1346002489,), (1346002502,), (1346002762,), (1346002987,), (1346003053,), (1346003080,), (1346003107,), (1346003138,), (1346003189,), (1346003227,), (1346003579,), (1346003631,), (1346004027,), (1346004044,), (1346004067,), (1346004092,), (1346004117,), (1346004128,), (1346004157,), (1346004167,), (1346004205,), (1346004208,), (1346004219,), (1346004244,), (1346004271,), (1346004303,), (1345992118,), (1345992329,), (1345992402,), (1345992478,), (1345992556,), (1345992631,), (1345992706,), (1345993601,), (1345993651,), (1345993701,), (1345993746,), (1345993916,), (1345993975,), (1345994038,), (1345994071,), (1345994104,), (1345994149,), (1345994359,), (1345994394,), (1345994441,), (1345994549,), (1345994595,), (1345994642,), (1345994687,), (1345994712,), (1345994732,), (1345995023,), (1345995062,), (1345995224,), (1345995249,), (1345995285,), (1345995337,), (1345995383,), (1345995443,), (1345996074,), (1345996100,), (1345996129,), (1345996181,), (1345996185,), (1345996227,), (1345996273,), (1345996300,), (1345996341,), (1345996593,), (1345996595,), (1345996596,), (1345996600,), (1345996645,), (1345996684,), (1345996910,), (1345996927,), (1345997316,), (1345997352,), (1345997389,), (1345997419,), (1345997455,), (1345997500,), (1345997805,), (1345997837,), (1345997967,), (1345998002,), (1345998053,), (1345998067,), (1345998096,), (1345998128,), (1345998651,), (1345998713,), (1345998780,), (1345998822,), (1345998849,), (1345998883,), (1345998921,), (1345998938,), (1345998950,), (1345999231,), (1345999419,), (1345999475,), (1345999544,), (1345999583,), (1345999625,), (1345999784,), (1345990412,), (1345990418,), (1345990430,), (1345990529,), (1345990557,), (1345990586,), (1345990612,), (1345990640,), (1345990686,), (1345990780,), (1345990810,), (1345990836,), (1345990847,), (1345990850,), (1345990852,), (1345990891,), (1345990918,), (1345990953,), (1345990978,), (1345990989,), (1345990994,), (1345991003,), (1345991006,), (1345991010,), (1345991016,), (1345991020,), (1345991024,), (1345991041,), (1345991046,), (1345991050,), (1345991055,), (1345991058,), (1345991063,), (1345991111,), (1345991142,), (1345991181,), (1345991210,), (1345991301,), (1345991327,), (1345991354,), (1345991386,), (1345991416,), (1345991447,), (1345991544,), (1345991549,), (1345991554,), (1345991558,), (1345991572,), (1345991576,), (1345991579,), (1345991584,), (1345991589,), (1345991603,), (1345991610,), (1345991619,), (1345991625,), (1345991638,), (1345991642,), (1345991666,), (1345991670,), (1345991682,), (1345991696,), (1345991710,), (1345991717,), (1345991723,), (1345991735,), (1345991738,), (1345991741,), (1345991769,), (1345991771,), (1345991788,), (1345991790,), (1345991817,), (1345991818,), (1345991840,), (1345991849,), (1345991866,), (1345991875,), (1345991893,), (1345991894,), (1345992036,), (1345992078,), (1345986184,), (1345986215,), (1345986266,), (1345986316,), (1345986530,), (1345986564,), (1345986593,), (1345986622,), (1345986632,), (1345986636,), (1345986657,), (1345986661,), (1345986665,), (1345986675,), (1345986678,), (1345986680,), (1345986683,), (1345986706,), (1345986737,), (1345986921,), (1345986981,), (1345987036,), (1345987095,), (1345987148,), (1345987201,), (1345987303,), (1345987332,), (1345987360,), (1345987385,), (1345987410,), (1345987441,), (1345987524,), (1345987552,), (1345987587,), (1345987645,), (1345987726,), (1345987936,), (1345988185,), (1345988227,), (1345988322,), (1345988396,), (1345988447,), (1345988501,), (1345988711,), (1345988821,), (1345988903,), (1345988954,), (1345989020,), (1345989074,), (1345989225,), (1345989300,), (1345989370,), (1345989453,), (1345989525,), (1345989617,), (1345989744,), (1345989772,), (1345989819,), (1345989925,), (1345989970,), (1345990000,), (1345990128,), (1345990154,), (1345990187,), (1345990206,), (1345990209,), (1345990214,), (1345990305,), (1345990342,), (1345990355,), (1345990358,), (1345990364,), (1345990369,), (1345990400,), (1345990407,), (1345990409,), (1345984229,), (1345984235,), (1345984240,), (1345984245,), (1345984250,), (1345984255,), (1345984261,), (1345984265,), (1345984270,), (1345984275,), (1345984279,), (1345984284,), (1345984295,), (1345984298,), (1345984301,), (1345984303,), (1345984307,), (1345984308,), (1345984326,), (1345984332,), (1345984343,), (1345984353,), (1345984360,), (1345984363,), (1345984394,), (1345984400,), (1345984405,), (1345984410,), (1345984432,), (1345984458,), (1345984573,), (1345984575,), (1345984606,), (1345984608,), (1345984648,), (1345984649,), (1345984666,), (1345984667,), (1345984686,), (1345984695,), (1345984717,), (1345984721,), (1345984799,), (1345984834,), (1345984864,), (1345984893,), (1345984927,), (1345984951,), (1345984999,), (1345985012,), (1345985015,), (1345985025,), (1345985054,), (1345985063,), (1345985078,), (1345985083,), (1345985087,), (1345985093,), (1345985116,), (1345985120,), (1345985124,), (1345985126,), (1345985130,), (1345985134,), (1345985144,), (1345985146,), (1345985149,), (1345985173,), (1345985219,), (1345985254,), (1345985394,), (1345985449,), (1345985483,), (1345985541,), (1345985580,), (1345985619,), (1345985700,), (1345985730,), (1345985757,), (1345985810,), (1345985865,), (1345985920,), (1345983598,), (1345983602,), (1345983606,), (1345983616,), (1345983622,), (1345983632,), (1345983636,), (1345983639,), (1345983642,), (1345983657,), (1345983663,), (1345983674,), (1345983681,), (1345983687,), (1345983690,), (1345983704,), (1345983707,), (1345983710,), (1345983713,), (1345983716,), (1345983720,), (1345983728,), (1345983732,), (1345983737,), (1345983742,), (1345983747,), (1345983754,), (1345983767,), (1345983771,), (1345983774,), (1345983776,), (1345983780,), (1345983785,), (1345983801,), (1345983808,), (1345983814,), (1345983818,), (1345983821,), (1345983826,), (1345983835,), (1345983840,), (1345983846,), (1345983852,), (1345983857,), (1345983862,), (1345983872,), (1345983874,), (1345983878,), (1345983882,), (1345983886,), (1345983890,), (1345983906,), (1345983910,), (1345983914,), (1345983920,), (1345983926,), (1345983932,), (1345983955,), (1345983958,), (1345983961,), (1345983966,), (1345983969,), (1345983973,), (1345983991,), (1345983997,), (1345984001,), (1345984002,), (1345984004,), (1345984006,), (1345984018,), (1345984033,), (1345984038,), (1345984042,), (1345984045,), (1345984049,), (1345984067,), (1345984070,), (1345984074,), (1345984083,), (1345984113,), (1345984139,), (1345983178,), (1345983184,), (1345983199,), (1345983202,), (1345983205,), (1345983207,), (1345983212,), (1345983217,), (1345983231,), (1345983238,), (1345983243,), (1345983248,), (1345983253,), (1345983256,), (1345983271,), (1345983274,), (1345983279,), (1345983282,), (1345983285,), (1345983287,), (1345983298,), (1345983305,), (1345983309,), (1345983311,), (1345983313,), (1345983316,), (1345983327,), (1345983333,), (1345983337,), (1345983344,), (1345983347,), (1345983351,), (1345983361,), (1345983362,), (1345983365,), (1345983370,), (1345983374,), (1345983378,), (1345983389,), (1345983394,), (1345983397,), (1345983400,), (1345983404,), (1345983408,), (1345983427,), (1345983430,), (1345983432,), (1345983436,), (1345983440,), (1345983455,), (1345983459,), (1345983465,), (1345983469,), (1345983473,), (1345983475,), (1345983486,), (1345983491,), (1345983497,), (1345983501,), (1345983505,), (1345983509,), (1345983521,), (1345983527,), (1345983531,), (1345983534,), (1345983537,), (1345983539,), (1345983547,), (1345983548,), (1345983551,), (1345983553,), (1345983558,), (1345983559,), (1345983565,), (1345983568,), (1345983572,), (1345983575,), (1345983578,), (1345983580,), (1345983589,), (1345983592,), (1345983595,), (1345982766,), (1345982770,), (1345982774,), (1345982778,), (1345982787,), (1345982792,), (1345982797,), (1345982801,), (1345982807,), (1345982810,), (1345982832,), (1345982839,), (1345982848,), (1345982853,), (1345982856,), (1345982858,), (1345982868,), (1345982872,), (1345982876,), (1345982882,), (1345982884,), (1345982888,), (1345982895,), (1345982899,), (1345982903,), (1345982906,), (1345982909,), (1345982915,), (1345982938,), (1345982942,), (1345982948,), (1345982953,), (1345982955,), (1345982968,), (1345982971,), (1345982974,), (1345982977,), (1345982980,), (1345982984,), (1345982995,), (1345982999,), (1345983013,), (1345983018,), (1345983024,), (1345983028,), (1345983037,), (1345983041,), (1345983046,), (1345983050,), (1345983053,), (1345983055,), (1345983065,), (1345983069,), (1345983073,), (1345983077,), (1345983080,), (1345983081,), (1345983089,), (1345983094,), (1345983100,), (1345983104,), (1345983110,), (1345983116,), (1345983129,), (1345983132,), (1345983134,), (1345983137,), (1345983141,), (1345983147,), (1345983160,), (1345983163,), (1345983167,), (1345983172,), (1345981156,), (1345981173,), (1345981174,), (1345981179,), (1345981181,), (1345981186,), (1345981187,), (1345981193,), (1345981194,), (1345981199,), (1345981201,), (1345981203,), (1345981205,), (1345981217,), (1345981223,), (1345981230,), (1345981234,), (1345981238,), (1345981248,), (1345981272,), (1345981299,), (1345981330,), (1345981359,), (1345981400,), (1345981597,), (1345981639,), (1345981668,), (1345981701,), (1345981753,), (1345981805,), (1345981890,), (1345981925,), (1345981983,), (1345982000,), (1345982008,), (1345982038,), (1345982064,), (1345982134,), (1345982164,), (1345982194,), (1345982225,), (1345982255,), (1345982337,), (1345982339,), (1345982358,), (1345982392,), (1345982396,), (1345982402,), (1345982411,), (1345982413,), (1345982416,), (1345982438,), (1345982458,), (1345982486,), (1345982573,), (1345982593,), (1345982598,), (1345982605,), (1345982612,), (1345982615,), (1345982645,), (1345982661,), (1345982664,), (1345982666,), (1345982668,), (1345982672,), (1345982685,), (1345982690,), (1345982695,), (1345982699,), (1345982702,), (1345982706,), (1345982718,), (1345982721,), (1345982726,), (1345982732,), (1345982737,), (1345982744,), (1345982757,), (1345982762,), (1345977207,), (1345977210,), (1345977215,), (1345977233,), (1345977234,), (1345977238,), (1345977239,), (1345977242,), (1345977243,), (1345977249,), (1345977252,), (1345977256,), (1345977258,), (1345977268,), (1345977272,), (1345977273,), (1345977278,), (1345977280,), (1345977282,), (1345977361,), (1345977424,), (1345977479,), (1345977539,), (1345977601,), (1345977655,), (1345977821,), (1345977879,), (1345977929,), (1345977987,), (1345978038,), (1345978090,), (1345978268,), (1345978342,), (1345978398,), (1345978451,), (1345978495,), (1345978577,), (1345979211,), (1345979239,), (1345979269,), (1345979300,), (1345979356,), (1345979411,), (1345979540,), (1345979600,), (1345979649,), (1345979687,), (1345979738,), (1345979788,), (1345979940,), (1345979959,), (1345980001,), (1345980051,), (1345980122,), (1345980159,), (1345980340,), (1345980385,), (1345980391,), (1345980419,), (1345980475,), (1345980544,), (1345980764,), (1345980795,), (1345980825,), (1345980833,), (1345980853,), (1345980868,), (1345980975,), (1345981013,), (1345981030,), (1345981045,), (1345981072,), (1345981076,), (1345981110,), (1345981122,), (1345981127,), (1345981130,), (1345981134,), (1345976772,), (1345976777,), (1345976792,), (1345976796,), (1345976799,), (1345976812,), (1345976814,), (1345976827,), (1345976856,), (1345976860,), (1345976865,), (1345976870,), (1345976874,), (1345976879,), (1345976893,), (1345976896,), (1345976899,), (1345976902,), (1345976905,), (1345976907,), (1345976918,), (1345976921,), (1345976923,), (1345976929,), (1345976934,), (1345976939,), (1345976947,), (1345976950,), (1345976953,), (1345976958,), (1345976973,), (1345976981,), (1345976999,), (1345977004,), (1345977007,), (1345977012,), (1345977017,), (1345977021,), (1345977034,), (1345977035,), (1345977037,), (1345977038,), (1345977040,), (1345977043,), (1345977056,), (1345977062,), (1345977067,), (1345977071,), (1345977077,), (1345977081,), (1345977086,), (1345977090,), (1345977093,), (1345977097,), (1345977101,), (1345977106,), (1345977119,), (1345977124,), (1345977130,), (1345977136,), (1345977140,), (1345977149,), (1345977161,), (1345977164,), (1345977169,), (1345977174,), (1345977179,), (1345977184,), (1345977197,), (1345977201,), (1345977203,), (1345976128,), (1345976132,), (1345976142,), (1345976143,), (1345976146,), (1345976150,), (1345976153,), (1345976156,), (1345976167,), (1345976169,), (1345976176,), (1345976178,), (1345976182,), (1345976189,), (1345976197,), (1345976199,), (1345976202,), (1345976205,), (1345976208,), (1345976212,), (1345976225,), (1345976231,), (1345976237,), (1345976240,), (1345976242,), (1345976245,), (1345976256,), (1345976262,), (1345976267,), (1345976273,), (1345976278,), (1345976282,), (1345976293,), (1345976298,), (1345976303,), (1345976306,), (1345976309,), (1345976313,), (1345976322,), (1345976327,), (1345976331,), (1345976347,), (1345976355,), (1345976359,), (1345976369,), (1345976378,), (1345976389,), (1345976393,), (1345976400,), (1345976403,), (1345976425,), (1345976437,), (1345976440,), (1345976450,), (1345976463,), (1345976468,), (1345976476,), (1345976480,), (1345976484,), (1345976488,), (1345976494,), (1345976499,), (1345976522,), (1345976525,), (1345976529,), (1345976532,), (1345976540,), (1345976548,), (1345976598,), (1345976685,), (1345976689,), (1345976691,), (1345976699,), (1345976725,), (1345976755,), (1345976757,), (1345976762,), (1345976767,), (1345975657,), (1345975660,), (1345975662,), (1345975665,), (1345975668,), (1345975680,), (1345975681,), (1345975684,), (1345975687,), (1345975689,), (1345975692,), (1345975694,), (1345975697,), (1345975699,), (1345975701,), (1345975702,), (1345975706,), (1345975715,), (1345975721,), (1345975727,), (1345975742,), (1345975748,), (1345975752,), (1345975774,), (1345975779,), (1345975784,), (1345975789,), (1345975793,), (1345975796,), (1345975801,), (1345975804,), (1345975808,), (1345975813,), (1345975817,), (1345975820,), (1345975833,), (1345975837,), (1345975840,), (1345975843,), (1345975847,), (1345975853,), (1345975862,), (1345975864,), (1345975866,), (1345975870,), (1345975875,), (1345975880,), (1345975894,), (1345975896,), (1345975898,), (1345975901,), (1345975905,), (1345975913,), (1345975944,), (1345975951,), (1345975957,), (1345975965,), (1345975987,), (1345976000,), (1345976007,), (1345976011,), (1345976015,), (1345976019,), (1345976022,), (1345976026,), (1345976054,), (1345976059,), (1345976064,), (1345976067,), (1345976070,), (1345976073,), (1345976081,), (1345976084,), (1345976089,), (1345976092,), (1345976098,), (1345976103,), (1345976112,), (1345976117,), (1345976119,), (1345976123,), (1345975266,), (1345975288,), (1345975293,), (1345975297,), (1345975312,), (1345975316,), (1345975324,), (1345975345,), (1345975362,), (1345975365,), (1345975370,), (1345975373,), (1345975386,), (1345975387,), (1345975390,), (1345975391,), (1345975394,), (1345975395,), (1345975398,), (1345975399,), (1345975402,), (1345975403,), (1345975408,), (1345975409,), (1345975421,), (1345975425,), (1345975427,), (1345975430,), (1345975432,), (1345975434,), (1345975451,), (1345975459,), (1345975464,), (1345975470,), (1345975473,), (1345975476,), (1345975493,), (1345975502,), (1345975508,), (1345975514,), (1345975517,), (1345975523,), (1345975587,), (1345975590,), (1345975593,), (1345975595,), (1345975597,), (1345975601,), (1345975613,), (1345975617,), (1345975622,), (1345975625,), (1345975630,), (1345975637,), (1345975653,), (1345974390,), (1345974393,), (1345974397,), (1345974401,), (1345974547,), (1345974556,), (1345974571,), (1345974587,), (1345974605,), (1345974609,), (1345974625,), (1345974631,), (1345974636,), (1345974637,), (1345974640,), (1345974646,), (1345974663,), (1345974670,), (1345974676,), (1345974679,), (1345974682,), (1345974685,), (1345974698,), (1345974702,), (1345974707,), (1345974711,), (1345974712,), (1345974714,), (1345974733,), (1345974738,), (1345974743,), (1345974748,), (1345974751,), (1345974753,), (1345974758,), (1345974762,), (1345974766,), (1345974771,), (1345974781,), (1345974791,), (1345974806,), (1345974810,), (1345974815,), (1345974823,), (1345974827,), (1345974833,), (1345974849,), (1345974853,), (1345974855,), (1345974863,), (1345974869,), (1345974874,), (1345974895,), (1345974898,), (1345974911,), (1345974923,), (1345974930,), (1345974943,), (1345975022,), (1345975026,), (1345975030,), (1345975034,), (1345975037,), (1345975040,), (1345975047,), (1345975051,), (1345975056,), (1345975117,), (1345975197,), (1345975202,), (1345975224,), (1345975236,), (1345975253,), (1345975259,), (1345975262,), (1345973823,), (1345973833,), (1345973836,), (1345973840,), (1345973844,), (1345973847,), (1345973859,), (1345973863,), (1345973875,), (1345973894,), (1345973899,), (1345973903,), (1345973914,), (1345973915,), (1345973920,), (1345973921,), (1345973926,), (1345973927,), (1345973939,), (1345973940,), (1345973945,), (1345973951,), (1345973952,), (1345973957,), (1345973973,), (1345973980,), (1345973983,), (1345973990,), (1345974004,), (1345974010,), (1345974074,), (1345974079,), (1345974084,), (1345974086,), (1345974091,), (1345974096,), (1345974110,), (1345974115,), (1345974120,), (1345974124,), (1345974127,), (1345974132,), (1345974148,), (1345974151,), (1345974166,), (1345974171,), (1345974178,), (1345974183,), (1345974204,), (1345974209,), (1345974224,), (1345974233,), (1345974236,), (1345974241,), (1345974258,), (1345974261,), (1345974267,), (1345974275,), (1345974278,), (1345974281,), (1345974288,), (1345974291,), (1345974295,), (1345974298,), (1345974302,), (1345974307,), (1345974316,), (1345974323,), (1345974326,), (1345974332,), (1345974338,), (1345974343,), (1345974350,), (1345974351,), (1345974354,), (1345974359,), (1345974364,), (1345974368,), (1345974381,), (1345974386,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21032025': {'nb_upload': 12, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21573757]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] map_info['map_portfolio_photo'] : {21573757: [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072]} final : True mtd_id 4302 list_pids : [1345994355, 1345993534, 1345993487, 1345992009, 1345991987, 1345991961, 1345991661, 1345991655, 1345991569, 1345991540, 1345991532, 1345991072] Looping around the photos to save general results len do output : 1 /21573757Didn'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, '2681472') ('4302', '21573757', '1345994355', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993534', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345993487', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345992009', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991987', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991961', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991661', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991655', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991569', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991540', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991532', None, None, None, None, None, '2681472') ('4302', None, None, None, None, None, None, None, '2681472') ('4302', '21573757', '1345991072', None, None, None, None, None, '2681472') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 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, '21573757', 'None', None, None, None, None, '2681472'), ('4302', '21573757', '1345994355', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345993534', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345993487', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345992009', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991987', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991961', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991661', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991655', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991569', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991540', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991532', None, None, None, None, None, '2681472'), ('4302', '21573757', '1345991072', None, None, None, None, None, '2681472')] time used for this insertion : 0.13154339790344238 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.913041114807129 time spend to save output : 0.13177752494812012 total time spend for step 5 : 4.044818639755249 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 (2681472) 2.40user 2.35system 0:16.32elapsed 29%CPU (0avgtext+0avgdata 159076maxresident)k 48inputs+16208outputs (0major+74853minor)pagefaults 0swaps