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 : 3329904 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 (3608294) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3608294) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229406 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3608294'] with mtr_portfolio_ids : ['26229406'] and first list_photo_ids : [] new path : /proc/3329904/ Name: python3 Umask: 0002 State: R (running) Tgid: 3329904 Ngid: 0 Pid: 3329904 PPid: 3329903 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3329904 NSpid: 3329904 NSpgid: 3329686 NSsid: 3329686 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 101048 kB VmRSS: 101048 kB RssAnon: 60160 kB RssFile: 40888 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 540 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 71 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3329904', 'Ngid': '0', 'Pid': '3329904', 'PPid': '3329903', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3329904', 'NSpid': '3329904', 'NSpgid': '3329686', 'NSsid': '3329686', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '101048 kB', 'VmRSS': '101048 kB', 'RssAnon': '60160 kB', 'RssFile': '40888 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '540 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '71'} ('datou_batch_current', '3329904', '1107248', '0', '1107248', '866000', '101048', b'', 'marlene', '3608294') 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 (26229406) 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 (3608294 ) ) 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 (26229406) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379418345, 'portfolio_id': 26229406}, {'photo_id': 1379415271, 'portfolio_id': 26229406}, {'photo_id': 1379413809, 'portfolio_id': 26229406}, {'photo_id': 1379413717, 'portfolio_id': 26229406}, {'photo_id': 1379413651, 'portfolio_id': 26229406}, {'photo_id': 1379413650, 'portfolio_id': 26229406}, {'photo_id': 1379413649, 'portfolio_id': 26229406}, {'photo_id': 1379413648, 'portfolio_id': 26229406}, {'photo_id': 1379413593, 'portfolio_id': 26229406}, {'photo_id': 1379413592, 'portfolio_id': 26229406}, {'photo_id': 1379413591, 'portfolio_id': 26229406}, {'photo_id': 1379413590, 'portfolio_id': 26229406}, {'photo_id': 1379413559, 'portfolio_id': 26229406}, {'photo_id': 1379413558, 'portfolio_id': 26229406}, {'photo_id': 1379413557, 'portfolio_id': 26229406}, {'photo_id': 1379413556, 'portfolio_id': 26229406}, {'photo_id': 1379413555, 'portfolio_id': 26229406}, {'photo_id': 1379413414, 'portfolio_id': 26229406}, {'photo_id': 1379413412, 'portfolio_id': 26229406}, {'photo_id': 1379413410, 'portfolio_id': 26229406}, {'photo_id': 1379413408, 'portfolio_id': 26229406}, {'photo_id': 1379413310, 'portfolio_id': 26229406}, {'photo_id': 1379413309, 'portfolio_id': 26229406}] map_portfolio_id_photo_id: {26229406: [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309]} ##### 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.04668068885803223 #### 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 Wed Aug 27 05:55:27 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 (26229406) 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 : 26229406 get user id for portfolio 26229406 get sub ptf for main ptf 26229406, type 3726 and hashtags ['Carton_gris', 'mal_croppe', 'flou', 'papier', 'metal', 'cartonnette', 'Teint_Dans_La_Masse', 'Carton_brun', 'kraft', 'plastique', 'environnement', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26229406 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','flou','papier','metal','cartonnette','Teint_Dans_La_Masse','Carton_brun','kraft','plastique','environnement','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26229406 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','flou','papier','metal','cartonnette','Teint_Dans_La_Masse','Carton_brun','kraft','plastique','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26229406, 'sub_port_id': 26229445, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658566, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'kraft': {'main_port_id': 26229406, 'sub_port_id': 26229446, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658567, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'environnement': {'main_port_id': 26229406, 'sub_port_id': 26229448, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658568, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'Carton_gris': {'main_port_id': 26229406, 'sub_port_id': 26229449, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658569, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'cartonnette': {'main_port_id': 26229406, 'sub_port_id': 26229450, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658570, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26229406, 'sub_port_id': 26229451, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658571, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'mal_croppe': {'main_port_id': 26229406, 'sub_port_id': 26229452, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658572, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'Carton_brun': {'main_port_id': 26229406, 'sub_port_id': 26229453, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658573, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'plastique': {'main_port_id': 26229406, 'sub_port_id': 26229454, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658574, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'flou': {'main_port_id': 26229406, 'sub_port_id': 26229455, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658575, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'papier': {'main_port_id': 26229406, 'sub_port_id': 26229456, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658576, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}, 'autre_refus': {'main_port_id': 26229406, 'sub_port_id': 26229457, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658577, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26229445 , 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=26229406 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 (26229445) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229446 , 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=26229406 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 (26229446) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229448 , 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=26229406 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 (26229448) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229449 , 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=26229406 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 (26229449) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229450 , 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=26229406 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 (26229450) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229451 , 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=26229406 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 (26229451) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229452 , 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=26229406 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 (26229452) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229453 , 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=26229406 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 (26229453) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229454 , 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=26229406 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 (26229454) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229455 , 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=26229406 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 (26229455) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229456 , 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=26229406 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 (26229456) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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 26229457 , 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=26229406 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 (26229457) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26229406) result : ((1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,)) 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`=26229406 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','flou','papier','metal','cartonnette','Teint_Dans_La_Masse','Carton_brun','kraft','plastique','environnement','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26229406 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','flou','papier','metal','cartonnette','Teint_Dans_La_Masse','Carton_brun','kraft','plastique','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26229406, 'sub_port_id': 26229458, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658578, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'kraft': {'main_port_id': 26229406, 'sub_port_id': 26229459, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658579, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'environnement': {'main_port_id': 26229406, 'sub_port_id': 26229460, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658580, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'Carton_gris': {'main_port_id': 26229406, 'sub_port_id': 26229461, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658581, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'cartonnette': {'main_port_id': 26229406, 'sub_port_id': 26229462, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658582, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 26229406, 'sub_port_id': 26229463, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658583, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'mal_croppe': {'main_port_id': 26229406, 'sub_port_id': 26229464, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658584, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'Carton_brun': {'main_port_id': 26229406, 'sub_port_id': 26229465, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658585, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'plastique': {'main_port_id': 26229406, 'sub_port_id': 26229466, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658586, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'flou': {'main_port_id': 26229406, 'sub_port_id': 26229467, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658587, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'papier': {'main_port_id': 26229406, 'sub_port_id': 26229468, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658588, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 33, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}, 'autre_refus': {'main_port_id': 26229406, 'sub_port_id': 26229469, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658589, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 48, 28), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 33, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229458,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229445 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229459,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229446 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229460,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229448 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229461,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229449 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229462,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229450 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229463,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229451 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229464,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229452 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229465,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229453 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229466,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229454 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229467,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229455 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229468,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229456 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26229469,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26229457 lien utilise dans velours : https://www.fotonower.com/velours/26229458,26229459,26229460,26229461,26229462,26229463,26229464,26229465,26229466,26229467,26229468,26229469?tags=metal,kraft,environnement,Carton_gris,cartonnette,Teint_Dans_La_Masse,mal_croppe,Carton_brun,plastique,flou,papier,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26229406]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] map_info['map_portfolio_photo'] : {26229406: [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309]} final : False mtd_id 4302 list_pids : [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] Looping around the photos to save general results len do output : 1 /26229406. 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, '3608294') ('4302', '26229406', '1379418345', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379415271', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413809', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413717', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413651', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413650', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413649', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413648', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413593', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413592', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413591', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413590', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413559', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413558', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413557', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413556', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413555', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413414', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413412', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413410', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413408', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413310', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413309', None, None, None, None, None, '3608294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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, '26229406', "{'metal': 26229445, 'kraft': 26229446, 'environnement': 26229448, 'Carton_gris': 26229449, 'cartonnette': 26229450, 'Teint_Dans_La_Masse': 26229451, 'mal_croppe': 26229452, 'Carton_brun': 26229453, 'plastique': 26229454, 'flou': 26229455, 'papier': 26229456, 'autre_refus': 26229457}", None, None, None, None, '3608294'), ('4302', '26229406', '1379418345', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379415271', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413809', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413717', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413651', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413650', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413649', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413648', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413593', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413592', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413591', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413590', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413559', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413558', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413557', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413556', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413555', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413414', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413412', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413410', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413408', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413310', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413309', None, None, None, None, None, '3608294')] time used for this insertion : 0.021195173263549805 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4800488948822021 time spend to save output : 0.022197484970092773 total time spend for step 1 : 1.502246379852295 step2:final Wed Aug 27 05:55:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (26229406) 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 26229406 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379413310,1379413309,1379413414,1379413412,1379413410,1379413408,1379413559,1379413558,1379413557,1379413556,1379413555,1379413593,1379413592,1379413591,1379413590,1379413651,1379413650,1379413649,1379413648,1379413717,1379413809,1379418345,1379415271); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26229406]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} new output for save of step final : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] map_info['map_portfolio_photo'] : {26229406: [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309]} final : False mtd_id 4302 list_pids : [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] Looping around the photos to save general results len do output : 23 /1379418345.Didn't retrieve data . /1379415271.Didn't retrieve data . /1379413809.Didn't retrieve data . /1379413717.Didn't retrieve data . /1379413651.Didn't retrieve data . /1379413650.Didn't retrieve data . /1379413649.Didn't retrieve data . /1379413648.Didn't retrieve data . /1379413593.Didn't retrieve data . /1379413592.Didn't retrieve data . /1379413591.Didn't retrieve data . /1379413590.Didn't retrieve data . /1379413559.Didn't retrieve data . /1379413558.Didn't retrieve data . /1379413557.Didn't retrieve data . /1379413556.Didn't retrieve data . /1379413555.Didn't retrieve data . /1379413414.Didn't retrieve data . /1379413412.Didn't retrieve data . /1379413410.Didn't retrieve data . /1379413408.Didn't retrieve data . /1379413310.Didn't retrieve data . /1379413309.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, '3608294') ('4302', '26229406', '1379418345', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379415271', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413809', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413717', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413651', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413650', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413649', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413648', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413593', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413592', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413591', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413590', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413559', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413558', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413557', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413556', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413555', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413414', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413412', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413410', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413408', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413310', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413309', None, None, None, None, None, '3608294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 69 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', '26229406', '1379418345', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379415271', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413809', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413717', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413651', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413650', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413649', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413648', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413593', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413592', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413591', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413590', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413559', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413558', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413557', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413556', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413555', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413414', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413412', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413410', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413408', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413310', '0.0', None, None, None, None, '3608294'), ('4302', '26229406', '1379413309', '0.0', None, None, None, None, '3608294')] time used for this insertion : 0.027598142623901367 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05493521690368652 time spend to save output : 0.0289151668548584 total time spend for step 2 : 0.08385038375854492 step3:velours_tree Wed Aug 27 05:55:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {26229406: [{'metal': 26229445, 'kraft': 26229446, 'environnement': 26229448, 'Carton_gris': 26229449, 'cartonnette': 26229450, 'Teint_Dans_La_Masse': 26229451, 'mal_croppe': 26229452, 'Carton_brun': 26229453, 'plastique': 26229454, 'flou': 26229455, 'papier': 26229456, 'autre_refus': 26229457}]} input_args_next_step : {26229406: ()} output_args : {26229406: [{'metal': 26229445, 'kraft': 26229446, 'environnement': 26229448, 'Carton_gris': 26229449, 'cartonnette': 26229450, 'Teint_Dans_La_Masse': 26229451, 'mal_croppe': 26229452, 'Carton_brun': 26229453, 'plastique': 26229454, 'flou': 26229455, 'papier': 26229456, 'autre_refus': 26229457}]} args : 26229406 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 : ({'metal': 26229445, 'kraft': 26229446, 'environnement': 26229448, 'Carton_gris': 26229449, 'cartonnette': 26229450, 'Teint_Dans_La_Masse': 26229451, 'mal_croppe': 26229452, 'Carton_brun': 26229453, 'plastique': 26229454, 'flou': 26229455, 'papier': 26229456, 'autre_refus': 26229457},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26229406) 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([26229406]) 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.3234860897064209 time spend to save output : 4.935264587402344e-05 total time spend for step 3 : 0.3235354423522949 step4:send_mail_cod Wed Aug 27 05:55:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} input_args_next_step : {1379418345: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379418345 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379415271 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413809 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413717 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413651 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413650 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413649 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413648 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413593 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413592 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413591 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413590 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413559 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413558 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413557 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413556 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413555 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413414 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413412 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413410 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413408 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413310 depend.output_id : 0 input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ()} output_args : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',)} args : 1379413309 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 : {26229406: [{'metal': 26229445, 'kraft': 26229446, 'environnement': 26229448, 'Carton_gris': 26229449, 'cartonnette': 26229450, 'Teint_Dans_La_Masse': 26229451, 'mal_croppe': 26229452, 'Carton_brun': 26229453, 'plastique': 26229454, 'flou': 26229455, 'papier': 26229456, 'autre_refus': 26229457}]} input_args_next_step : {1379418345: ('0.0',), 1379415271: ('0.0',), 1379413809: ('0.0',), 1379413717: ('0.0',), 1379413651: ('0.0',), 1379413650: ('0.0',), 1379413649: ('0.0',), 1379413648: ('0.0',), 1379413593: ('0.0',), 1379413592: ('0.0',), 1379413591: ('0.0',), 1379413590: ('0.0',), 1379413559: ('0.0',), 1379413558: ('0.0',), 1379413557: ('0.0',), 1379413556: ('0.0',), 1379413555: ('0.0',), 1379413414: ('0.0',), 1379413412: ('0.0',), 1379413410: ('0.0',), 1379413408: ('0.0',), 1379413310: ('0.0',), 1379413309: ('0.0',), 26229406: ()} output_args : {26229406: [{'metal': 26229445, 'kraft': 26229446, 'environnement': 26229448, 'Carton_gris': 26229449, 'cartonnette': 26229450, 'Teint_Dans_La_Masse': 26229451, 'mal_croppe': 26229452, 'Carton_brun': 26229453, 'plastique': 26229454, 'flou': 26229455, 'papier': 26229456, 'autre_refus': 26229457}]} args : 26229406 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 :24, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26229406) 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 (1379418345,1379415271,1379413809,1379413717,1379413651,1379413650,1379413649,1379413648,1379413593,1379413592,1379413591,1379413590,1379413559,1379413558,1379413557,1379413556,1379413555,1379413414,1379413412,1379413410,1379413408,1379413310,1379413309) Found this number of photos: 23 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379413309 begin to download photo : 1379413414 begin to download photo : 1379413559 begin to download photo : 1379413648 begin to download photo : 1379413809 download finish for photo 1379413559 begin to download photo : 1379413590 download finish for photo 1379413648 begin to download photo : 1379413649 download finish for photo 1379413414 begin to download photo : 1379413555 download finish for photo 1379413809 begin to download photo : 1379415271 download finish for photo 1379413309 begin to download photo : 1379413310 download finish for photo 1379415271 begin to download photo : 1379418345 download finish for photo 1379413590 begin to download photo : 1379413591 download finish for photo 1379413310 begin to download photo : 1379413408 download finish for photo 1379413555 begin to download photo : 1379413556 download finish for photo 1379413649 begin to download photo : 1379413650 download finish for photo 1379418345 download finish for photo 1379413408 begin to download photo : 1379413410 download finish for photo 1379413556 begin to download photo : 1379413557 download finish for photo 1379413591 begin to download photo : 1379413592 download finish for photo 1379413650 begin to download photo : 1379413651 download finish for photo 1379413410 begin to download photo : 1379413412 download finish for photo 1379413592 begin to download photo : 1379413593 download finish for photo 1379413557 begin to download photo : 1379413558 download finish for photo 1379413651 begin to download photo : 1379413717 download finish for photo 1379413412 download finish for photo 1379413593 download finish for photo 1379413717 download finish for photo 1379413558 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette262294451756266929/ imagette262294461756266929/ imagette262294501756266929/ imagette262294521756266929/ imagette262294541756266929/ imagette262294551756266929/ imagette262294571756266929/ imagette262294491756266930/ imagette262294511756266930/ imagette262294531756266930/ length of list_filenames : 23 ; length of list_pids : 23 ; length of list_args : 23 results_Auto_P26229406_27-08-2025_05_55_29.pdf 26229445 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=26229445 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294451756266929 26229446 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=26229446 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294461756266929 26229450 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=26229450 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294501756266929 26229452 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=26229452 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294521756266929 26229454 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=26229454 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294541756266929 26229455 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=26229455 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294551756266929 26229457 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=26229457 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294571756266929 26229449 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=26229449 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294491756266930 26229451 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=26229451 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294511756266930 26229453 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=26229453 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262294531756266930 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26229406 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26229458,26229459,26229460,26229461,26229462,26229463,26229464,26229465,26229466,26229467,26229468,26229469?tags=metal,kraft,environnement,Carton_gris,cartonnette,Teint_Dans_La_Masse,mal_croppe,Carton_brun,plastique,flou,papier,autre_refus your option no_mail is active, we will not send the real mail to your client args[1379418345] : ('0.0',) no score found for photo 1379418345 We are sending mail with results at report@fotonower.com args[1379415271] : ('0.0',) no score found for photo 1379415271 We are sending mail with results at report@fotonower.com args[1379413809] : ('0.0',) no score found for photo 1379413809 We are sending mail with results at report@fotonower.com args[1379413717] : ('0.0',) no score found for photo 1379413717 We are sending mail with results at report@fotonower.com args[1379413651] : ('0.0',) no score found for photo 1379413651 We are sending mail with results at report@fotonower.com args[1379413650] : ('0.0',) no score found for photo 1379413650 We are sending mail with results at report@fotonower.com args[1379413649] : ('0.0',) no score found for photo 1379413649 We are sending mail with results at report@fotonower.com args[1379413648] : ('0.0',) no score found for photo 1379413648 We are sending mail with results at report@fotonower.com args[1379413593] : ('0.0',) no score found for photo 1379413593 We are sending mail with results at report@fotonower.com args[1379413592] : ('0.0',) no score found for photo 1379413592 We are sending mail with results at report@fotonower.com args[1379413591] : ('0.0',) no score found for photo 1379413591 We are sending mail with results at report@fotonower.com args[1379413590] : ('0.0',) no score found for photo 1379413590 We are sending mail with results at report@fotonower.com args[1379413559] : ('0.0',) no score found for photo 1379413559 We are sending mail with results at report@fotonower.com args[1379413558] : ('0.0',) no score found for photo 1379413558 We are sending mail with results at report@fotonower.com args[1379413557] : ('0.0',) no score found for photo 1379413557 We are sending mail with results at report@fotonower.com args[1379413556] : ('0.0',) no score found for photo 1379413556 We are sending mail with results at report@fotonower.com args[1379413555] : ('0.0',) no score found for photo 1379413555 We are sending mail with results at report@fotonower.com args[1379413414] : ('0.0',) no score found for photo 1379413414 We are sending mail with results at report@fotonower.com args[1379413412] : ('0.0',) no score found for photo 1379413412 We are sending mail with results at report@fotonower.com args[1379413410] : ('0.0',) no score found for photo 1379413410 We are sending mail with results at report@fotonower.com args[1379413408] : ('0.0',) no score found for photo 1379413408 We are sending mail with results at report@fotonower.com args[1379413310] : ('0.0',) no score found for photo 1379413310 We are sending mail with results at report@fotonower.com args[1379413309] : ('0.0',) no score found for photo 1379413309 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=26229406 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_P26229406_27-08-2025_05_55_29.pdf results_Auto_P26229406_27-08-2025_05_55_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229406_27-08-2025_05_55_29.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','26229406','results_Auto_P26229406_27-08-2025_05_55_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229406_27-08-2025_05_55_29.pdf','pdf','','0.17','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26229406]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] map_info['map_portfolio_photo'] : {26229406: [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309]} final : False mtd_id 4302 list_pids : [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] 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, '3608294') ('4302', '26229406', '1379418345', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379415271', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413809', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413717', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413651', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413650', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413649', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413648', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413593', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413592', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413591', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413590', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413559', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413558', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413557', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413556', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413555', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413414', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413412', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413410', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413408', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413310', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413309', None, None, None, None, None, '3608294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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', '26229406', '1379418345', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379415271', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413809', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413717', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413651', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413650', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413649', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413648', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413593', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413592', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413591', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413590', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413559', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413558', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413557', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413556', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413555', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413414', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413412', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413410', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413408', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413310', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413309', None, None, None, None, None, '3608294')] time used for this insertion : 0.14964771270751953 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.6124820709228516 time spend to save output : 0.1500840187072754 total time spend for step 4 : 2.762566089630127 step5:split_time_score Wed Aug 27 05:55:31 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 : ['26229406'] 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 : [('26229406',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26229406) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379413809: {'path': 'temp/1756266929_3329904_1379413809_85b4dba94b4393804c91779e6e0f2847_99342859.jpg', 'extension': 'jpg'}, 1379415271: {'path': 'temp/1756266929_3329904_1379415271_4233b64d89d32c75f2a830da8e6e29fe_56674716.jpg', 'extension': 'jpg'}, 1379418345: {'path': 'temp/1756266929_3329904_1379418345_8d4fa8b26ad57cea7245c4626acd807b_38890696.jpg', 'extension': 'jpg'}, 1379413309: {'path': 'temp/1756266929_3329904_1379413309_9b4b4c56e67f276cb8c922f3d22dfc12_42623127.jpg', 'extension': 'jpg'}, 1379413310: {'path': 'temp/1756266929_3329904_1379413310_31bec723a79d5b89b87b1e95a94d5210_25904686.jpg', 'extension': 'jpg'}, 1379413408: {'path': 'temp/1756266929_3329904_1379413408_acf191920f56acfe1785d830f25bab96_23054070.jpg', 'extension': 'jpg'}, 1379413410: {'path': 'temp/1756266929_3329904_1379413410_f2c32cf9de5404bf6abb0364f575bd4e_54336829.jpg', 'extension': 'jpg'}, 1379413412: {'path': 'temp/1756266929_3329904_1379413412_5cd610c9a1eca4f15c3ed296fe48d8be_45668283.jpg', 'extension': 'jpg'}, 1379413559: {'path': 'temp/1756266929_3329904_1379413559_7b9d50ffa61fde2be7311d0f76327f5c_21714246.jpg', 'extension': 'jpg'}, 1379413590: {'path': 'temp/1756266929_3329904_1379413590_313d9a5d0607d40c6d9c08473cbe104e_32219297.jpg', 'extension': 'jpg'}, 1379413591: {'path': 'temp/1756266929_3329904_1379413591_16bb59e0f480425791f30860f9c52843_73013531.jpg', 'extension': 'jpg'}, 1379413592: {'path': 'temp/1756266929_3329904_1379413592_8100fdb70c535d36583d82cae8dc8f13_42591413.jpg', 'extension': 'jpg'}, 1379413593: {'path': 'temp/1756266929_3329904_1379413593_94ec2f1e9eb885311812d8aa04d60bab_5329841.jpg', 'extension': 'jpg'}, 1379413648: {'path': 'temp/1756266929_3329904_1379413648_79fa70d3f9dc5f237535719147f7dad7_76526161.jpg', 'extension': 'jpg'}, 1379413649: {'path': 'temp/1756266929_3329904_1379413649_4d61186a005ece8ac6caa26f9b26f3a4_42028007.jpg', 'extension': 'jpg'}, 1379413650: {'path': 'temp/1756266929_3329904_1379413650_e0cb8d019d8eaa5c6d970eeb869f0ad4_62889538.jpg', 'extension': 'jpg'}, 1379413651: {'path': 'temp/1756266929_3329904_1379413651_2d6d50e01bd854fa92d2eeb2a6cd436e_19381615.jpg', 'extension': 'jpg'}, 1379413717: {'path': 'temp/1756266929_3329904_1379413717_85b4dba94b4393804c91779e6e0f2847_60171466.jpg', 'extension': 'jpg'}, 1379413414: {'path': 'temp/1756266929_3329904_1379413414_4ee195dbe93a051240a279eb18c0d33b_78447634.jpg', 'extension': 'jpg'}, 1379413555: {'path': 'temp/1756266929_3329904_1379413555_82667235a453bf65138b65dc887b261c_8598989.jpg', 'extension': 'jpg'}, 1379413556: {'path': 'temp/1756266929_3329904_1379413556_ed48af5048bc51accace864dc0fd1c20_6453315.jpg', 'extension': 'jpg'}, 1379413557: {'path': 'temp/1756266929_3329904_1379413557_c69d62c65977c4552c788648211a2b98_90832868.jpg', 'extension': 'jpg'}, 1379413558: {'path': 'temp/1756266929_3329904_1379413558_2a0379d54daa96e3154848aadae217bf_28473457.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 = 26229406; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26229406 group by h (('11', 23),) 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=26229406 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 (26229406) 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 (26229406) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26229406 Nombre de photos uploadées : 23 / 23040 (0%) 26082025 26229406 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 26082025 26229406 Nombre de photos taguées (volume) : 0 / 23 (0%) [{'photo_id': 1379413310, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/31bec723a79d5b89b87b1e95a94d5210_25904686.jpg', 'username': None, 'uploaded_at': 1756200672, 'text': 'image_26082025_11_30_04_10166.jpg'}, {'photo_id': 1379413309, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/9b4b4c56e67f276cb8c922f3d22dfc12_42623127.jpg', 'username': None, 'uploaded_at': 1756200672, 'text': 'image_26082025_11_30_44_10138.jpg'}, {'photo_id': 1379413414, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/4ee195dbe93a051240a279eb18c0d33b_78447634.jpg', 'username': None, 'uploaded_at': 1756200733, 'text': 'image_26082025_11_30_54_10135.jpg'}, {'photo_id': 1379413412, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/5cd610c9a1eca4f15c3ed296fe48d8be_45668283.jpg', 'username': None, 'uploaded_at': 1756200733, 'text': 'image_26082025_11_31_03_9132.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001506805419921875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26229406, '2025-08-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-26' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2174217,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.27533912658691406 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= 2174217 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26218438, 'dashboard_result_id': 14336145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218438_27-08-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218450, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26218950, 'dashboard_result_id': 14336146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218950_27-08-2025_05_35_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218965, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26219900, 'dashboard_result_id': 14336147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219900_27-08-2025_05_36_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219914, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26219967, 'dashboard_result_id': 14336148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219967_27-08-2025_05_36_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219984, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26220103, 'dashboard_result_id': 14336149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220103_27-08-2025_05_37_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26220140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220147, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26220824, 'dashboard_result_id': 14336150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220824_27-08-2025_05_37_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220841, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26220951, 'dashboard_result_id': 14336151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220951_27-08-2025_05_38_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220967, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26221110, 'dashboard_result_id': 14336152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221110_27-08-2025_05_39_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221154, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26221445, 'dashboard_result_id': 14336153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221445_27-08-2025_05_39_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26221450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221461, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26221595, 'dashboard_result_id': 14336154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221595_27-08-2025_05_41_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221612, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26221773, 'dashboard_result_id': 14336155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221773_27-08-2025_05_41_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221790, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26221991, 'dashboard_result_id': 14336156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221991_27-08-2025_05_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222015, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26222507, 'dashboard_result_id': 14336157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222507_27-08-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222520, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26222617, 'dashboard_result_id': 14336158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222617_27-08-2025_05_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222632, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26222730, 'dashboard_result_id': 14336159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222730_27-08-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222746, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26222815, 'dashboard_result_id': 14336160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222815_27-08-2025_05_45_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222835, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26223041, 'dashboard_result_id': 14336161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223041_27-08-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223064, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26223181, 'dashboard_result_id': 14336162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223181_27-08-2025_05_46_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223204, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26223332, 'dashboard_result_id': 14336163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223332_27-08-2025_05_46_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223345, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26224384, 'dashboard_result_id': 14336164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224384_27-08-2025_05_48_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26224388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224399, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26224665, 'dashboard_result_id': 14336165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224665_27-08-2025_05_48_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26224715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224721, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26225626, 'dashboard_result_id': 14336166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_27-08-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225653, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26225964, 'dashboard_result_id': 14336167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225964_27-08-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225991, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26225966, 'dashboard_result_id': 14336168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225966_27-08-2025_05_50_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26226032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226035, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26226691, 'dashboard_result_id': 14336169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226691_27-08-2025_05_51_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26226701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226712, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26227063, 'dashboard_result_id': 14336170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227063_27-08-2025_05_52_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227095, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26227418, 'dashboard_result_id': 14336171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227418_27-08-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227491, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26227847, 'dashboard_result_id': 14336172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227847_27-08-2025_05_53_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26227869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227880, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26228669, 'dashboard_result_id': 14336173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228669_27-08-2025_05_53_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26228689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26228690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26228691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26228692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26228693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26228694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26228695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26228696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26228697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26228698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26228699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26228700, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26229111, 'dashboard_result_id': 14336174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229111_27-08-2025_05_54_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26229122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26229123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26229124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26229125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26229126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26229127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26229128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26229129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26229130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26229131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26229132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26229133, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26229406, 'dashboard_result_id': 14336175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229406_26-08-2025_11_48_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26229445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26229446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26229448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26229449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26229450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26229451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26229452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26229453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26229454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26229455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26229456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26229457, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26230013, 'dashboard_result_id': 14336176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230013_26-08-2025_12_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26230025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26230026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26230027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26230028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26230029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26230030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26230031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26230032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26230033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26230034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26230035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26230036, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26230264, 'dashboard_result_id': 14336177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230264_26-08-2025_20_46_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26230302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26230303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26230304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26230305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26230306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26230307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26230308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26230309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26230310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26230311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26230312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26230313, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26232756, 'dashboard_result_id': 14336178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232756_26-08-2025_14_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26232757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26232758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26232759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26232760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26232761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26232762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26232763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26232764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26232765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26232766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26232767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26232768, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26233183, 'dashboard_result_id': 14336179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233183_26-08-2025_14_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26233197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233208, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26233295, 'dashboard_result_id': 14336180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233295_26-08-2025_15_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26233314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233325, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26233506, 'dashboard_result_id': 14336181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233506_26-08-2025_15_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26233524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233533, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26233741, 'dashboard_result_id': 14336182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233741_26-08-2025_15_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26233752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233759, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26233942, 'dashboard_result_id': 14336183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233942_26-08-2025_15_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26233984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26233987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233995, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26234173, 'dashboard_result_id': 14336184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234173_26-08-2025_16_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26234194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26234195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26234196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26234197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26234198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26234199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26234200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26234201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26234202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26234203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26234204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26234205, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26234552, 'dashboard_result_id': 14336185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234552_26-08-2025_16_18_56.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26234578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26234579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26234580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26234581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26234583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26234584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26234585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26234586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26234587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26234588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26234589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26234590, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26234875, 'dashboard_result_id': 14336186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234875_26-08-2025_16_33_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26234923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26234924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26234925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26234926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26234927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26234928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26234929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26234930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26234931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26234932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26234933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26234934, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26235395, 'dashboard_result_id': 14336187, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235395_26-08-2025_16_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26235412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26235413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26235414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26235415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26235416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26235417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26235418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26235419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26235420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26235421, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26235422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26235423, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26235841, 'dashboard_result_id': 14336188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235841_26-08-2025_17_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26235870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26235871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26235872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26235873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26235874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26235875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26235876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26235877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26235878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26235879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26235880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26235881, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26236338, 'dashboard_result_id': 14336189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236338_26-08-2025_17_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26236359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26236360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26236361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26236362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26236363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26236364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26236365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26236366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26236367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26236368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26236369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26236370, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26236770, 'dashboard_result_id': 14336190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236770_26-08-2025_18_04_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26236792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26236793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26236794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26236795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26236796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26236797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26236798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26236799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26236800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26236801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26236802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26236803, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26237675, 'dashboard_result_id': 14336191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237675_26-08-2025_18_28_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26237716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26237717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26237718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26237719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26237720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26237721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26237722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26237723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26237724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26237725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26237726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26237727, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26238089, 'dashboard_result_id': 14336192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238089_26-08-2025_18_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26238099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26238100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26238101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26238102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26238103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26238104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26238105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26238106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26238107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26238108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26238109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26238110, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26238197, 'dashboard_result_id': 14336193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238197_26-08-2025_18_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26238220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26238221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26238222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26238223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26238224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26238225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26238226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26238227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26238228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26238229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26238230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26238231, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26238551, 'dashboard_result_id': 14336194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238551_26-08-2025_19_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26238557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26238558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26238559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26238560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26238561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26238562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26238563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26238564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26238565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26238566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26238567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26238568, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26239032, 'dashboard_result_id': 14336195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239032_26-08-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26239083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26239084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26239085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26239086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26239087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26239088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26239089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26239090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26239091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26239092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26239093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26239094, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26239556, 'dashboard_result_id': 14336196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239556_26-08-2025_19_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26239568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26239569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26239570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26239571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26239572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26239573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26239574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26239575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26239576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26239577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26239578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26239579, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26240143, 'dashboard_result_id': 14336197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240143_26-08-2025_19_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26240204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26240205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26240206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26240207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26240208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26240209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26240210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26240211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26240212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26240213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26240214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26240215, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26240554, 'dashboard_result_id': 14336198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240554_26-08-2025_20_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26240583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26240584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26240585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26240586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26240587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26240588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26240589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26240590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26240591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26240592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26240593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26240594, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26240875, 'dashboard_result_id': 14336199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240875_26-08-2025_20_21_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26240919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26240920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26240921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26240922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26240923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26240924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26240925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26240926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26240927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26240928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26240929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26240931, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26241374, 'dashboard_result_id': 14336200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241374_26-08-2025_20_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26241419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26241420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26241421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26241422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26241423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26241424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26241425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26241426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26241427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26241428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26241429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26241430, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26241668, 'dashboard_result_id': 14336201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241668_26-08-2025_21_09_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26241696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26241697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26241698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26241699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26241700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26241701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26241702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26241703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26241704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26241705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26241706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26241707, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26242630, 'dashboard_result_id': 14336202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26242630_26-08-2025_21_20_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26242677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26242678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26242679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26242680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26242681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26242682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26242683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26242684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26242685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26242686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26242687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26242688, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26243011, 'dashboard_result_id': 14336203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243011_26-08-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26243014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26243015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26243016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26243017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26243018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26243019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26243020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26243021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26243022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26243023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26243024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26243025, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26243305, 'dashboard_result_id': 14336204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243305_26-08-2025_21_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26243306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26243307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26243308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26243309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26243310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26243311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26243312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26243313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26243314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26243315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26243316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26243317, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26243679, 'dashboard_result_id': 14336205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243679_26-08-2025_22_10_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26243702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26243703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26243704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26243705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26243706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26243707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26243708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26243709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26243710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26243711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26243712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26243713, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26245652, 'dashboard_result_id': 14336206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245652_26-08-2025_23_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26245657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26245658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26245659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26245660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26245661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26245662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26245663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26245664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26245665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26245666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26245667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26245668, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26245879, 'dashboard_result_id': 14336207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245879_26-08-2025_23_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26245900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26245901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26245902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26245903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26245904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26245905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26245906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26245907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26245908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26245909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26245910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26245911, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2188401, 'mtr_portfolio_id': 26246253, 'dashboard_result_id': 14336208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26246253_27-08-2025_02_50_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26246269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26246270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26246271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26246272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26246273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26246274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26246275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26246276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26246277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26246278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26246279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26246280, '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 = 26218438 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': 3608235, 'mtr_portfolio_id': 26218438, 'created_at': datetime.datetime(2025, 8, 27, 5, 34, 30), 'result': '0.6016560962419207', 'result_long': None, 'result_double': None}] Qualite : 0.6016560962419207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26218438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218438_27-08-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218438_27-08-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218450, 'pht': 3726}}" where mtr_portfolio_id = 26218438 and dashboard_run_id = 2188401 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`=26218438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336145, 0.6016560962419207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218438_27-08-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218450, '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 = 26218950 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': 3608237, 'mtr_portfolio_id': 26218950, 'created_at': datetime.datetime(2025, 8, 27, 5, 35, 29), 'result': '0.21760363156191392', 'result_long': None, 'result_double': None}] Qualite : 0.21760363156191392 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26218950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218950_27-08-2025_05_35_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218950_27-08-2025_05_35_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218965, 'pht': 3726}}" where mtr_portfolio_id = 26218950 and dashboard_run_id = 2188401 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`=26218950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336146, 0.21760363156191392, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218950_27-08-2025_05_35_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218965, '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 = 26219900 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': 3608239, 'mtr_portfolio_id': 26219900, 'created_at': datetime.datetime(2025, 8, 27, 5, 36), 'result': '0.517183338999927', 'result_long': None, 'result_double': None}] Qualite : 0.517183338999927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26219900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219900_27-08-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26219900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219900_27-08-2025_05_36_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219914, 'pht': 3726}}" where mtr_portfolio_id = 26219900 and dashboard_run_id = 2188401 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`=26219900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336147, 0.517183338999927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219900_27-08-2025_05_36_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219914, '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 = 26219967 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': 3608241, 'mtr_portfolio_id': 26219967, 'created_at': datetime.datetime(2025, 8, 27, 5, 36, 27), 'result': '0.4114008851919929', 'result_long': None, 'result_double': None}] Qualite : 0.4114008851919929 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26219967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219967_27-08-2025_05_36_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26219967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219967_27-08-2025_05_36_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219984, 'pht': 3726}}" where mtr_portfolio_id = 26219967 and dashboard_run_id = 2188401 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`=26219967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336148, 0.4114008851919929, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219967_27-08-2025_05_36_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219984, '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 = 26220103 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': 3608243, 'mtr_portfolio_id': 26220103, 'created_at': datetime.datetime(2025, 8, 27, 5, 37, 28), 'result': '0.4583006977277458', 'result_long': None, 'result_double': None}] Qualite : 0.4583006977277458 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26220103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220103_27-08-2025_05_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220103_27-08-2025_05_37_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26220140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220147, 'pht': 3726}}" where mtr_portfolio_id = 26220103 and dashboard_run_id = 2188401 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`=26220103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336149, 0.4583006977277458, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220103_27-08-2025_05_37_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26220140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220147, '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 = 26220824 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': 3608245, 'mtr_portfolio_id': 26220824, 'created_at': datetime.datetime(2025, 8, 27, 5, 37, 59), 'result': '0.16570742467521155', 'result_long': None, 'result_double': None}] Qualite : 0.16570742467521155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26220824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220824_27-08-2025_05_37_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220824 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220824_27-08-2025_05_37_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220841, 'pht': 3726}}" where mtr_portfolio_id = 26220824 and dashboard_run_id = 2188401 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`=26220824 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336150, 0.16570742467521155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220824_27-08-2025_05_37_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220841, '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 = 26220951 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': 3608247, 'mtr_portfolio_id': 26220951, 'created_at': datetime.datetime(2025, 8, 27, 5, 38, 28), 'result': '0.43307033993578664', 'result_long': None, 'result_double': None}] Qualite : 0.43307033993578664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26220951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220951_27-08-2025_05_38_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220951_27-08-2025_05_38_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220967, 'pht': 3726}}" where mtr_portfolio_id = 26220951 and dashboard_run_id = 2188401 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`=26220951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336151, 0.43307033993578664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220951_27-08-2025_05_38_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220967, '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 = 26221110 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': 3608249, 'mtr_portfolio_id': 26221110, 'created_at': datetime.datetime(2025, 8, 27, 5, 39, 28), 'result': '0.5540396935807719', 'result_long': None, 'result_double': None}] Qualite : 0.5540396935807719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26221110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221110_27-08-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221110_27-08-2025_05_39_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221154, 'pht': 3726}}" where mtr_portfolio_id = 26221110 and dashboard_run_id = 2188401 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`=26221110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336152, 0.5540396935807719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221110_27-08-2025_05_39_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221154, '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 = 26221445 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': 3608251, 'mtr_portfolio_id': 26221445, 'created_at': datetime.datetime(2025, 8, 27, 5, 39, 58), 'result': '0.5382691496786769', 'result_long': None, 'result_double': None}] Qualite : 0.5382691496786769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26221445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221445_27-08-2025_05_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221445 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221445_27-08-2025_05_39_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26221450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221461, 'pht': 3726}}" where mtr_portfolio_id = 26221445 and dashboard_run_id = 2188401 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`=26221445 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336153, 0.5382691496786769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221445_27-08-2025_05_39_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26221450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221461, '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 = 26221595 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': 3608253, 'mtr_portfolio_id': 26221595, 'created_at': datetime.datetime(2025, 8, 27, 5, 41, 1), 'result': '0.3015001889506959', 'result_long': None, 'result_double': None}] Qualite : 0.3015001889506959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26221595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221595_27-08-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221595_27-08-2025_05_41_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221612, 'pht': 3726}}" where mtr_portfolio_id = 26221595 and dashboard_run_id = 2188401 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`=26221595 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336154, 0.3015001889506959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221595_27-08-2025_05_41_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221612, '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 = 26221773 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': 3608255, 'mtr_portfolio_id': 26221773, 'created_at': datetime.datetime(2025, 8, 27, 5, 41, 29), 'result': '0.4431411914996986', 'result_long': None, 'result_double': None}] Qualite : 0.4431411914996986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26221773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221773_27-08-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221773_27-08-2025_05_41_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221790, 'pht': 3726}}" where mtr_portfolio_id = 26221773 and dashboard_run_id = 2188401 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`=26221773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336155, 0.4431411914996986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221773_27-08-2025_05_41_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221790, '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 = 26221991 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 = 26221991 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 = 26221991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221991 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 = 26221991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3608257, 'mtr_portfolio_id': 26221991, 'created_at': datetime.datetime(2025, 8, 27, 5, 42), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26221991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221991_27-08-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221991_27-08-2025_05_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222015, 'pht': 3726}}" where mtr_portfolio_id = 26221991 and dashboard_run_id = 2188401 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`=26221991 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336156, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221991_27-08-2025_05_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222015, '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 = 26222507 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': 3608259, 'mtr_portfolio_id': 26222507, 'created_at': datetime.datetime(2025, 8, 27, 5, 42, 30), 'result': '0.5918237785826872', 'result_long': None, 'result_double': None}] Qualite : 0.5918237785826872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26222507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222507_27-08-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222507_27-08-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222520, 'pht': 3726}}" where mtr_portfolio_id = 26222507 and dashboard_run_id = 2188401 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`=26222507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336157, 0.5918237785826872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222507_27-08-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222520, '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 = 26222617 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': 3608261, 'mtr_portfolio_id': 26222617, 'created_at': datetime.datetime(2025, 8, 27, 5, 43, 29), 'result': '0.2892118105982867', 'result_long': None, 'result_double': None}] Qualite : 0.2892118105982867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26222617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222617_27-08-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222617 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222617_27-08-2025_05_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222632, 'pht': 3726}}" where mtr_portfolio_id = 26222617 and dashboard_run_id = 2188401 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`=26222617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336158, 0.2892118105982867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222617_27-08-2025_05_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222632, '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 = 26222730 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': 3608263, 'mtr_portfolio_id': 26222730, 'created_at': datetime.datetime(2025, 8, 27, 5, 43, 59), 'result': '0.2715030881437886', 'result_long': None, 'result_double': None}] Qualite : 0.2715030881437886 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26222730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222730_27-08-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222730 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222730_27-08-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222746, 'pht': 3726}}" where mtr_portfolio_id = 26222730 and dashboard_run_id = 2188401 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`=26222730 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336159, 0.2715030881437886, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222730_27-08-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222746, '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 = 26222815 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': 3608265, 'mtr_portfolio_id': 26222815, 'created_at': datetime.datetime(2025, 8, 27, 5, 44, 58), 'result': '0.2978838563666507', 'result_long': None, 'result_double': None}] Qualite : 0.2978838563666507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26222815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222815_27-08-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222815_27-08-2025_05_45_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222835, 'pht': 3726}}" where mtr_portfolio_id = 26222815 and dashboard_run_id = 2188401 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`=26222815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336160, 0.2978838563666507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222815_27-08-2025_05_45_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222835, '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 = 26223041 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': 3608267, 'mtr_portfolio_id': 26223041, 'created_at': datetime.datetime(2025, 8, 27, 5, 45, 28), 'result': '0.3839509071282369', 'result_long': None, 'result_double': None}] Qualite : 0.3839509071282369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26223041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223041_27-08-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223041_27-08-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223064, 'pht': 3726}}" where mtr_portfolio_id = 26223041 and dashboard_run_id = 2188401 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`=26223041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336161, 0.3839509071282369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223041_27-08-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223064, '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 = 26223181 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': 3608269, 'mtr_portfolio_id': 26223181, 'created_at': datetime.datetime(2025, 8, 27, 5, 45, 59), 'result': '0.3921089596722168', 'result_long': None, 'result_double': None}] Qualite : 0.3921089596722168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26223181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223181_27-08-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223181 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223181_27-08-2025_05_46_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223204, 'pht': 3726}}" where mtr_portfolio_id = 26223181 and dashboard_run_id = 2188401 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`=26223181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336162, 0.3921089596722168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223181_27-08-2025_05_46_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223204, '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 = 26223332 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': 3608271, 'mtr_portfolio_id': 26223332, 'created_at': datetime.datetime(2025, 8, 27, 5, 46, 30), 'result': '0.34531633266307377', 'result_long': None, 'result_double': None}] Qualite : 0.34531633266307377 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26223332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223332_27-08-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223332 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223332_27-08-2025_05_46_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223345, 'pht': 3726}}" where mtr_portfolio_id = 26223332 and dashboard_run_id = 2188401 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`=26223332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336163, 0.34531633266307377, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223332_27-08-2025_05_46_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223345, '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 = 26224384 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': 3608273, 'mtr_portfolio_id': 26224384, 'created_at': datetime.datetime(2025, 8, 27, 5, 48), 'result': '0.45256466102902143', 'result_long': None, 'result_double': None}] Qualite : 0.45256466102902143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26224384 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224384_27-08-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26224384 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224384_27-08-2025_05_48_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26224388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224399, 'pht': 3726}}" where mtr_portfolio_id = 26224384 and dashboard_run_id = 2188401 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`=26224384 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336164, 0.45256466102902143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224384_27-08-2025_05_48_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26224388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224399, '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 = 26224665 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': 3608275, 'mtr_portfolio_id': 26224665, 'created_at': datetime.datetime(2025, 8, 27, 5, 48, 30), 'result': '0.4625986066017756', 'result_long': None, 'result_double': None}] Qualite : 0.4625986066017756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26224665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224665_27-08-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26224665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224665_27-08-2025_05_48_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26224715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224721, 'pht': 3726}}" where mtr_portfolio_id = 26224665 and dashboard_run_id = 2188401 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`=26224665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336165, 0.4625986066017756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224665_27-08-2025_05_48_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26224715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224721, '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 = 26225626 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': 3608277, 'mtr_portfolio_id': 26225626, 'created_at': datetime.datetime(2025, 8, 27, 5, 49, 27), 'result': '0.3604361218042845', 'result_long': None, 'result_double': None}] Qualite : 0.3604361218042845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26225626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_27-08-2025_05_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_27-08-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225653, 'pht': 3726}}" where mtr_portfolio_id = 26225626 and dashboard_run_id = 2188401 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`=26225626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336166, 0.3604361218042845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_27-08-2025_05_49_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225653, '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 = 26225964 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': 3608279, 'mtr_portfolio_id': 26225964, 'created_at': datetime.datetime(2025, 8, 27, 5, 49, 59), 'result': '0.4194912112352062', 'result_long': None, 'result_double': None}] Qualite : 0.4194912112352062 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26225964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225964_27-08-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225964_27-08-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225991, 'pht': 3726}}" where mtr_portfolio_id = 26225964 and dashboard_run_id = 2188401 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`=26225964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336167, 0.4194912112352062, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225964_27-08-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225991, '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 = 26225966 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': 3608281, 'mtr_portfolio_id': 26225966, 'created_at': datetime.datetime(2025, 8, 27, 5, 50, 31), 'result': '0.5911614178400456', 'result_long': None, 'result_double': None}] Qualite : 0.5911614178400456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26225966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225966_27-08-2025_05_50_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225966 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225966_27-08-2025_05_50_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26226032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226035, 'pht': 3726}}" where mtr_portfolio_id = 26225966 and dashboard_run_id = 2188401 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`=26225966 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336168, 0.5911614178400456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225966_27-08-2025_05_50_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26226032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226035, '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 = 26226691 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': 3608283, 'mtr_portfolio_id': 26226691, 'created_at': datetime.datetime(2025, 8, 27, 5, 51, 30), 'result': '0.45975536054352234', 'result_long': None, 'result_double': None}] Qualite : 0.45975536054352234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26226691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226691_27-08-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226691_27-08-2025_05_51_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26226701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226712, 'pht': 3726}}" where mtr_portfolio_id = 26226691 and dashboard_run_id = 2188401 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`=26226691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336169, 0.45975536054352234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226691_27-08-2025_05_51_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26226701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226712, '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 = 26227063 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': 3608285, 'mtr_portfolio_id': 26227063, 'created_at': datetime.datetime(2025, 8, 27, 5, 51, 57), 'result': '0.44090158347157277', 'result_long': None, 'result_double': None}] Qualite : 0.44090158347157277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26227063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227063_27-08-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227063_27-08-2025_05_52_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227095, 'pht': 3726}}" where mtr_portfolio_id = 26227063 and dashboard_run_id = 2188401 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`=26227063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336170, 0.44090158347157277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227063_27-08-2025_05_52_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227095, '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 = 26227418 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': 3608287, 'mtr_portfolio_id': 26227418, 'created_at': datetime.datetime(2025, 8, 27, 5, 52, 30), 'result': '0.4926317802808382', 'result_long': None, 'result_double': None}] Qualite : 0.4926317802808382 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26227418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227418_27-08-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227418_27-08-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227491, 'pht': 3726}}" where mtr_portfolio_id = 26227418 and dashboard_run_id = 2188401 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`=26227418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336171, 0.4926317802808382, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227418_27-08-2025_05_52_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227491, '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 = 26227847 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': 3608289, 'mtr_portfolio_id': 26227847, 'created_at': datetime.datetime(2025, 8, 27, 5, 53, 28), 'result': '0.34878906515120234', 'result_long': None, 'result_double': None}] Qualite : 0.34878906515120234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26227847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227847_27-08-2025_05_53_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227847_27-08-2025_05_53_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26227869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227880, 'pht': 3726}}" where mtr_portfolio_id = 26227847 and dashboard_run_id = 2188401 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`=26227847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14336172, 0.34878906515120234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227847_27-08-2025_05_53_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26227869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227880, '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 = 26228669 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 = 26228669 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 = 26228669 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26228669 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 = 26228669 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 = 26228669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228669_27-08-2025_05_53_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228669_27-08-2025_05_53_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26228689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26228690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26228691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26228692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26228693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26228694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26228695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26228696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26228697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26228698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26228699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26228700, 'pht': 3726}}" where mtr_portfolio_id = 26228669 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26229111 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 = 26229111 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 = 26229111 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26229111 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 = 26229111 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 = 26229111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229111_27-08-2025_05_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229111 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229111_27-08-2025_05_54_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26229122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26229123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26229124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26229125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26229126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26229127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26229128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26229129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26229130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26229131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26229132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26229133, 'pht': 3726}}" where mtr_portfolio_id = 26229111 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26229406 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 = 26229406 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 = 26229406 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26229406 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 = 26229406 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 = 26229406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229406_27-08-2025_05_55_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229406_27-08-2025_05_55_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26229445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26229446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26229448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26229449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26229450, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26229451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26229452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26229453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26229454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26229455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26229456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26229457, 'pht': 3726}}" where mtr_portfolio_id = 26229406 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26230013 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 = 26230013 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 = 26230013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26230013 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 = 26230013 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 = 26230013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230013_26-08-2025_12_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26230013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230013_26-08-2025_12_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26230025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26230026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26230027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26230028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26230029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26230030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26230031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26230032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26230033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26230034, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26230035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26230036, 'pht': 3726}}" where mtr_portfolio_id = 26230013 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26230264 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 = 26230264 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 = 26230264 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26230264 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 = 26230264 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 = 26230264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230264_26-08-2025_20_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26230264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26230264_26-08-2025_20_46_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26230302, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26230303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26230304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26230305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26230306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26230307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26230308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26230309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26230310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26230311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26230312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26230313, 'pht': 3726}}" where mtr_portfolio_id = 26230264 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26232756 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 = 26232756 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 = 26232756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26232756 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 = 26232756 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 = 26232756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232756_26-08-2025_14_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232756_26-08-2025_14_35_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26232757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26232758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26232759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26232760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26232761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26232762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26232763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26232764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26232765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26232766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26232767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26232768, 'pht': 3726}}" where mtr_portfolio_id = 26232756 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233183 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 = 26233183 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 = 26233183 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233183 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 = 26233183 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 = 26233183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233183_26-08-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233183 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233183_26-08-2025_14_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26233197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233208, 'pht': 3726}}" where mtr_portfolio_id = 26233183 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233295 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 = 26233295 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 = 26233295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233295 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 = 26233295 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 = 26233295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233295_26-08-2025_15_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233295_26-08-2025_15_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26233314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233316, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233324, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233325, 'pht': 3726}}" where mtr_portfolio_id = 26233295 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233506 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 = 26233506 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 = 26233506 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233506 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 = 26233506 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 = 26233506 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233506_26-08-2025_15_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233506 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233506_26-08-2025_15_18_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26233524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233531, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233532, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233533, 'pht': 3726}}" where mtr_portfolio_id = 26233506 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233741 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 = 26233741 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 = 26233741 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233741 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 = 26233741 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 = 26233741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233741_26-08-2025_15_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233741_26-08-2025_15_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26233752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26233756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233759, 'pht': 3726}}" where mtr_portfolio_id = 26233741 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233942 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 = 26233942 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 = 26233942 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26233942 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 = 26233942 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 = 26233942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233942_26-08-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233942_26-08-2025_15_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26233984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26233985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26233986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26233987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26233988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26233989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26233990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26233991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26233992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26233993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26233994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26233995, 'pht': 3726}}" where mtr_portfolio_id = 26233942 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26234173 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 = 26234173 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 = 26234173 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26234173 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 = 26234173 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 = 26234173 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234173_26-08-2025_16_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26234173 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234173_26-08-2025_16_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26234194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26234195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26234196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26234197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26234198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26234199, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26234200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26234201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26234202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26234203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26234204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26234205, 'pht': 3726}}" where mtr_portfolio_id = 26234173 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26234552 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 = 26234552 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 = 26234552 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26234552 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 = 26234552 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 = 26234552 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234552_26-08-2025_16_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26234552 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234552_26-08-2025_16_18_56.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26234578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26234579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26234580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26234581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26234583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26234584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26234585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26234586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26234587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26234588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26234589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26234590, 'pht': 3726}}" where mtr_portfolio_id = 26234552 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26234875 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 = 26234875 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 = 26234875 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26234875 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 = 26234875 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 = 26234875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234875_26-08-2025_16_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26234875 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26234875_26-08-2025_16_33_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26234923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26234924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26234925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26234926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26234927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26234928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26234929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26234930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26234931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26234932, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26234933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26234934, 'pht': 3726}}" where mtr_portfolio_id = 26234875 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26235395 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 = 26235395 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 = 26235395 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26235395 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 = 26235395 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 = 26235395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235395_26-08-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235395_26-08-2025_16_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26235412, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26235413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26235414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26235415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26235416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26235417, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26235418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26235419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26235420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26235421, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26235422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26235423, 'pht': 3726}}" where mtr_portfolio_id = 26235395 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26235841 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 = 26235841 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 = 26235841 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26235841 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 = 26235841 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 = 26235841 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235841_26-08-2025_17_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235841 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235841_26-08-2025_17_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26235870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26235871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26235872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26235873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26235874, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26235875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26235876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26235877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26235878, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26235879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26235880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26235881, 'pht': 3726}}" where mtr_portfolio_id = 26235841 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26236338 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 = 26236338 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 = 26236338 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26236338 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 = 26236338 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 = 26236338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236338_26-08-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236338 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236338_26-08-2025_17_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26236359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26236360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26236361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26236362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26236363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26236364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26236365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26236366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26236367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26236368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26236369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26236370, 'pht': 3726}}" where mtr_portfolio_id = 26236338 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26236770 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 = 26236770 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 = 26236770 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26236770 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 = 26236770 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 = 26236770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236770_26-08-2025_18_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236770_26-08-2025_18_04_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26236792, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26236793, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26236794, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26236795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26236796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26236797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26236798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26236799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26236800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26236801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26236802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26236803, 'pht': 3726}}" where mtr_portfolio_id = 26236770 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26237675 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 = 26237675 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 = 26237675 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26237675 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 = 26237675 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 = 26237675 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237675_26-08-2025_18_28_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237675 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237675_26-08-2025_18_28_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26237716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26237717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26237718, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26237719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26237720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26237721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26237722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26237723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26237724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26237725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26237726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26237727, 'pht': 3726}}" where mtr_portfolio_id = 26237675 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26238089 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 = 26238089 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 = 26238089 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26238089 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 = 26238089 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 = 26238089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238089_26-08-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26238089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238089_26-08-2025_18_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26238099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26238100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26238101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26238102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26238103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26238104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26238105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26238106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26238107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26238108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26238109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26238110, 'pht': 3726}}" where mtr_portfolio_id = 26238089 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26238197 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 = 26238197 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 = 26238197 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26238197 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 = 26238197 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 = 26238197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238197_26-08-2025_18_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26238197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238197_26-08-2025_18_48_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26238220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26238221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26238222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26238223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26238224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26238225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26238226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26238227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26238228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26238229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26238230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26238231, 'pht': 3726}}" where mtr_portfolio_id = 26238197 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26238551 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 = 26238551 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 = 26238551 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26238551 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 = 26238551 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 = 26238551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238551_26-08-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26238551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26238551_26-08-2025_19_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26238557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26238558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26238559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26238560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26238561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26238562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26238563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26238564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26238565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26238566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26238567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26238568, 'pht': 3726}}" where mtr_portfolio_id = 26238551 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26239032 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 = 26239032 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 = 26239032 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26239032 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 = 26239032 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 = 26239032 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239032_26-08-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26239032 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239032_26-08-2025_19_18_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26239083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26239084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26239085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26239086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26239087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26239088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26239089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26239090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26239091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26239092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26239093, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26239094, 'pht': 3726}}" where mtr_portfolio_id = 26239032 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26239556 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 = 26239556 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 = 26239556 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26239556 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 = 26239556 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 = 26239556 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239556_26-08-2025_19_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26239556 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26239556_26-08-2025_19_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26239568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26239569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26239570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26239571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26239572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26239573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26239574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26239575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26239576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26239577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26239578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26239579, 'pht': 3726}}" where mtr_portfolio_id = 26239556 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26240143 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 = 26240143 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 = 26240143 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26240143 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 = 26240143 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 = 26240143 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240143_26-08-2025_19_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240143 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240143_26-08-2025_19_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26240204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26240205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26240206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26240207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26240208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26240209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26240210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26240211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26240212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26240213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26240214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26240215, 'pht': 3726}}" where mtr_portfolio_id = 26240143 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26240554 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 = 26240554 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 = 26240554 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26240554 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 = 26240554 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 = 26240554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240554_26-08-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240554_26-08-2025_20_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26240583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26240584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26240585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26240586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26240587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26240588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26240589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26240590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26240591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26240592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26240593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26240594, 'pht': 3726}}" where mtr_portfolio_id = 26240554 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26240875 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 = 26240875 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 = 26240875 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26240875 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 = 26240875 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 = 26240875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240875_26-08-2025_20_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240875 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240875_26-08-2025_20_21_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26240919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26240920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26240921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26240922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26240923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26240924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26240925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26240926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26240927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26240928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26240929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26240931, 'pht': 3726}}" where mtr_portfolio_id = 26240875 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26241374 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 = 26241374 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 = 26241374 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26241374 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 = 26241374 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 = 26241374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241374_26-08-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241374 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241374_26-08-2025_20_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26241419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26241420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26241421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26241422, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26241423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26241424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26241425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26241426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26241427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26241428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26241429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26241430, 'pht': 3726}}" where mtr_portfolio_id = 26241374 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26241668 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 = 26241668 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 = 26241668 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26241668 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 = 26241668 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 = 26241668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241668_26-08-2025_21_09_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241668_26-08-2025_21_09_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26241696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26241697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26241698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26241699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26241700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26241701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26241702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26241703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26241704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26241705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26241706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26241707, 'pht': 3726}}" where mtr_portfolio_id = 26241668 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26242630 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 = 26242630 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 = 26242630 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26242630 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 = 26242630 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 = 26242630 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26242630_26-08-2025_21_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26242630 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26242630_26-08-2025_21_20_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26242677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26242678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26242679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26242680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26242681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26242682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26242683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26242684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26242685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26242686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26242687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26242688, 'pht': 3726}}" where mtr_portfolio_id = 26242630 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26243011 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 = 26243011 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 = 26243011 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26243011 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 = 26243011 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 = 26243011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243011_26-08-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243011 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243011_26-08-2025_21_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26243014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26243015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26243016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26243017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26243018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26243019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26243020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26243021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26243022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26243023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26243024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26243025, 'pht': 3726}}" where mtr_portfolio_id = 26243011 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26243305 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 = 26243305 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 = 26243305 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26243305 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 = 26243305 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 = 26243305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243305_26-08-2025_21_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243305_26-08-2025_21_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26243306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26243307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26243308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26243309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26243310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26243311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26243312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26243313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26243314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26243315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26243316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26243317, 'pht': 3726}}" where mtr_portfolio_id = 26243305 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26243679 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 = 26243679 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 = 26243679 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26243679 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 = 26243679 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 = 26243679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243679_26-08-2025_22_10_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26243679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26243679_26-08-2025_22_10_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26243702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26243703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26243704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26243705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26243706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26243707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26243708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26243709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26243710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26243711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26243712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26243713, 'pht': 3726}}" where mtr_portfolio_id = 26243679 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26245652 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 = 26245652 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 = 26245652 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26245652 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 = 26245652 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 = 26245652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245652_26-08-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26245652 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245652_26-08-2025_23_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26245657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26245658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26245659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26245660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26245661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26245662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26245663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26245664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26245665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26245666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26245667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26245668, 'pht': 3726}}" where mtr_portfolio_id = 26245652 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26245879 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 = 26245879 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 = 26245879 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26245879 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 = 26245879 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 = 26245879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245879_26-08-2025_23_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26245879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26245879_26-08-2025_23_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26245900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26245901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26245902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26245903, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26245904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26245905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26245906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26245907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26245908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26245909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26245910, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26245911, 'pht': 3726}}" where mtr_portfolio_id = 26245879 and dashboard_run_id = 2188401 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26246253 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 = 26246253 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 = 26246253 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26246253 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 = 26246253 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 = 26246253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26246253_27-08-2025_02_50_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26246253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26246253_27-08-2025_02_50_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26246269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26246270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26246271, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26246272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26246273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26246274, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26246275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26246276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26246277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26246278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26246279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26246280, 'pht': 3726}}" where mtr_portfolio_id = 26246253 and dashboard_run_id = 2188401 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26218438,26218950,26219900,26219967,26220103,26220824,26220951,26221110,26221445,26221595,26221773,26221991,26222507,26222617,26222730,26222815,26223041,26223181,26223332,26224384,26224665,26225626,26225964,26225966,26226691,26227063,26227418,26227847,26228669,26229111,26229406,26230013,26230264,26232756,26233183,26233295,26233506,26233741,26233942,26234173,26234552,26234875,26235395,26235841,26236338,26236770,26237675,26238089,26238197,26238551,26239032,26239556,26240143,26240554,26240875,26241374,26241668,26242630,26243011,26243305,26243679,26245652,26245879,26246253) result : ((1379342854,), (1379342855,), (1379342870,), (1379342957,), (1379342959,), (1379344937,), (1379344940,), (1379345298,), (1379346354,), (1379347089,), (1379347411,), (1379347710,), (1379347711,), (1379347794,), (1379347795,), (1379347900,), (1379347958,), (1379348092,), (1379348173,), (1379352067,), (1379352068,), (1379352103,), (1379352125,), (1379352140,), (1379352141,), (1379352163,), (1379352164,), (1379352188,), (1379352210,), (1379352262,), (1379352319,), (1379352346,), (1379352347,), (1379352389,), (1379352387,), (1379352388,), (1379352440,), (1379352464,), (1379352600,), (1379352601,), (1379352602,), (1379352623,), (1379352648,), (1379352681,), (1379352682,), (1379352820,), (1379352821,), (1379352882,), (1379352884,), (1379352896,), (1379352897,), (1379352942,), (1379352941,), (1379353283,), (1379353284,), (1379353719,), (1379355085,), (1379355086,), (1379355111,), (1379355112,), (1379355127,), (1379355128,), (1379355280,), (1379355339,), (1379355340,), (1379355341,), (1379355383,), (1379355957,), (1379355998,), (1379356022,), (1379356109,), (1379356110,), (1379356130,), (1379356151,), (1379356196,), (1379356214,), (1379356278,), (1379356320,), (1379356379,), (1379356441,), (1379356442,), (1379356460,), (1379356461,), (1379356531,), (1379356532,), (1379356563,), (1379356564,), (1379356605,), (1379356990,), (1379356992,), (1379356994,), (1379358160,), (1379358553,), (1379358733,), (1379358735,), (1379358780,), (1379358781,), (1379358782,), (1379358783,), (1379358838,), (1379358911,), (1379358961,), (1379358960,), (1379358977,), (1379358978,), (1379359030,), (1379359052,), (1379359053,), (1379359115,), (1379359173,), (1379359174,), (1379359193,), (1379359194,), (1379359281,), (1379359342,), (1379359341,), (1379359383,), (1379359384,), (1379359429,), (1379359458,), (1379359493,), (1379359535,), (1379359576,), (1379359623,), (1379359624,), (1379359625,), (1379359689,), (1379359690,), (1379359720,), (1379359738,), (1379359776,), (1379359777,), (1379359836,), (1379359920,), (1379359940,), (1379359963,), (1379359983,), (1379359995,), (1379360559,), (1379360560,), (1379360568,), (1379361235,), (1379361233,), (1379361385,), (1379361668,), (1379361670,), (1379362176,), (1379362177,), (1379362236,), (1379362237,), (1379364945,), (1379365529,), (1379365730,), (1379365731,), (1379365751,), (1379365758,), (1379365759,), (1379365760,), (1379365812,), (1379365813,), (1379365814,), (1379365815,), (1379366262,), (1379365996,), (1379366284,), (1379366290,), (1379366291,), (1379366317,), (1379366371,), (1379366372,), (1379366373,), (1379367051,), (1379367191,), (1379367192,), (1379367252,), (1379367254,), (1379367257,), (1379367259,), (1379367261,), (1379367263,), (1379367653,), (1379367655,), (1379367657,), (1379367659,), (1379367838,), (1379367839,), (1379368118,), (1379368114,), (1379368116,), (1379368380,), (1379368381,), (1379368382,), (1379368383,), (1379368462,), (1379368463,), (1379368464,), (1379368465,), (1379368553,), (1379368555,), (1379368557,), (1379368559,), (1379368561,), (1379368918,), (1379368920,), (1379368923,), (1379368925,), (1379368927,), (1379369168,), (1379369170,), (1379369172,), (1379369174,), (1379369176,), (1379369178,), (1379369262,), (1379369263,), (1379369264,), (1379369266,), (1379369267,), (1379369268,), (1379369292,), (1379369294,), (1379369296,), (1379369298,), (1379369334,), (1379369335,), (1379369336,), (1379369337,), (1379369338,), (1379369339,), (1379369341,), (1379369342,), (1379369344,), (1379369357,), (1379369358,), (1379369386,), (1379369387,), (1379369388,), (1379369389,), (1379369390,), (1379369409,), (1379369410,), (1379369411,), (1379369412,), (1379369413,), (1379369414,), (1379369477,), (1379369478,), (1379369479,), (1379369480,), (1379369481,), (1379369502,), (1379369503,), (1379369504,), (1379369505,), (1379369506,), (1379369530,), (1379369532,), (1379369533,), (1379369534,), (1379369535,), (1379369557,), (1379369604,), (1379369554,), (1379369556,), (1379369584,), (1379369585,), (1379369586,), (1379369587,), (1379369588,), (1379369589,), (1379369603,), (1379369636,), (1379369637,), (1379369639,), (1379369640,), (1379369641,), (1379369668,), (1379369669,), (1379369670,), (1379369671,), (1379369672,), (1379369702,), (1379369703,), (1379369704,), (1379369724,), (1379369725,), (1379369726,), (1379369727,), (1379369754,), (1379369755,), (1379369756,), (1379369757,), (1379369758,), (1379369759,), (1379369805,), (1379369806,), (1379369807,), (1379369808,), (1379369833,), (1379369834,), (1379369835,), (1379369836,), (1379369837,), (1379369838,), (1379369861,), (1379369862,), (1379369863,), (1379369864,), (1379369865,), (1379369892,), (1379369893,), (1379369894,), (1379369895,), (1379369917,), (1379369918,), (1379369919,), (1379369920,), (1379369921,), (1379369922,), (1379369926,), (1379369929,), (1379369999,), (1379370000,), (1379370001,), (1379370002,), (1379370031,), (1379370032,), (1379370056,), (1379370057,), (1379370058,), (1379370059,), (1379370085,), (1379370082,), (1379370083,), (1379370084,), (1379370107,), (1379370108,), (1379370109,), (1379370110,), (1379370111,), (1379370112,), (1379370176,), (1379370177,), (1379370178,), (1379370179,), (1379370180,), (1379370205,), (1379370206,), (1379370207,), (1379370208,), (1379370209,), (1379370210,), (1379370231,), (1379370232,), (1379370233,), (1379370234,), (1379370235,), (1379370236,), (1379370258,), (1379370259,), (1379370260,), (1379370278,), (1379370279,), (1379370280,), (1379370281,), (1379370282,), (1379370284,), (1379370287,), (1379370288,), (1379370333,), (1379370334,), (1379370335,), (1379370336,), (1379370337,), (1379370338,), (1379370363,), (1379370364,), (1379370365,), (1379370366,), (1379370367,), (1379370395,), (1379370396,), (1379370397,), (1379370423,), (1379370424,), (1379370425,), (1379370426,), (1379370427,), (1379370428,), (1379370456,), (1379370457,), (1379370458,), (1379370459,), (1379370460,), (1379370487,), (1379370488,), (1379370489,), (1379370490,), (1379370491,), (1379370508,), (1379370509,), (1379370510,), (1379370536,), (1379370537,), (1379370538,), (1379370539,), (1379370562,), (1379370598,), (1379370557,), (1379370558,), (1379370559,), (1379370560,), (1379370586,), (1379370587,), (1379370588,), (1379370589,), (1379370590,), (1379370591,), (1379370596,), (1379370597,), (1379370665,), (1379370666,), (1379370667,), (1379370668,), (1379370671,), (1379370674,), (1379370700,), (1379370701,), (1379370702,), (1379370703,), (1379370704,), (1379370728,), (1379370729,), (1379370730,), (1379370731,), (1379370732,), (1379370733,), (1379370757,), (1379370758,), (1379370759,), (1379370760,), (1379370761,), (1379370762,), (1379370776,), (1379370777,), (1379370778,), (1379370779,), (1379370847,), (1379370848,), (1379370849,), (1379370850,), (1379370866,), (1379370867,), (1379370868,), (1379370869,), (1379370926,), (1379376598,), (1379376591,), (1379376592,), (1379376593,), (1379376594,), (1379376596,), (1379376676,), (1379376677,), (1379376728,), (1379377015,), (1379377017,), (1379377020,), (1379377022,), (1379377024,), (1379377026,), (1379377115,), (1379377116,), (1379377117,), (1379377118,), (1379377119,), (1379377221,), (1379377222,), (1379377223,), (1379377224,), (1379377225,), (1379377227,), (1379377231,), (1379377233,), (1379377238,), (1379377277,), (1379377278,), (1379377279,), (1379377280,), (1379377281,), (1379377350,), (1379377351,), (1379377352,), (1379377353,), (1379377354,), (1379377379,), (1379377380,), (1379377381,), (1379377442,), (1379377443,), (1379377444,), (1379377445,), (1379377584,), (1379377585,), (1379377586,), (1379377587,), (1379377588,), (1379377589,), (1379377643,), (1379377644,), (1379377645,), (1379377646,), (1379377647,), (1379377695,), (1379377696,), (1379378074,), (1379378077,), (1379378079,), (1379378572,), (1379378706,), (1379378564,), (1379378566,), (1379378568,), (1379378570,), (1379378685,), (1379378686,), (1379378687,), (1379378689,), (1379378690,), (1379378691,), (1379378702,), (1379378703,), (1379378704,), (1379378705,), (1379378765,), (1379378766,), (1379378767,), (1379378768,), (1379378794,), (1379378795,), (1379378796,), (1379378797,), (1379378798,), (1379378985,), (1379378988,), (1379378991,), (1379378994,), (1379378997,), (1379379000,), (1379379329,), (1379379331,), (1379379334,), (1379379337,), (1379379340,), (1379379343,), (1379379455,), (1379379456,), (1379379457,), (1379379458,), (1379379495,), (1379379496,), (1379379497,), (1379379498,), (1379379499,), (1379379534,), (1379379535,), (1379379536,), (1379379537,), (1379379538,), (1379379539,), (1379379602,), (1379379604,), (1379379606,), (1379379673,), (1379379675,), (1379379677,), (1379379679,), (1379379681,), (1379379790,), (1379379791,), (1379379792,), (1379379793,), (1379379794,), (1379379795,), (1379379803,), (1379379804,), (1379379805,), (1379379806,), (1379379807,), (1379379886,), (1379379887,), (1379379888,), (1379380552,), (1379380554,), (1379380556,), (1379380558,), (1379380830,), (1379380833,), (1379380908,), (1379380910,), (1379380911,), (1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,), (1379388007,), (1379388008,), (1379388120,), (1379388121,), (1379388122,), (1379388123,), (1379388303,), (1379388305,), (1379388307,), (1379388309,), (1379388311,), (1379388505,), (1379388506,), (1379388507,), (1379388706,), (1379388710,), (1379388714,), (1379388826,), (1379388827,), (1379388828,), (1379388829,), (1379388830,), (1379388858,), (1379388859,), (1379388860,), (1379388861,), (1379388862,), (1379388863,), (1379388889,), (1379388890,), (1379388891,), (1379389275,), (1379389276,), (1379389277,), (1379389360,), (1379389474,), (1379389358,), (1379389359,), (1379389462,), (1379389463,), (1379389464,), (1379389465,), (1379389466,), (1379389467,), (1379389473,), (1379389494,), (1379389495,), (1379389496,), (1379389497,), (1379389530,), (1379389531,), (1379389532,), (1379389533,), (1379389556,), (1379389557,), (1379389585,), (1379389586,), (1379389587,), (1379389588,), (1379389617,), (1379389618,), (1379389619,), (1379389620,), (1379389621,), (1379389622,), (1379389647,), (1379389648,), (1379389649,), (1379389650,), (1379389652,), (1379389730,), (1379389732,), (1379389734,), (1379389736,), (1379390052,), (1379390054,), (1379390074,), (1379390075,), (1379390076,), (1379390104,), (1379390105,), (1379393064,), (1379393109,), (1379393111,), (1379393304,), (1379393306,), (1379393415,), (1379393416,), (1379393417,), (1379393418,), (1379393578,), (1379393579,), (1379393781,), (1379393783,), (1379393785,), (1379393787,), (1379393789,), (1379393791,), (1379393952,), (1379393953,), (1379393954,), (1379393986,), (1379393987,), (1379393988,), (1379393989,), (1379393990,), (1379394110,), (1379394112,), (1379394116,), (1379394118,), (1379394256,), (1379394258,), (1379394316,), (1379394317,), (1379394401,), (1379394402,), (1379394403,), (1379394404,), (1379394405,), (1379394406,), (1379394569,), (1379394632,), (1379394635,), (1379394637,), (1379394923,), (1379394924,), (1379394925,), (1379395061,), (1379395063,), (1379395066,), (1379395067,), (1379395068,), (1379395069,), (1379395163,), (1379395165,), (1379395167,), (1379395169,), (1379395171,), (1379395173,), (1379395332,), (1379395537,), (1379395330,), (1379395331,), (1379395524,), (1379395525,), (1379395526,), (1379395527,), (1379395528,), (1379395529,), (1379395535,), (1379395569,), (1379395570,), (1379395571,), (1379395572,), (1379395573,), (1379395634,), (1379395635,), (1379395636,), (1379395637,), (1379395661,), (1379395663,), (1379395664,), (1379395938,), (1379395978,), (1379395979,), (1379395980,), (1379395981,), (1379395982,), (1379396172,), (1379396174,), (1379396176,), (1379396178,), (1379396352,), (1379396354,), (1379396356,), (1379396358,), (1379396500,), (1379396501,), (1379396502,), (1379396503,), (1379396614,), (1379396615,), (1379396958,), (1379396960,), (1379397084,), (1379397085,), (1379397117,), (1379397153,), (1379397158,), (1379397162,), (1379397393,), (1379397389,), (1379397391,), (1379397898,), (1379397901,), (1379398054,), (1379398364,), (1379398366,), (1379398437,), (1379398438,), (1379398469,), (1379398470,), (1379398492,), (1379398493,), (1379398494,), (1379398495,), (1379402462,), (1379402460,), (1379402772,), (1379402773,), (1379403036,), (1379403038,), (1379403104,), (1379403105,), (1379403106,), (1379403221,), (1379403222,), (1379403547,), (1379403548,), (1379404254,), (1379404257,), (1379404260,), (1379404263,), (1379406726,), (1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,), (1379411154,), (1379411155,), (1379411156,), (1379411157,), (1379411158,), (1379411239,), (1379411620,), (1379411233,), (1379411235,), (1379411237,), (1379411595,), (1379411597,), (1379411599,), (1379411601,), (1379411603,), (1379411605,), (1379411618,), (1379411715,), (1379411716,), (1379411717,), (1379411718,), (1379411745,), (1379411746,), (1379411747,), (1379411748,), (1379411749,), (1379411779,), (1379411780,), (1379411781,), (1379411819,), (1379411820,), (1379411821,), (1379411822,), (1379411823,), (1379412037,), (1379412039,), (1379412041,), (1379412043,), (1379412294,), (1379412295,), (1379412296,), (1379412297,), (1379412298,), (1379412432,), (1379412433,), (1379412435,), (1379412436,), (1379412437,), (1379412499,), (1379412500,), (1379412501,), (1379412502,), (1379412605,), (1379412610,), (1379412615,), (1379412620,), (1379412941,), (1379412942,), (1379412943,), (1379412944,), (1379412945,), (1379412946,), (1379413020,), (1379413024,), (1379413028,), (1379413086,), (1379413090,), (1379413094,), (1379413098,), (1379413219,), (1379413220,), (1379413221,), (1379413222,), (1379413223,), (1379413224,), (1379413261,), (1379413262,), (1379413263,), (1379413264,), (1379413265,), (1379413311,), (1379413309,), (1379413310,), (1379413408,), (1379413410,), (1379413412,), (1379413414,), (1379413555,), (1379413556,), (1379413557,), (1379413558,), (1379413559,), (1379413590,), (1379413591,), (1379413592,), (1379413593,), (1379413648,), (1379413649,), (1379413650,), (1379413651,), (1379413717,), (1379413809,), (1379415271,), (1379418345,), (1379418475,), (1379418476,), (1379418477,), (1379418511,), (1379418512,), (1379418513,), (1379418514,), (1379418515,), (1379418516,), (1379418540,), (1379418541,), (1379418542,), (1379418543,), (1379418638,), (1379418639,), (1379418640,), (1379418662,), (1379418663,), (1379418664,), (1379418715,), (1379418716,), (1379418757,), (1379418758,), (1379418759,), (1379418760,), (1379418761,), (1379418837,), (1379418838,), (1379418839,), (1379418840,), (1379418841,), (1379418879,), (1379418880,), (1379418881,), (1379418883,), (1379418952,), (1379418949,), (1379418950,), (1379418951,), (1379419107,), (1379419109,), (1379419111,), (1379419113,), (1379419115,), (1379419548,), (1379419552,), (1379419556,), (1379419561,), (1379419914,), (1379419915,), (1379419916,), (1379419917,), (1379419918,), (1379419919,), (1379420201,), (1379420205,), (1379420209,), (1379420213,), (1379420217,), (1379420222,), (1379420751,), (1379420753,), (1379420755,), (1379421219,), (1379421221,), (1379421223,), (1379421225,), (1379421227,), (1379421229,), (1379421307,), (1379421310,), (1379421313,), (1379421597,), (1379421599,), (1379421601,), (1379422110,), (1379422187,), (1379444406,), (1379445055,), (1379444402,), (1379444404,), (1379445046,), (1379445049,), (1379445053,), (1379447859,), (1379448332,), (1379448773,), (1379449303,), (1379449302,), (1379449334,), (1379449335,), (1379449336,), (1379449337,), (1379449338,), (1379449364,), (1379449365,), (1379449366,), (1379449541,), (1379449542,), (1379449571,), (1379449679,), (1379449681,), (1379449683,), (1379449685,), (1379449687,), (1379449689,), (1379449924,), (1379449925,), (1379449949,), (1379449950,), (1379449951,), (1379449952,), (1379449953,), (1379449985,), (1379449986,), (1379449987,), (1379449989,), (1379449990,), (1379450019,), (1379450044,), (1379450017,), (1379450018,), (1379450039,), (1379450040,), (1379450041,), (1379450042,), (1379450043,), (1379450128,), (1379450129,), (1379450130,), (1379450131,), (1379450159,), (1379450160,), (1379450161,), (1379450162,), (1379450163,), (1379450190,), (1379450191,), (1379450192,), (1379450193,), (1379450194,), (1379450195,), (1379450250,), (1379450251,), (1379450252,), (1379450253,), (1379450280,), (1379450281,), (1379450282,), (1379450283,), (1379450284,), (1379450357,), (1379450362,), (1379450363,), (1379450364,), (1379450365,), (1379450396,), (1379450398,), (1379450399,), (1379450400,), (1379450401,), (1379450435,), (1379450436,), (1379450437,), (1379450438,), (1379450455,), (1379450456,), (1379450457,), (1379450458,), (1379450459,), (1379450460,), (1379450486,), (1379450487,), (1379450488,), (1379450489,), (1379450490,), (1379450491,), (1379450504,), (1379450508,), (1379450511,), (1379450514,), (1379450515,), (1379450566,), (1379450567,), (1379450568,), (1379450953,), (1379450956,), (1379450958,), (1379450960,), (1379450962,), (1379450964,), (1379451365,), (1379451362,), (1379451363,), (1379451364,), (1379451397,), (1379451398,), (1379451399,), (1379451400,), (1379451401,), (1379451658,), (1379451660,), (1379451662,), (1379451664,), (1379451666,), (1379451668,), (1379452125,), (1379452129,), (1379452133,), (1379452137,), (1379452808,), (1379452813,), (1379452815,), (1379452817,), (1379452820,), (1379452823,), (1379453406,), (1379453408,), (1379453410,), (1379453412,), (1379453414,), (1379453944,), (1379453945,), (1379453946,), (1379453947,), (1379453948,), (1379453949,), (1379453962,), (1379453964,), (1379453966,), (1379453968,), (1379454221,), (1379454223,), (1379454225,), (1379454227,), (1379454229,), (1379454231,), (1379454428,), (1379454429,), (1379454430,), (1379454431,), (1379454455,), (1379454503,), (1379454606,), (1379454684,), (1379454709,), (1379454710,), (1379454758,), (1379454759,), (1379454760,), (1379454790,), (1379454897,), (1379454788,), (1379454789,), (1379454889,), (1379454891,), (1379454893,), (1379454895,), (1379455031,), (1379455032,), (1379455033,), (1379455112,), (1379455113,), (1379455114,), (1379455115,), (1379455116,), (1379455142,), (1379455143,), (1379455144,), (1379455145,), (1379455146,), (1379455182,), (1379455183,), (1379455184,), (1379455185,), (1379455186,), (1379455228,), (1379455229,), (1379455230,), (1379455356,), (1379455357,), (1379455359,), (1379455385,), (1379455386,), (1379455387,), (1379455388,), (1379455606,), (1379455608,), (1379455773,), (1379455774,), (1379455775,), (1379455800,), (1379455801,), (1379455802,), (1379455803,), (1379455804,), (1379455806,), (1379455811,), (1379455812,), (1379455891,), (1379455892,), (1379455919,), (1379456084,), (1379456105,), (1379456106,), (1379456107,), (1379456155,), (1379456152,), (1379456153,), (1379456154,), (1379456210,), (1379456211,), (1379456389,), (1379456390,), (1379456409,), (1379456410,), (1379456411,), (1379456412,), (1379456413,), (1379456459,), (1379456460,), (1379456712,), (1379456714,), (1379457049,), (1379457050,), (1379457051,), (1379457052,), (1379457053,), (1379457054,), (1379457071,), (1379457400,), (1379457403,), (1379457406,), (1379457408,), (1379457410,), (1379457645,), (1379457646,), (1379457647,), (1379457648,), (1379457649,), (1379457667,), (1379457668,), (1379457669,), (1379457670,), (1379457712,), (1379457713,), (1379457742,), (1379457743,), (1379458127,), (1379458129,), (1379458131,), (1379458133,), (1379458221,), (1379458223,), (1379458449,), (1379458450,), (1379458451,), (1379458452,), (1379458732,), (1379459552,), (1379458723,), (1379458726,), (1379458729,), (1379459472,), (1379459474,), (1379459476,), (1379459478,), (1379459480,), (1379459482,), (1379459541,), (1379459543,), (1379459546,), (1379459616,), (1379459617,), (1379459618,), (1379459619,), (1379459620,), (1379459899,), (1379459901,), (1379459903,), (1379459905,), (1379460424,), (1379460427,), (1379460430,), (1379461042,), (1379461043,), (1379461044,), (1379461045,), (1379461267,), (1379461269,), (1379461271,), (1379461273,), (1379461454,), (1379461455,), (1379461456,), (1379461975,), (1379461976,), (1379461977,), (1379461978,), (1379461979,), (1379462219,), (1379462220,), (1379462221,), (1379462222,), (1379462223,), (1379462249,), (1379462250,), (1379462251,), (1379462252,), (1379462253,), (1379462255,), (1379462263,), (1379462264,), (1379462265,), (1379462332,), (1379462333,), (1379462334,), (1379462335,), (1379462336,), (1379462916,), (1379462921,), (1379462925,), (1379462929,), (1379462933,), (1379463027,), (1379463030,), (1379463033,), (1379463501,), (1379463495,), (1379463497,), (1379463499,), (1379463695,), (1379463696,), (1379463697,), (1379463698,), (1379463699,), (1379463700,), (1379463826,), (1379463828,), (1379463830,), (1379464198,), (1379464200,), (1379464202,), (1379464204,), (1379464614,), (1379464616,), (1379465079,), (1379465082,), (1379465085,), (1379465088,), (1379465586,), (1379465588,), (1379465590,), (1379465592,), (1379465594,), (1379465596,), (1379465697,), (1379465700,), (1379465703,), (1379465708,), (1379466001,), (1379466002,), (1379466003,), (1379466004,), (1379466604,), (1379466608,), (1379466612,), (1379467356,), (1379467358,), (1379467360,), (1379467667,), (1379467668,), (1379467669,), (1379467670,), (1379467875,), (1379467877,), (1379467879,), (1379468379,), (1379468381,), (1379468383,), (1379468385,), (1379468387,), (1379468554,), (1379468556,), (1379468558,), (1379468693,), (1379468694,), (1379468695,), (1379468696,), (1379468697,), (1379468851,), (1379469318,), (1379468848,), (1379468849,), (1379468850,), (1379469215,), (1379469218,), (1379469221,), (1379469223,), (1379469225,), (1379469227,), (1379469314,), (1379469316,), (1379469613,), (1379469614,), (1379469664,), (1379469666,), (1379469668,), (1379469926,), (1379469927,), (1379469928,), (1379469929,), (1379469930,), (1379469931,), (1379470278,), (1379470279,), (1379470280,), (1379470281,), (1379470699,), (1379470700,), (1379470701,), (1379470702,), (1379470729,), (1379470730,), (1379470731,), (1379470732,), (1379470733,), (1379470916,), (1379470918,), (1379470920,), (1379471070,), (1379471071,), (1379471072,), (1379471102,), (1379471103,), (1379471104,), (1379471105,), (1379471106,), (1379471107,), (1379471131,), (1379471132,), (1379471133,), (1379471134,), (1379471135,), (1379471136,), (1379471148,), (1379471150,), (1379471152,), (1379471153,), (1379471155,), (1379471174,), (1379471175,), (1379471176,), (1379471177,), (1379471178,), (1379471203,), (1379471204,), (1379471205,), (1379471206,), (1379471207,), (1379471208,), (1379471227,), (1379471229,), (1379471231,), (1379471232,), (1379471233,), (1379471381,), (1379471378,), (1379471379,), (1379471380,), (1379471414,), (1379471415,), (1379471416,), (1379471417,), (1379471493,), (1379471494,), (1379471495,), (1379471817,), (1379471849,), (1379471850,), (1379471851,), (1379471852,), (1379471940,), (1379471941,), (1379471942,), (1379472219,), (1379472221,), (1379472223,), (1379472224,), (1379472225,), (1379472226,), (1379472332,), (1379472333,), (1379472334,), (1379472335,), (1379472336,), (1379472337,), (1379472343,), (1379472345,), (1379472347,), (1379472349,), (1379472380,), (1379472381,), (1379472382,), (1379472603,), (1379472605,), (1379472607,), (1379472762,), (1379472763,), (1379472764,), (1379472765,), (1379472766,), (1379472786,), (1379472787,), (1379472788,), (1379472789,), (1379473143,), (1379473145,), (1379473147,), (1379473482,), (1379473542,), (1379473545,), (1379473548,), (1379473551,), (1379473554,), (1379473944,), (1379473945,), (1379473946,), (1379473947,), (1379473948,), (1379473949,), (1379474023,), (1379474024,), (1379474025,), (1379474026,), (1379474027,), (1379474660,), (1379475265,), (1379474652,), (1379474655,), (1379474658,), (1379475123,), (1379475126,), (1379475129,), (1379475132,), (1379475135,), (1379475138,), (1379475258,), (1379475261,), (1379475394,), (1379475395,), (1379475396,), (1379475397,), (1379475398,), (1379475560,), (1379475561,), (1379475656,), (1379475657,), (1379475658,), (1379475659,), (1379475660,), (1379475792,), (1379475793,), (1379475816,), (1379475860,), (1379475862,), (1379475864,), (1379475867,), (1379476052,), (1379476053,), (1379476054,), (1379476055,), (1379476056,), (1379476370,), (1379476372,), (1379476374,), (1379476376,), (1379476532,), (1379476533,), (1379476595,), (1379476596,), (1379476597,), (1379476598,), (1379476599,), (1379476627,), (1379476628,), (1379476629,), (1379476630,), (1379476632,), (1379476633,), (1379476651,), (1379476653,), (1379476654,), (1379476655,), (1379476669,), (1379476670,), (1379476671,), (1379476672,), (1379477306,), (1379477307,), (1379477308,), (1379477310,), (1379477536,), (1379477528,), (1379477530,), (1379477532,), (1379477534,), (1379477667,), (1379477668,), (1379477669,), (1379477670,), (1379477671,), (1379477931,), (1379477932,), (1379477933,), (1379478325,), (1379478327,), (1379478329,), (1379478331,), (1379478701,), (1379478703,), (1379478705,), (1379479104,), (1379479106,), (1379479108,), (1379479110,), (1379479112,), (1379479114,), (1379479244,), (1379479246,), (1379479248,), (1379479251,), (1379479253,), (1379479255,), (1379479351,), (1379479353,), (1379479355,), (1379479357,), (1379479650,), (1379479654,), (1379479658,), (1379479663,), (1379479667,), (1379480192,), (1379480194,), (1379480196,), (1379480198,), (1379480524,), (1379480525,), (1379480526,), (1379480527,), (1379480528,), (1379480529,), (1379480585,), (1379480586,), (1379480587,), (1379480588,), (1379480940,), (1379480947,), (1379480954,), (1379480959,), (1379480963,), (1379480966,), (1379481237,), (1379481239,), (1379481241,), (1379481243,), (1379481245,), (1379481291,), (1379481292,), (1379481293,), (1379481882,), (1379481885,), (1379482591,), (1379482879,), (1379482579,), (1379482583,), (1379482587,), (1379482853,), (1379482854,), (1379482855,), (1379482856,), (1379482857,), (1379482858,), (1379482875,), (1379482877,), (1379482878,), (1379482996,), (1379482997,), (1379482998,), (1379482999,), (1379483000,), (1379483001,), (1379483365,), (1379483367,), (1379483369,), (1379483371,), (1379483373,), (1379483828,), (1379483830,), (1379483832,), (1379483834,), (1379484278,), (1379484279,), (1379484280,), (1379484281,), (1379484282,), (1379484630,), (1379484631,), (1379484632,), (1379484633,), (1379484634,), (1379484679,), (1379484754,), (1379484755,), (1379484756,), (1379484757,), (1379484758,), (1379484759,), (1379484847,), (1379484849,), (1379484851,), (1379484853,), (1379485062,), (1379485063,), (1379485064,), (1379485118,), (1379485119,), (1379485120,), (1379485121,), (1379485122,), (1379485125,), (1379485149,), (1379485151,), (1379485184,), (1379485185,), (1379485186,), (1379485188,), (1379485189,), (1379485322,), (1379488835,), (1379488833,), (1379489023,), (1379489434,), (1379489436,), (1379489438,), (1379489811,), (1379489813,), (1379489815,), (1379489817,), (1379489819,), (1379490093,), (1379490094,), (1379490095,), (1379490096,), (1379490097,), (1379490300,), (1379490301,), (1379490303,), (1379490305,), (1379490307,), (1379490309,), (1379490376,), (1379490377,), (1379490407,), (1379490408,), (1379490409,), (1379490410,), (1379490411,), (1379490497,), (1379490528,), (1379490529,), (1379490582,), (1379492059,), (1379491671,), (1379492056,), (1379492057,), (1379492058,), (1379492087,), (1379492088,), (1379492089,), (1379492090,), (1379492091,), (1379492158,), (1379492159,), (1379492244,), (1379492241,), (1379492242,), (1379492243,), (1379492284,), (1379492285,), (1379492286,), (1379492287,), (1379492288,), (1379492289,), (1379492336,), (1379492338,), (1379492339,), (1379492340,), (1379492370,), (1379492371,), (1379492399,), (1379492400,), (1379492401,), (1379492402,), (1379492403,), (1379492404,), (1379492624,), (1379492625,), (1379492626,), (1379492627,), (1379492628,), (1379492807,), (1379492809,), (1379492811,), (1379492813,), (1379492815,), (1379492817,), (1379492881,), (1379492882,), (1379492883,), (1379492960,), (1379492961,), (1379492962,), (1379492963,), (1379492964,), (1379492965,), (1379493007,), (1379493008,), (1379493009,), (1379493010,), (1379493011,), (1379493012,), (1379493201,), (1379493203,), (1379493205,), (1379493573,), (1379493575,), (1379493577,), (1379493579,), (1379493581,), (1379493918,), (1379493920,), (1379493922,), (1379493924,), (1379494302,), (1379494304,), (1379494306,), (1379494308,), (1379494310,), (1379494688,), (1379494689,), (1379494690,), (1379494691,), (1379494836,), (1379494837,), (1379494838,), (1379494839,), (1379494840,), (1379495188,), (1379495495,), (1379495180,), (1379495182,), (1379495184,), (1379495186,), (1379495462,), (1379495464,), (1379495466,), (1379495468,), (1379495470,), (1379495472,), (1379495489,), (1379495491,), (1379495493,), (1379495579,), (1379495580,), (1379495581,), (1379495582,), (1379495948,), (1379495949,), (1379495950,), (1379495951,), (1379495952,), (1379496181,), (1379496182,), (1379496183,), (1379496184,), (1379496185,), (1379496385,), (1379496398,), (1379496399,), (1379496400,), (1379496401,), (1379496450,), (1379496451,), (1379496452,), (1379496453,), (1379496650,), (1379496652,), (1379496654,), (1379496656,), (1379497019,), (1379497022,), (1379497024,), (1379497026,), (1379497245,), (1379497246,), (1379497247,), (1379497248,), (1379497421,), (1379497422,), (1379497423,), (1379497424,), (1379497553,), (1379497555,), (1379497557,), (1379497559,), (1379497562,), (1379497564,), (1379497581,), (1379497582,), (1379497657,), (1379497658,), (1379497659,), (1379497660,), (1379498365,), (1379498368,), (1379498371,), (1379498374,), (1379498376,), (1379498812,), (1379498675,), (1379498803,), (1379498806,), (1379498809,), (1379499395,), (1379499721,), (1379499722,), (1379499724,), (1379499777,), (1379499778,), (1379499779,), (1379499828,), (1379499830,), (1379500221,), (1379500223,), (1379500225,), (1379500227,), (1379500229,), (1379500232,), (1379500677,), (1379500679,), (1379500681,), (1379500683,), (1379500685,), (1379500688,), (1379500745,), (1379500837,), (1379500839,), (1379500841,), (1379500843,), (1379501516,), (1379501519,), (1379501523,), (1379501527,), (1379501531,), (1379502184,), (1379502401,), (1379502406,), (1379502410,), (1379502414,), (1379502861,), (1379502862,), (1379502863,), (1379502864,), (1379503798,), (1379503802,), (1379503805,), (1379504324,), (1379504325,), (1379504326,), (1379504327,), (1379504430,), (1379504431,), (1379504432,), (1379504433,), (1379504434,), (1379504435,), (1379504465,), (1379504466,), (1379504467,), (1379504813,), (1379505149,), (1379504808,), (1379504809,), (1379504810,), (1379504811,), (1379504812,), (1379505050,), (1379505053,), (1379505056,), (1379505059,), (1379505062,), (1379505065,), (1379505141,), (1379505143,), (1379505145,), (1379505147,), (1379505450,), (1379505452,), (1379505454,), (1379505456,), (1379505517,), (1379505551,), (1379505552,), (1379505713,), (1379505714,), (1379505715,), (1379505716,), (1379505717,), (1379505988,), (1379505990,), (1379505992,), (1379505994,), (1379506403,), (1379506405,), (1379506407,), (1379506409,), (1379506643,), (1379506644,), (1379506645,), (1379506646,), (1379506672,), (1379506673,), (1379506674,), (1379506675,), (1379506676,), (1379506677,), (1379506981,), (1379506983,), (1379506986,), (1379506988,), (1379506990,), (1379507362,), (1379507363,), (1379507364,), (1379507365,), (1379507653,), (1379507655,), (1379507657,), (1379507659,), (1379507662,), (1379507664,), (1379507723,), (1379507725,), (1379507726,), (1379508050,), (1379508126,), (1379508128,), (1379508482,), (1379508484,), (1379508486,), (1379508768,), (1379508769,), (1379508771,), (1379508997,), (1379508989,), (1379508991,), (1379508993,), (1379508995,), (1379509115,), (1379509116,), (1379509117,), (1379509119,), (1379509120,), (1379509185,), (1379509186,), (1379509187,), (1379509208,), (1379509209,), (1379509210,), (1379509211,), (1379509212,), (1379509236,), (1379509237,), (1379509238,), (1379509239,), (1379509240,), (1379509274,), (1379509275,), (1379509276,), (1379509305,), (1379509306,), (1379509307,), (1379509308,), (1379509309,), (1379509310,), (1379509317,), (1379509318,), (1379509425,), (1379509426,), (1379509427,), (1379509485,), (1379509487,), (1379509489,), (1379509491,), (1379509493,), (1379509495,), (1379509649,), (1379509650,), (1379509834,), (1379509835,), (1379509836,), (1379509837,), (1379509838,), (1379509957,), (1379509958,), (1379509959,), (1379509960,), (1379509961,), (1379510054,), (1379510055,), (1379510056,), (1379510057,), (1379510094,), (1379510096,), (1379510098,), (1379510100,), (1379510217,), (1379510219,), (1379510221,), (1379510223,), (1379510225,), (1379510371,), (1379510368,), (1379510369,), (1379510370,), (1379510479,), (1379510480,), (1379510481,), (1379510482,), (1379510483,), (1379510484,), (1379510556,), (1379510557,), (1379510558,), (1379510559,), (1379510579,), (1379510580,), (1379510581,), (1379510825,), (1379510826,), (1379510827,), (1379510828,), (1379510829,), (1379510830,), (1379510866,), (1379510867,), (1379510868,), (1379510869,), (1379510871,), (1379510903,), (1379510904,), (1379510905,), (1379510931,), (1379510932,), (1379510933,), (1379510934,), (1379510935,), (1379510955,), (1379510956,), (1379510957,), (1379510958,), (1379510959,), (1379510960,), (1379511040,), (1379511041,), (1379511042,), (1379511043,), (1379511117,), (1379511118,), (1379511200,), (1379511201,), (1379511202,), (1379511203,), (1379511204,), (1379511205,), (1379511584,), (1379511586,), (1379511588,), (1379511590,), (1379511591,), (1379511955,), (1379511958,), (1379511962,), (1379511966,), (1379511971,), (1379512078,), (1379512081,), (1379512722,), (1379512716,), (1379512718,), (1379512720,), (1379513083,), (1379513084,), (1379513085,), (1379513086,), (1379513087,), (1379513479,), (1379513480,), (1379513481,), (1379513482,), (1379513483,), (1379513484,), (1379513505,), (1379513506,), (1379513507,), (1379513508,), (1379513509,), (1379513736,), (1379513738,), (1379513740,), (1379513742,), (1379513744,), (1379514182,), (1379514185,), (1379514188,), (1379514191,), (1379514194,), (1379514197,), (1379514386,), (1379514387,), (1379514388,), (1379514389,), (1379514390,), (1379514732,), (1379514733,), (1379515007,), (1379515852,), (1379515984,), (1379515985,), (1379515986,), (1379515987,), (1379515988,), (1379516180,), (1379516182,), (1379516184,), (1379516186,), (1379516676,), (1379516677,), (1379516678,), (1379516744,), (1379516745,), (1379516746,), (1379516747,), (1379516748,), (1379516771,), (1379516772,), (1379516773,), (1379516774,), (1379516775,), (1379516776,), (1379516829,), (1379516830,), (1379516870,), (1379516872,), (1379516873,), (1379516965,), (1379516967,), (1379516969,), (1379516971,), (1379517121,), (1379517122,), (1379517123,), (1379517124,), (1379517125,), (1379517267,), (1379517269,), (1379517271,), (1379517273,), (1379517328,), (1379517329,), (1379517330,), (1379517371,), (1379517367,), (1379517368,), (1379517369,), (1379517370,), (1379517391,), (1379517392,), (1379517393,), (1379517394,), (1379517395,), (1379517452,), (1379517453,), (1379517454,), (1379517455,), (1379517456,), (1379517512,), (1379517513,), (1379517514,), (1379517515,), (1379517516,), (1379517613,), (1379517614,), (1379517615,), (1379517616,), (1379517619,), (1379517621,), (1379517873,), (1379517874,), (1379517875,), (1379518361,), (1379523708,), (1379524172,), (1379524168,), (1379524169,), (1379524170,), (1379524171,), (1379524431,), (1379524742,), (1379524744,), (1379524932,), (1379525175,), (1379525176,), (1379525223,), (1379525224,), (1379525226,), (1379525227,), (1379525374,), (1379525375,), (1379525376,), (1379525538,), (1379525539,), (1379525540,), (1379525634,), (1379525736,), (1379525732,), (1379525733,), (1379525734,), (1379525735,), (1379525760,), (1379525761,), (1379525762,), (1379525798,), (1379525799,), (1379525800,), (1379525801,), (1379525821,), (1379525822,), (1379525823,), (1379525858,), (1379525859,), (1379525860,), (1379525861,), (1379525892,), (1379525893,), (1379525894,), (1379525895,), (1379525896,), (1379525897,), (1379526070,), (1379526072,), (1379526073,), (1379526241,), (1379526242,), (1379526243,), (1379526270,), (1379526740,), (1379527072,), (1379527074,), (1379527076,), (1379527140,), (1379527141,), (1379527181,), (1379527177,), (1379527178,), (1379527179,), (1379527180,), (1379527206,), (1379527207,), (1379527208,), (1379527209,), (1379527210,), (1379527222,), (1379527223,), (1379527224,), (1379527225,), (1379527319,), (1379527321,), (1379527323,), (1379527325,), (1379527668,), (1379527671,), (1379527673,), (1379527675,), (1379527677,), (1379527835,), (1379527838,), (1379527839,), (1379527840,), (1379527841,), (1379527843,), (1379528233,), (1379528235,), (1379528958,), (1379528961,), (1379528964,), (1379528967,), (1379528970,), (1379529378,), (1379529379,), (1379529380,), (1379529381,), (1379530053,), (1379530056,), (1379530059,), (1379530062,), (1379530517,), (1379530519,), (1379530521,), (1379530523,), (1379531114,), (1379531116,), (1379531118,), (1379531120,), (1379531291,), (1379531293,), (1379531295,), (1379531297,), (1379531588,), (1379531590,), (1379531592,), (1379531594,), (1379531973,), (1379531975,), (1379531977,), (1379531979,), (1379531981,), (1379532374,), (1379532368,), (1379532370,), (1379532372,), (1379532590,), (1379532591,), (1379532592,), (1379532593,), (1379532594,), (1379532595,), (1379532862,), (1379532864,), (1379532866,), (1379532869,), (1379533352,), (1379533354,), (1379533356,), (1379533358,), (1379533360,), (1379533362,), (1379533556,), (1379533558,), (1379533560,), (1379533562,), (1379533565,), (1379533567,), (1379533618,), (1379533619,), (1379533620,), (1379533814,), (1379534118,), (1379536472,), (1379537083,), (1379545434,), (1379545485,), (1379545486,), (1379545487,), (1379545817,), (1379545819,), (1379545821,), (1379546024,), (1379546025,), (1379546026,), (1379546106,), (1379546107,), (1379546108,), (1379546109,), (1379546433,), (1379546435,), (1379546437,), (1379546757,), (1379546758,), (1379546759,), (1379546760,), (1379546761,), (1379546898,), (1379546899,), (1379546900,), (1379546901,), (1379546983,), (1379546984,), (1379546985,), (1379546986,), (1379546987,), (1379546988,), (1379547012,), (1379547013,), (1379547014,), (1379547308,), (1379547301,), (1379547303,), (1379547305,), (1379547576,), (1379547577,), (1379547578,), (1379547579,), (1379547580,), (1379547651,), (1379547652,), (1379547653,), (1379547703,), (1379547704,), (1379547705,), (1379547706,), (1379547707,), (1379548021,), (1379548023,), (1379548025,), (1379548027,), (1379548029,), (1379548031,), (1379548496,), (1379548499,), (1379548502,), (1379548505,), (1379548797,), (1379548799,), (1379548801,), (1379548803,), (1379548805,), (1379548807,), (1379549103,), (1379549104,), (1379549105,), (1379549106,), (1379549496,), (1379549498,), (1379549500,), (1379549502,), (1379549504,), (1379549506,), (1379549880,), (1379549882,), (1379549884,), (1379550159,), (1379550160,), (1379550161,), (1379550360,), (1379550362,), (1379550363,), (1379550692,), (1379550694,), (1379550696,), (1379550698,), (1379550700,), (1379550938,), (1379550940,), (1379550942,), (1379551080,), (1379551082,), (1379551464,), (1379551453,), (1379551455,), (1379551457,), (1379551460,), (1379551462,), (1379551932,), (1379551934,), (1379551936,), (1379552132,), (1379552133,), (1379552134,), (1379553189,), (1379565635,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'nb_upload': 23, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26229406]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] map_info['map_portfolio_photo'] : {26229406: [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309]} final : True mtd_id 4302 list_pids : [1379418345, 1379415271, 1379413809, 1379413717, 1379413651, 1379413650, 1379413649, 1379413648, 1379413593, 1379413592, 1379413591, 1379413590, 1379413559, 1379413558, 1379413557, 1379413556, 1379413555, 1379413414, 1379413412, 1379413410, 1379413408, 1379413310, 1379413309] Looping around the photos to save general results len do output : 1 /26229406Didn'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, '3608294') ('4302', '26229406', '1379418345', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379415271', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413809', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413717', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413651', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413650', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413649', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413648', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413593', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413592', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413591', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413590', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413559', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413558', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413557', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413556', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413555', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413414', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413412', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413410', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413408', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413310', None, None, None, None, None, '3608294') ('4302', None, None, None, None, None, None, None, '3608294') ('4302', '26229406', '1379413309', None, None, None, None, None, '3608294') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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, '26229406', 'None', None, None, None, None, '3608294'), ('4302', '26229406', '1379418345', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379415271', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413809', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413717', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413651', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413650', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413649', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413648', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413593', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413592', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413591', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413590', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413559', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413558', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413557', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413556', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413555', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413414', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413412', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413410', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413408', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413310', None, None, None, None, None, '3608294'), ('4302', '26229406', '1379413309', None, None, None, None, None, '3608294')] time used for this insertion : 0.015918493270874023 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.00155782699585 time spend to save output : 0.016236066818237305 total time spend for step 5 : 9.017793893814087 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 (3608294) 2.71user 2.18system 0:15.35elapsed 31%CPU (0avgtext+0avgdata 169100maxresident)k 216inputs+11984outputs (2major+77930minor)pagefaults 0swaps