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 : 2966506 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 (3961551) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3961551) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918277 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3961551'] with mtr_portfolio_ids : ['27918277'] and first list_photo_ids : [] new path : /proc/2966506/ Name: python3 Umask: 0002 State: R (running) Tgid: 2966506 Ngid: 0 Pid: 2966506 PPid: 2966505 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2966506 NSpid: 2966506 NSpgid: 2964379 NSsid: 2964379 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99440 kB VmRSS: 99440 kB RssAnon: 59904 kB RssFile: 39536 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 620 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: 53 nonvoluntary_ctxt_switches: 114 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2966506', 'Ngid': '0', 'Pid': '2966506', 'PPid': '2966505', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2966506', 'NSpid': '2966506', 'NSpgid': '2964379', 'NSsid': '2964379', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99440 kB', 'VmRSS': '99440 kB', 'RssAnon': '59904 kB', 'RssFile': '39536 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '620 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': '53', 'nonvoluntary_ctxt_switches': '114'} ('datou_batch_current', '2966506', '1106908', '0', '1106884', '865636', '99440', b'', 'marlene', '3961551') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27918277) 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 (3961551 ) ) 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 (27918277) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1390162631, 'portfolio_id': 27918277}, {'photo_id': 1390162627, 'portfolio_id': 27918277}, {'photo_id': 1390162624, 'portfolio_id': 27918277}, {'photo_id': 1390162622, 'portfolio_id': 27918277}, {'photo_id': 1390162537, 'portfolio_id': 27918277}, {'photo_id': 1390162422, 'portfolio_id': 27918277}, {'photo_id': 1390162411, 'portfolio_id': 27918277}] map_portfolio_id_photo_id: {27918277: [1390162631, 1390162627, 1390162624, 1390162622, 1390162537, 1390162422, 1390162411]} ##### 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.014730453491210938 #### 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 Oct 29 19:36:56 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 (27918277) 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 : 27918277 get user id for portfolio 27918277 get sub ptf for main ptf 27918277, type 3726 and hashtags ['flou', 'papier', 'mal_croppe', 'Carton_gris', 'cartonnette', 'metal', 'Carton_brun', 'environnement', 'kraft', 'autre_refus', 'Teint_Dans_La_Masse', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27918277 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','Carton_gris','cartonnette','metal','Carton_brun','environnement','kraft','autre_refus','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27918277 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','Carton_gris','cartonnette','metal','Carton_brun','environnement','kraft','autre_refus','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 27918277, 'sub_port_id': 27918335, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850505, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 27918277, 'sub_port_id': 27918336, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850506, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'autre_refus': {'main_port_id': 27918277, 'sub_port_id': 27918337, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850507, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'environnement': {'main_port_id': 27918277, 'sub_port_id': 27918338, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850508, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'papier': {'main_port_id': 27918277, 'sub_port_id': 27918339, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850509, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'Carton_gris': {'main_port_id': 27918277, 'sub_port_id': 27918340, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850510, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'plastique': {'main_port_id': 27918277, 'sub_port_id': 27918341, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850511, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'kraft': {'main_port_id': 27918277, 'sub_port_id': 27918343, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850512, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'flou': {'main_port_id': 27918277, 'sub_port_id': 27918344, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850513, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'Carton_brun': {'main_port_id': 27918277, 'sub_port_id': 27918345, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850514, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'metal': {'main_port_id': 27918277, 'sub_port_id': 27918346, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850515, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}, 'mal_croppe': {'main_port_id': 27918277, 'sub_port_id': 27918347, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850516, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27918335 , 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=27918277 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 (27918335) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918336 , 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=27918277 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 (27918336) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918337 , 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=27918277 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 (27918337) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918338 , 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=27918277 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 (27918338) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918339 , 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=27918277 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 (27918339) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918340 , 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=27918277 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 (27918340) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918341 , 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=27918277 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 (27918341) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918343 , 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=27918277 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 (27918343) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918344 , 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=27918277 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 (27918344) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918345 , 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=27918277 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 (27918345) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918346 , 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=27918277 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 (27918346) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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 27918347 , 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=27918277 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 (27918347) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27918277) result : ((1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) 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`=27918277 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','Carton_gris','cartonnette','metal','Carton_brun','environnement','kraft','autre_refus','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27918277 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','mal_croppe','Carton_gris','cartonnette','metal','Carton_brun','environnement','kraft','autre_refus','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 27918277, 'sub_port_id': 27918352, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850517, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 27918277, 'sub_port_id': 27918353, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850518, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'autre_refus': {'main_port_id': 27918277, 'sub_port_id': 27918354, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850519, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'environnement': {'main_port_id': 27918277, 'sub_port_id': 27918355, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850520, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'papier': {'main_port_id': 27918277, 'sub_port_id': 27918357, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850521, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'Carton_gris': {'main_port_id': 27918277, 'sub_port_id': 27918358, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850522, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'plastique': {'main_port_id': 27918277, 'sub_port_id': 27918359, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850523, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'kraft': {'main_port_id': 27918277, 'sub_port_id': 27918360, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850524, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'flou': {'main_port_id': 27918277, 'sub_port_id': 27918361, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850525, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'Carton_brun': {'main_port_id': 27918277, 'sub_port_id': 27918362, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850526, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'metal': {'main_port_id': 27918277, 'sub_port_id': 27918363, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850527, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}, 'mal_croppe': {'main_port_id': 27918277, 'sub_port_id': 27918364, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18850528, 'last_updated_at': datetime.datetime(2025, 10, 29, 19, 35, 34), 'last_updated_at_desc': datetime.datetime(2025, 10, 29, 19, 35, 34), 'last_updated_at_asc': datetime.datetime(2025, 10, 29, 19, 35, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918352,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918335 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918353,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918336 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918354,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918337 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918355,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918338 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918357,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918339 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918358,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918340 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918359,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918341 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918360,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918343 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918361,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918344 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918362,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918345 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918363,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918346 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27918364,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27918347 lien utilise dans velours : https://marlene.fotonower.com/velours/27918352,27918353,27918354,27918355,27918357,27918358,27918359,27918360,27918361,27918362,27918363,27918364?tags=cartonnette,Teint_Dans_La_Masse,autre_refus,environnement,papier,Carton_gris,plastique,kraft,flou,Carton_brun,metal,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27918277]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390162631, 1390162627, 1390162624, 1390162622] map_info['map_portfolio_photo'] : {27918277: [1390162631, 1390162627, 1390162624, 1390162622, 1390162537, 1390162422, 1390162411]} final : False mtd_id 4302 list_pids : [1390162631, 1390162627, 1390162624, 1390162622] Looping around the photos to save general results len do output : 1 /27918277. 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, '3961551') ('4302', '27918277', '1390162631', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162627', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162624', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162622', None, None, None, None, None, '3961551') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 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, '27918277', "{'cartonnette': 27918335, 'Teint_Dans_La_Masse': 27918336, 'autre_refus': 27918337, 'environnement': 27918338, 'papier': 27918339, 'Carton_gris': 27918340, 'plastique': 27918341, 'kraft': 27918343, 'flou': 27918344, 'Carton_brun': 27918345, 'metal': 27918346, 'mal_croppe': 27918347}", None, None, None, None, '3961551'), ('4302', '27918277', '1390162631', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162627', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162624', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162622', None, None, None, None, None, '3961551')] time used for this insertion : 0.009677648544311523 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4915990829467773 time spend to save output : 0.009945392608642578 total time spend for step 1 : 1.50154447555542 step2:final Wed Oct 29 19:36:57 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 (27918277) 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 27918277 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1390162537,1390162422,1390162411,1390162631,1390162627,1390162624,1390162622); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27918277]) Inside saveOutput : final : False verbose : True original output for save of step final : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',)} new output for save of step final : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',)} [1390162631, 1390162627, 1390162624, 1390162622] map_info['map_portfolio_photo'] : {27918277: [1390162631, 1390162627, 1390162624, 1390162622, 1390162537, 1390162422, 1390162411]} final : False mtd_id 4302 list_pids : [1390162631, 1390162627, 1390162624, 1390162622] Looping around the photos to save general results len do output : 4 /1390162631.Didn't retrieve data . /1390162627.Didn't retrieve data . /1390162624.Didn't retrieve data . /1390162622.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, '3961551') ('4302', '27918277', '1390162631', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162627', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162624', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162622', None, None, None, None, None, '3961551') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27918277', '1390162631', '0.0', None, None, None, None, '3961551'), ('4302', '27918277', '1390162627', '0.0', None, None, None, None, '3961551'), ('4302', '27918277', '1390162624', '0.0', None, None, None, None, '3961551'), ('4302', '27918277', '1390162622', '0.0', None, None, None, None, '3961551')] time used for this insertion : 0.010347127914428711 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.052465200424194336 time spend to save output : 0.01061558723449707 total time spend for step 2 : 0.0630807876586914 step3:velours_tree Wed Oct 29 19:36:57 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 : {27918277: [{'cartonnette': 27918335, 'Teint_Dans_La_Masse': 27918336, 'autre_refus': 27918337, 'environnement': 27918338, 'papier': 27918339, 'Carton_gris': 27918340, 'plastique': 27918341, 'kraft': 27918343, 'flou': 27918344, 'Carton_brun': 27918345, 'metal': 27918346, 'mal_croppe': 27918347}]} input_args_next_step : {27918277: ()} output_args : {27918277: [{'cartonnette': 27918335, 'Teint_Dans_La_Masse': 27918336, 'autre_refus': 27918337, 'environnement': 27918338, 'papier': 27918339, 'Carton_gris': 27918340, 'plastique': 27918341, 'kraft': 27918343, 'flou': 27918344, 'Carton_brun': 27918345, 'metal': 27918346, 'mal_croppe': 27918347}]} args : 27918277 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'cartonnette': 27918335, 'Teint_Dans_La_Masse': 27918336, 'autre_refus': 27918337, 'environnement': 27918338, 'papier': 27918339, 'Carton_gris': 27918340, 'plastique': 27918341, 'kraft': 27918343, 'flou': 27918344, 'Carton_brun': 27918345, 'metal': 27918346, 'mal_croppe': 27918347},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27918277) 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([27918277]) 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.4974653720855713 time spend to save output : 5.340576171875e-05 total time spend for step 3 : 0.49751877784729004 step4:send_mail_cod Wed Oct 29 19:36:58 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 : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',)} input_args_next_step : {1390162631: ()} output_args : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',)} args : 1390162631 depend.output_id : 0 input_args_next_step : {1390162631: ('0.0',), 1390162627: ()} output_args : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',)} args : 1390162627 depend.output_id : 0 input_args_next_step : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ()} output_args : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',)} args : 1390162624 depend.output_id : 0 input_args_next_step : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ()} output_args : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',)} args : 1390162622 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 : {27918277: [{'cartonnette': 27918335, 'Teint_Dans_La_Masse': 27918336, 'autre_refus': 27918337, 'environnement': 27918338, 'papier': 27918339, 'Carton_gris': 27918340, 'plastique': 27918341, 'kraft': 27918343, 'flou': 27918344, 'Carton_brun': 27918345, 'metal': 27918346, 'mal_croppe': 27918347}]} input_args_next_step : {1390162631: ('0.0',), 1390162627: ('0.0',), 1390162624: ('0.0',), 1390162622: ('0.0',), 27918277: ()} output_args : {27918277: [{'cartonnette': 27918335, 'Teint_Dans_La_Masse': 27918336, 'autre_refus': 27918337, 'environnement': 27918338, 'papier': 27918339, 'Carton_gris': 27918340, 'plastique': 27918341, 'kraft': 27918343, 'flou': 27918344, 'Carton_brun': 27918345, 'metal': 27918346, 'mal_croppe': 27918347}]} args : 27918277 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 :5, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27918277) 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_view ph WHERE photo_id IN (1390162631,1390162627,1390162624,1390162622) Found this number of photos: 4 ##### Call download_photos : nb_thread : 5 begin to download photo : 1390162622 begin to download photo : 1390162624 begin to download photo : 1390162627 begin to download photo : 1390162631 download finish for photo 1390162624 download finish for photo 1390162622 download finish for photo 1390162631 download finish for photo 1390162627 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette279183351761763018/ imagette279183371761763018/ imagette279183411761763018/ imagette279183431761763018/ imagette279183441761763018/ imagette279183461761763018/ imagette279183471761763018/ imagette279183361761763018/ imagette279183401761763018/ imagette279183451761763018/ length of list_filenames : 4 ; length of list_pids : 4 ; length of list_args : 4 results_Auto_P27918277_29-10-2025_19_36_58.pdf 27918335 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918335 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183351761763018 27918337 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918337 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183371761763018 27918341 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918341 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183411761763018 27918343 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918343 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183431761763018 27918344 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918344 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183441761763018 27918346 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918346 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183461761763018 27918347 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918347 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183471761763018 27918336 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918336 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183361761763018 27918340 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918340 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183401761763018 27918345 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918345 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette279183451761763018 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27918277 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27918352,27918353,27918354,27918355,27918357,27918358,27918359,27918360,27918361,27918362,27918363,27918364?tags=cartonnette,Teint_Dans_La_Masse,autre_refus,environnement,papier,Carton_gris,plastique,kraft,flou,Carton_brun,metal,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1390162631] : ('0.0',) no score found for photo 1390162631 We are sending mail with results at report@fotonower.com args[1390162627] : ('0.0',) no score found for photo 1390162627 We are sending mail with results at report@fotonower.com args[1390162624] : ('0.0',) no score found for photo 1390162624 We are sending mail with results at report@fotonower.com args[1390162622] : ('0.0',) no score found for photo 1390162622 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918277 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_P27918277_29-10-2025_19_36_58.pdf results_Auto_P27918277_29-10-2025_19_36_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918277_29-10-2025_19_36_58.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','27918277','results_Auto_P27918277_29-10-2025_19_36_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918277_29-10-2025_19_36_58.pdf','pdf','','0.06','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27918277]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1390162631, 1390162627, 1390162624, 1390162622] map_info['map_portfolio_photo'] : {27918277: [1390162631, 1390162627, 1390162624, 1390162622, 1390162537, 1390162422, 1390162411]} final : False mtd_id 4302 list_pids : [1390162631, 1390162627, 1390162624, 1390162622] 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, '3961551') ('4302', '27918277', '1390162631', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162627', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162624', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162622', None, None, None, None, None, '3961551') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 4 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', '27918277', '1390162631', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162627', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162624', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162622', None, None, None, None, None, '3961551')] time used for this insertion : 0.01729893684387207 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0893113613128662 time spend to save output : 0.017473936080932617 total time spend for step 4 : 1.1067852973937988 step5:split_time_score Wed Oct 29 19:36:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : ['27918277'] 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 : [('27918277',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27918277) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1390162624: {'path': 'temp/1761763018_2966506_1390162624_49f624655e97283f9b31daf4828555ab.jpg', 'extension': 'jpg'}, 1390162622: {'path': 'temp/1761763018_2966506_1390162622_1926ba4e8ccef669c87b2553f65709fa.jpg', 'extension': 'jpg'}, 1390162631: {'path': 'temp/1761763018_2966506_1390162631_bcb06457bb4d4a18f213e5f28123e872.jpg', 'extension': 'jpg'}, 1390162627: {'path': 'temp/1761763018_2966506_1390162627_e92c8fe6a7bd0895eb92d0779d474200.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 = 27918277; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27918277 group by h (('19', 7),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27918277 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 (27918277) 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 (27918277) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29102025 27918277 Nombre de photos uploadées : 7 / 23040 (0%) 29102025 27918277 Nombre de photos taguées (types de déchets): 0 / 7 (0%) 29102025 27918277 Nombre de photos taguées (volume) : 0 / 7 (0%) [{'photo_id': 1390162537, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/29/8c28cf7d2961b82b467de2be49e73170.jpg', 'username': None, 'uploaded_at': 1761762808, 'text': 'image_29102025_19_32_04_10144.jpg'}, {'photo_id': 1390162422, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/29/26997529413527f293c59bf8d96bb644.jpg', 'username': None, 'uploaded_at': 1761762808, 'text': 'image_29102025_19_32_14_10140.jpg'}, {'photo_id': 1390162411, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/29/5b854c96a3cd497f5c4661c4f4015c5a.jpg', 'username': None, 'uploaded_at': 1761762808, 'text': 'image_29102025_19_32_24_10133.jpg'}, {'photo_id': 1390162631, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/29/bcb06457bb4d4a18f213e5f28123e872.jpg', 'username': None, 'uploaded_at': 1761762877, 'text': 'image_29102025_19_32_35_10132.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ??????? elapsed_time : fill_and_build_computed_from_old_data 0.0004177093505859375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27918277, '2025-10-29' ) 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-10-29' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2470186,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19855761528015137 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= 2470186 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27916491, 'dashboard_result_id': 16516545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27916492, 'dashboard_result_id': 16516546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27916505, 'dashboard_result_id': 16516547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27916518, 'dashboard_result_id': 16516548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27916519, 'dashboard_result_id': 16516549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913667, 'dashboard_result_id': 16516550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913667_29-10-2025_18_06_13.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27914127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27914128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27914129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27914130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27914133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27914134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27914137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27914138, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913674, 'dashboard_result_id': 16516551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913674_29-10-2025_18_06_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27914087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27914088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27914090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27914091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27914092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27914093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27914097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27914098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914101, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913676, 'dashboard_result_id': 16516552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913676_29-10-2025_18_04_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913972, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913679, 'dashboard_result_id': 16516553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913679_29-10-2025_18_04_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913913, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913681, 'dashboard_result_id': 16516554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913681_29-10-2025_18_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913787, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913683, 'dashboard_result_id': 16516555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913683_29-10-2025_18_03_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913847, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913685, 'dashboard_result_id': 16516556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913685_29-10-2025_18_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913761, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913688, 'dashboard_result_id': 16516557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913688_29-10-2025_18_02_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27913692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913703, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27910286, 'dashboard_result_id': 16516558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27910286_29-10-2025_17_00_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27910313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27910314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27910315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27910316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27910317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27910318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27910319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27910320, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27910321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27910322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27910323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27910324, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27909969, 'dashboard_result_id': 16516559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909969_29-10-2025_16_43_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27909988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27909989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27909990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27909991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27909992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27909993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27909994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27909995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27909996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27909997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27909998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27909999, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27909831, 'dashboard_result_id': 16516560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909831_29-10-2025_16_50_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27909850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27909851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27909852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27909853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27909854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27909855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27909856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27909857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27909858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27909859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27909860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27909861, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27910478, 'dashboard_result_id': 16516561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27910478_29-10-2025_17_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27910621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27910622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27910623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27910624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27910625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27910626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27910627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27910628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27910629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27910630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27910631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27910632, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27911283, 'dashboard_result_id': 16516562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27911283_29-10-2025_17_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27911364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27911365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27911366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27911367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27911368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27911369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27911370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27911371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27911372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27911373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27911374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27911375, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27912109, 'dashboard_result_id': 16516563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27912109_29-10-2025_17_54_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27912129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27912130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27912131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27912132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27912133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27912134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27912135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27912136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27912137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27912138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27912139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27912140, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27913988, 'dashboard_result_id': 16516564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913988_29-10-2025_18_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914003, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27914554, 'dashboard_result_id': 16516565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27914554_29-10-2025_18_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27914598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27914600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27914601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27914602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27914604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27914605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27914606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27914608, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27915142, 'dashboard_result_id': 16516566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915142_29-10-2025_18_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27915181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27915182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27915183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27915184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27915185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27915186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27915187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27915188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27915189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27915190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27915191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27915192, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27915993, 'dashboard_result_id': 16516567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915993_29-10-2025_19_04_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27916010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27916011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27916012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27916013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27916014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27916015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27916016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27916018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27916019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27916020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27916021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27916022, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27916767, 'dashboard_result_id': 16516568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916767_29-10-2025_19_20_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27916828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27916829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27916830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27916831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27916832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27916833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27916834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27916835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27916836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27916837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27916838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27916839, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27917681, 'dashboard_result_id': 16516569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27917681_29-10-2025_19_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27917725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27917726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27917727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27917728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27917729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27917730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27917731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27917732, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27917733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27917734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27917735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27917736, 'pht': 3726}}"}, {'dashboat_entry_day': 2470186, 'dashboard_run_id': 2478513, 'mtr_portfolio_id': 27918277, 'dashboard_result_id': 16516570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918277_29-10-2025_19_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27918335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27918336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27918337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27918338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27918339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27918340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27918341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27918343, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27918344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27918345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27918346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27918347, '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 = 27916491 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 = 27916491 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 = 27916491 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916491 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 = 27916491 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 = 27916491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916491_29-10-2025_19_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27916491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916491_29-10-2025_19_02_01.pdf'}" where mtr_portfolio_id = 27916491 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916492 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 = 27916492 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 = 27916492 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916492 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 = 27916492 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 = 27916492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916492_29-10-2025_19_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27916492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916492_29-10-2025_19_01_31.pdf'}" where mtr_portfolio_id = 27916492 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916505 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 = 27916505 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 = 27916505 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916505 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 = 27916505 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 = 27916505 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916505_29-10-2025_19_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27916505 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916505_29-10-2025_19_01_33.pdf'}" where mtr_portfolio_id = 27916505 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916518 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 = 27916518 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 = 27916518 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916518 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 = 27916518 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 = 27916518 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916518_29-10-2025_19_01_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27916518 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916518_29-10-2025_19_01_16.pdf'}" where mtr_portfolio_id = 27916518 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916519 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 = 27916519 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 = 27916519 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27916519 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 = 27916519 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 = 27916519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916519_29-10-2025_19_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27916519 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916519_29-10-2025_19_01_02.pdf'}" where mtr_portfolio_id = 27916519 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913667 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 = 27913667 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 = 27913667 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913667 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 = 27913667 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 = 27913667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913667_29-10-2025_19_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913667_29-10-2025_19_00_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27914127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27914128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27914129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27914130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27914133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27914134, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27914137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27914138, 'pht': 3726}}" where mtr_portfolio_id = 27913667 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913674 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 = 27913674 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 = 27913674 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913674 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 = 27913674 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 = 27913674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913674_29-10-2025_18_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913674_29-10-2025_18_06_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27914087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27914088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27914090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27914091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27914092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27914093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27914097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27914098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914101, 'pht': 3726}}" where mtr_portfolio_id = 27913674 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913676 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 = 27913676 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 = 27913676 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913676 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 = 27913676 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 = 27913676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913676_29-10-2025_18_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913676_29-10-2025_18_04_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913972, 'pht': 3726}}" where mtr_portfolio_id = 27913676 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913679 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 = 27913679 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 = 27913679 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913679 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 = 27913679 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 = 27913679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913679_29-10-2025_18_04_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913679_29-10-2025_18_04_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913907, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913913, 'pht': 3726}}" where mtr_portfolio_id = 27913679 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913681 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 = 27913681 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 = 27913681 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913681 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 = 27913681 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 = 27913681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913681_29-10-2025_18_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913681_29-10-2025_18_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913787, 'pht': 3726}}" where mtr_portfolio_id = 27913681 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913683 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 = 27913683 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 = 27913683 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913683 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 = 27913683 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 = 27913683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913683_29-10-2025_18_03_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913683_29-10-2025_18_03_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913847, 'pht': 3726}}" where mtr_portfolio_id = 27913683 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913685 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 = 27913685 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 = 27913685 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913685 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 = 27913685 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 = 27913685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913685_29-10-2025_18_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913685 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913685_29-10-2025_18_02_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913761, 'pht': 3726}}" where mtr_portfolio_id = 27913685 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913688 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 = 27913688 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 = 27913688 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27913688 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 = 27913688 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 = 27913688 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913688_29-10-2025_18_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913688 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913688_29-10-2025_18_02_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27913692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27913694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27913696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27913697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27913703, 'pht': 3726}}" where mtr_portfolio_id = 27913688 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27910286 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 = 27910286 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 = 27910286 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27910286 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 = 27910286 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 = 27910286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27910286_29-10-2025_17_00_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27910286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27910286_29-10-2025_17_00_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27910313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27910314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27910315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27910316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27910317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27910318, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27910319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27910320, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27910321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27910322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27910323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27910324, 'pht': 3726}}" where mtr_portfolio_id = 27910286 and dashboard_run_id = 2478513 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27909969 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': 3960170, 'mtr_portfolio_id': 27909969, 'created_at': datetime.datetime(2025, 10, 29, 16, 43, 30), 'result': '0.08467262785168884', 'result_long': None, 'result_double': None}] Qualite : 0.08467262785168884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27909969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909969_29-10-2025_16_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27909969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909969_29-10-2025_16_43_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27909988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27909989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27909990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27909991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27909992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27909993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27909994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27909995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27909996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27909997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27909998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27909999, 'pht': 3726}}" where mtr_portfolio_id = 27909969 and dashboard_run_id = 2478513 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`=27909969 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516559, 0.08467262785168884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909969_29-10-2025_16_43_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27909988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27909989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27909990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27909991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27909992, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27909993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27909994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27909995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27909996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27909997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27909998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27909999, '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 = 27909831 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': 3960160, 'mtr_portfolio_id': 27909831, 'created_at': datetime.datetime(2025, 10, 29, 16, 50, 29), 'result': '0.0683213945083424', 'result_long': None, 'result_double': None}] Qualite : 0.0683213945083424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27909831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909831_29-10-2025_16_50_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27909831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909831_29-10-2025_16_50_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27909850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27909851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27909852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27909853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27909854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27909855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27909856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27909857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27909858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27909859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27909860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27909861, 'pht': 3726}}" where mtr_portfolio_id = 27909831 and dashboard_run_id = 2478513 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`=27909831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516560, 0.0683213945083424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27909831_29-10-2025_16_50_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27909850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27909851, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27909852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27909853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27909854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27909855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27909856, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27909857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27909858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27909859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27909860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27909861, '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 = 27910478 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': 3960266, 'mtr_portfolio_id': 27910478, 'created_at': datetime.datetime(2025, 10, 29, 17, 4, 58), 'result': '0.08615497834677964', 'result_long': None, 'result_double': None}] Qualite : 0.08615497834677964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27910478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27910478_29-10-2025_17_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27910478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27910478_29-10-2025_17_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27910621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27910622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27910623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27910624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27910625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27910626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27910627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27910628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27910629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27910630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27910631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27910632, 'pht': 3726}}" where mtr_portfolio_id = 27910478 and dashboard_run_id = 2478513 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`=27910478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516561, 0.08615497834677964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27910478_29-10-2025_17_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27910621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27910622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27910623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27910624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27910625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27910626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27910627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27910628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27910629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27910630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27910631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27910632, '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 = 27911283 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': 3960456, 'mtr_portfolio_id': 27911283, 'created_at': datetime.datetime(2025, 10, 29, 17, 18, 58), 'result': '0.062256139692875676', 'result_long': None, 'result_double': None}] Qualite : 0.062256139692875676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27911283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27911283_29-10-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27911283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27911283_29-10-2025_17_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27911364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27911365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27911366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27911367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27911368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27911369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27911370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27911371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27911372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27911373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27911374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27911375, 'pht': 3726}}" where mtr_portfolio_id = 27911283 and dashboard_run_id = 2478513 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`=27911283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516562, 0.062256139692875676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27911283_29-10-2025_17_18_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27911364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27911365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27911366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27911367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27911368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27911369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27911370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27911371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27911372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27911373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27911374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27911375, '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 = 27912109 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': 3960689, 'mtr_portfolio_id': 27912109, 'created_at': datetime.datetime(2025, 10, 29, 17, 54, 56), 'result': '0.05975999916530395', 'result_long': None, 'result_double': None}] Qualite : 0.05975999916530395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27912109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27912109_29-10-2025_17_54_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27912109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27912109_29-10-2025_17_54_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27912129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27912130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27912131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27912132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27912133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27912134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27912135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27912136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27912137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27912138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27912139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27912140, 'pht': 3726}}" where mtr_portfolio_id = 27912109 and dashboard_run_id = 2478513 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`=27912109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516563, 0.05975999916530395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27912109_29-10-2025_17_54_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27912129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27912130, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27912131, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27912132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27912133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27912134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27912135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27912136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27912137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27912138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27912139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27912140, '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 = 27913988 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': 3961083, 'mtr_portfolio_id': 27913988, 'created_at': datetime.datetime(2025, 10, 29, 18, 19, 31), 'result': '0.047484922931884124', 'result_long': None, 'result_double': None}] Qualite : 0.047484922931884124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27913988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913988_29-10-2025_18_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27913988 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913988_29-10-2025_18_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914003, 'pht': 3726}}" where mtr_portfolio_id = 27913988 and dashboard_run_id = 2478513 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`=27913988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516564, 0.047484922931884124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27913988_29-10-2025_18_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27913992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27913993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27913994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27913995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27913996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27913997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27913998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27913999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914003, '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 = 27914554 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': 3961142, 'mtr_portfolio_id': 27914554, 'created_at': datetime.datetime(2025, 10, 29, 18, 35, 1), 'result': '0.03137513362402374', 'result_long': None, 'result_double': None}] Qualite : 0.03137513362402374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27914554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27914554_29-10-2025_18_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27914554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27914554_29-10-2025_18_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27914598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27914600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27914601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27914602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27914604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27914605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27914606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27914608, 'pht': 3726}}" where mtr_portfolio_id = 27914554 and dashboard_run_id = 2478513 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`=27914554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516565, 0.03137513362402374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27914554_29-10-2025_18_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27914597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27914598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27914599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27914600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27914601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27914602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27914603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27914604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27914605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27914606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27914607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27914608, '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 = 27915142 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': 3961221, 'mtr_portfolio_id': 27915142, 'created_at': datetime.datetime(2025, 10, 29, 18, 49), 'result': '0.0463705624951984', 'result_long': None, 'result_double': None}] Qualite : 0.0463705624951984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27915142 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915142_29-10-2025_18_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27915142 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915142_29-10-2025_18_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27915181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27915182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27915183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27915184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27915185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27915186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27915187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27915188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27915189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27915190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27915191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27915192, 'pht': 3726}}" where mtr_portfolio_id = 27915142 and dashboard_run_id = 2478513 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`=27915142 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516566, 0.0463705624951984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915142_29-10-2025_18_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27915181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27915182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27915183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27915184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27915185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27915186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27915187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27915188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27915189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27915190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27915191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27915192, '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 = 27915993 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': 3961322, 'mtr_portfolio_id': 27915993, 'created_at': datetime.datetime(2025, 10, 29, 19, 4, 56), 'result': '0.06391968600618841', 'result_long': None, 'result_double': None}] Qualite : 0.06391968600618841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27915993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915993_29-10-2025_19_04_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27915993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915993_29-10-2025_19_04_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27916010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27916011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27916012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27916013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27916014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27916015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27916016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27916018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27916019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27916020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27916021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27916022, 'pht': 3726}}" where mtr_portfolio_id = 27915993 and dashboard_run_id = 2478513 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`=27915993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516567, 0.06391968600618841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27915993_29-10-2025_19_04_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27916010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27916011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27916012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27916013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27916014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27916015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27916016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27916018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27916019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27916020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27916021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27916022, '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 = 27916767 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': 3961401, 'mtr_portfolio_id': 27916767, 'created_at': datetime.datetime(2025, 10, 29, 19, 20, 59), 'result': '0.04151591212020925', 'result_long': None, 'result_double': None}] Qualite : 0.04151591212020925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27916767 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916767_29-10-2025_19_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27916767 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916767_29-10-2025_19_20_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27916828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27916829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27916830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27916831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27916832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27916833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27916834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27916835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27916836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27916837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27916838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27916839, 'pht': 3726}}" where mtr_portfolio_id = 27916767 and dashboard_run_id = 2478513 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`=27916767 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516568, 0.04151591212020925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27916767_29-10-2025_19_20_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27916828, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27916829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27916830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27916831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27916832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27916833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27916834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27916835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27916836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27916837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27916838, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27916839, '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 = 27917681 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': 3961482, 'mtr_portfolio_id': 27917681, 'created_at': datetime.datetime(2025, 10, 29, 19, 34, 59), 'result': '0.05502125820267316', 'result_long': None, 'result_double': None}] Qualite : 0.05502125820267316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27917681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27917681_29-10-2025_19_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27917681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27917681_29-10-2025_19_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27917725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27917726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27917727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27917728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27917729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27917730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27917731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27917732, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27917733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27917734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27917735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27917736, 'pht': 3726}}" where mtr_portfolio_id = 27917681 and dashboard_run_id = 2478513 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`=27917681 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16516569, 0.05502125820267316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27917681_29-10-2025_19_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27917725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27917726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27917727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27917728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27917729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27917730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27917731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27917732, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27917733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27917734, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27917735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27917736, '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 = 27918277 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 = 27918277 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 = 27918277 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27918277 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 = 27918277 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 = 27918277 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918277_29-10-2025_19_36_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27918277 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918277_29-10-2025_19_36_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27918335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27918336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27918337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27918338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27918339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27918340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27918341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27918343, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27918344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27918345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27918346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27918347, 'pht': 3726}}" where mtr_portfolio_id = 27918277 and dashboard_run_id = 2478513 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27916491,27916492,27916505,27916518,27916519,27913667,27913674,27913676,27913679,27913681,27913683,27913685,27913688,27910286,27909969,27909831,27910478,27911283,27912109,27913988,27914554,27915142,27915993,27916767,27917681,27918277) result : ((1390112990,), (1390113072,), (1390113148,), (1390113192,), (1390113521,), (1390113553,), (1390113566,), (1390113720,), (1390113736,), (1390113765,), (1390113808,), (1390113848,), (1390113906,), (1390114364,), (1390114368,), (1390114372,), (1390114374,), (1390114376,), (1390114390,), (1390114395,), (1390114399,), (1390114437,), (1390114506,), (1390114966,), (1390114969,), (1390114971,), (1390115293,), (1390115294,), (1390115349,), (1390115352,), (1390115392,), (1390115394,), (1390115429,), (1390115434,), (1390115465,), (1390115469,), (1390115615,), (1390115622,), (1390115623,), (1390115630,), (1390115889,), (1390115892,), (1390115897,), (1390116118,), (1390116119,), (1390116120,), (1390116221,), (1390116260,), (1390116297,), (1390116334,), (1390117048,), (1390117154,), (1390117228,), (1390117288,), (1390117325,), (1390117716,), (1390117760,), (1390117800,), (1390117845,), (1390117880,), (1390118475,), (1390118654,), (1390118678,), (1390118700,), (1390118723,), (1390118797,), (1390118848,), (1390118901,), (1390119593,), (1390122241,), (1390112466,), (1390112499,), (1390112538,), (1390112582,), (1390112627,), (1390112663,), (1390113244,), (1390113291,), (1390113388,), (1390113391,), (1390113392,), (1390113394,), (1390113396,), (1390113398,), (1390113568,), (1390113570,), (1390113572,), (1390113646,), (1390113653,), (1390113657,), (1390113670,), (1390113675,), (1390113679,), (1390114071,), (1390114110,), (1390114146,), (1390114185,), (1390114225,), (1390114264,), (1390114378,), (1390114576,), (1390114798,), (1390114850,), (1390114904,), (1390114936,), (1390114949,), (1390114958,), (1390114974,), (1390114977,), (1390114981,), (1390114989,), (1390114993,), (1390115037,), (1390115075,), (1390115112,), (1390115147,), (1390115500,), (1390115505,), (1390115637,), (1390115641,), (1390115727,), (1390115763,), (1390115796,), (1390115817,), (1390115820,), (1390115829,), (1390115900,), (1390115902,), (1390115907,), (1390115915,), (1390115917,), (1390115921,), (1390115966,), (1390116005,), (1390116048,), (1390116121,), (1390116123,), (1390116126,), (1390116373,), (1390116414,), (1390116550,), (1390116588,), (1390116629,), (1390116671,), (1390116719,), (1390116789,), (1390117361,), (1390117396,), (1390117399,), (1390117400,), (1390117463,), (1390117499,), (1390117535,), (1390117895,), (1390117974,), (1390118017,), (1390118062,), (1390118107,), (1390118161,), (1390118224,), (1390118733,), (1390118950,), (1390118969,), (1390119045,), (1390119127,), (1390119136,), (1390119168,), (1390119185,), (1390119200,), (1390119223,), (1390119654,), (1390119697,), (1390122285,), (1390122320,), (1390122363,), (1390122387,), (1390122414,), (1390122787,), (1390122817,), (1390122844,), (1390122873,), (1390123080,), (1390123108,), (1390123138,), (1390123164,), (1390123246,), (1390123330,), (1390124049,), (1390124145,), (1390124299,), (1390124901,), (1390124924,), (1390124957,), (1390124979,), (1390125024,), (1390125043,), (1390125322,), (1390125433,), (1390125496,), (1390125542,), (1390125611,), (1390125705,), (1390125797,), (1390126225,), (1390126228,), (1390126257,), (1390126258,), (1390126297,), (1390126301,), (1390126339,), (1390126347,), (1390127033,), (1390127060,), (1390127091,), (1390127113,), (1390127146,), (1390127173,), (1390127992,), (1390128537,), (1390128611,), (1390128668,), (1390128738,), (1390128802,), (1390128859,), (1390129402,), (1390129610,), (1390130048,), (1390130114,), (1390130175,), (1390119481,), (1390119499,), (1390119534,), (1390120238,), (1390120289,), (1390120337,), (1390120385,), (1390120433,), (1390120490,), (1390120746,), (1390120747,), (1390120795,), (1390120796,), (1390120824,), (1390120826,), (1390120847,), (1390120848,), (1390120873,), (1390120879,), (1390120905,), (1390120906,), (1390121091,), (1390121193,), (1390121410,), (1390121628,), (1390121854,), (1390122041,), (1390122695,), (1390122763,), (1390123760,), (1390123868,), (1390123965,), (1390124525,), (1390124559,), (1390124601,), (1390124663,), (1390124724,), (1390124775,), (1390125175,), (1390125205,), (1390125228,), (1390125262,), (1390125295,), (1390126170,), (1390126171,), (1390126198,), (1390126199,), (1390126519,), (1390126579,), (1390126610,), (1390126659,), (1390126738,), (1390126866,), (1390127271,), (1390127316,), (1390127492,), (1390127687,), (1390127822,), (1390129190,), (1390129319,), (1390129348,), (1390129372,), (1390129970,), (1390129999,), (1390130025,), (1390131582,), (1390131668,), (1390131730,), (1390131783,), (1390131847,), (1390131908,), (1390132218,), (1390132273,), (1390132333,), (1390132407,), (1390133416,), (1390133442,), (1390133791,), (1390133818,), (1390133844,), (1390134599,), (1390134652,), (1390134690,), (1390133178,), (1390133299,), (1390133367,), (1390133389,), (1390133666,), (1390133689,), (1390133726,), (1390134115,), (1390134166,), (1390134216,), (1390134269,), (1390134321,), (1390134369,), (1390134546,), (1390134781,), (1390134783,), (1390134797,), (1390134798,), (1390134814,), (1390134815,), (1390134824,), (1390134825,), (1390134841,), (1390134843,), (1390134880,), (1390134884,), (1390135051,), (1390135097,), (1390135116,), (1390135130,), (1390135146,), (1390135472,), (1390135521,), (1390135573,), (1390135850,), (1390135868,), (1390136103,), (1390136111,), (1390136125,), (1390136139,), (1390136156,), (1390136167,), (1390136224,), (1390136233,), (1390136257,), (1390136517,), (1390136528,), (1390136535,), (1390136542,), (1390136555,), (1390136732,), (1390136733,), (1390136757,), (1390136759,), (1390136800,), (1390136804,), (1390137176,), (1390137192,), (1390137210,), (1390137227,), (1390137440,), (1390137458,), (1390137474,), (1390137489,), (1390137507,), (1390137707,), (1390137708,), (1390137726,), (1390137727,), (1390137742,), (1390137744,), (1390137753,), (1390137754,), (1390137770,), (1390137773,), (1390137785,), (1390137786,), (1390137839,), (1390137847,), (1390137866,), (1390138155,), (1390138084,), (1390138101,), (1390138118,), (1390138141,), (1390138403,), (1390138417,), (1390138433,), (1390138451,), (1390138492,), (1390138676,), (1390138677,), (1390138690,), (1390138691,), (1390138705,), (1390138707,), (1390138721,), (1390138723,), (1390138737,), (1390138738,), (1390138746,), (1390138753,), (1390138804,), (1390138819,), (1390138829,), (1390138845,), (1390138865,), (1390138877,), (1390138927,), (1390138936,), (1390138952,), (1390139066,), (1390139082,), (1390139093,), (1390139109,), (1390139329,), (1390139344,), (1390139357,), (1390139598,), (1390139611,), (1390139626,), (1390139640,), (1390139655,), (1390139729,), (1390139744,), (1390139760,), (1390139781,), (1390140044,), (1390140060,), (1390140076,), (1390140088,), (1390140102,), (1390140311,), (1390140324,), (1390140339,), (1390140359,), (1390140463,), (1390140485,), (1390140790,), (1390140805,), (1390140823,), (1390141533,), (1390141534,), (1390141570,), (1390141585,), (1390141617,), (1390141626,), (1390141658,), (1390141672,), (1390142049,), (1390142100,), (1390142150,), (1390145155,), (1390146012,), (1390146035,), (1390146042,), (1390146050,), (1390146067,), (1390146076,), (1390146079,), (1390146091,), (1390146092,), (1390146095,), (1390146096,), (1390146100,), (1390146104,), (1390146109,), (1390146110,), (1390146113,), (1390146114,), (1390146116,), (1390146117,), (1390146307,), (1390146309,), (1390146312,), (1390146315,), (1390146319,), (1390146324,), (1390146341,), (1390146347,), (1390146351,), (1390146355,), (1390146358,), (1390146360,), (1390146386,), (1390146394,), (1390146400,), (1390146403,), (1390146438,), (1390146529,), (1390146640,), (1390146641,), (1390146710,), (1390146715,), (1390146752,), (1390146760,), (1390146966,), (1390147007,), (1390147094,), (1390147112,), (1390147121,), (1390147133,), (1390147167,), (1390147211,), (1390147267,), (1390147270,), (1390147279,), (1390147356,), (1390147394,), (1390147408,), (1390147429,), (1390147433,), (1390147459,), (1390147578,), (1390147583,), (1390147590,), (1390147605,), (1390147609,), (1390147612,), (1390147616,), (1390147621,), (1390147623,), (1390147638,), (1390147641,), (1390147644,), (1390147646,), (1390147648,), (1390147653,), (1390147727,), (1390147766,), (1390147838,), (1390147878,), (1390147917,), (1390147928,), (1390147960,), (1390147964,), (1390148084,), (1390148107,), (1390148111,), (1390148114,), (1390148116,), (1390148120,), (1390148124,), (1390144968,), (1390144971,), (1390144974,), (1390144977,), (1390144998,), (1390145001,), (1390145003,), (1390145007,), (1390145011,), (1390145014,), (1390145060,), (1390145062,), (1390145066,), (1390145070,), (1390145073,), (1390145075,), (1390145088,), (1390145089,), (1390145092,), (1390145093,), (1390145095,), (1390145097,), (1390145099,), (1390145100,), (1390145103,), (1390145104,), (1390145116,), (1390145117,), (1390145159,), (1390145163,), (1390145167,), (1390145172,), (1390145176,), (1390145181,), (1390145184,), (1390145188,), (1390145192,), (1390145197,), (1390145201,), (1390145210,), (1390145213,), (1390145218,), (1390145221,), (1390145226,), (1390145231,), (1390145250,), (1390145260,), (1390145272,), (1390145284,), (1390145295,), (1390145300,), (1390145316,), (1390145319,), (1390145322,), (1390145326,), (1390145329,), (1390145332,), (1390145345,), (1390145384,), (1390145425,), (1390145454,), (1390145466,), (1390145473,), (1390145490,), (1390145491,), (1390145493,), (1390145503,), (1390145513,), (1390145517,), (1390145550,), (1390145607,), (1390145678,), (1390145726,), (1390145746,), (1390145748,), (1390145818,), (1390145841,), (1390145882,), (1390145886,), (1390145907,), (1390145942,), (1390145969,), (1390145974,), (1390145995,), (1390145998,), (1390146005,), (1390144496,), (1390144500,), (1390144505,), (1390144523,), (1390144527,), (1390144529,), (1390144532,), (1390144535,), (1390144537,), (1390144555,), (1390144567,), (1390144580,), (1390144584,), (1390144587,), (1390144592,), (1390144606,), (1390144609,), (1390144611,), (1390144615,), (1390144620,), (1390144623,), (1390144635,), (1390144637,), (1390144639,), (1390144641,), (1390144643,), (1390144650,), (1390144674,), (1390144683,), (1390144692,), (1390144695,), (1390144698,), (1390144703,), (1390144711,), (1390144716,), (1390144719,), (1390144722,), (1390144724,), (1390144726,), (1390144737,), (1390144741,), (1390144748,), (1390144751,), (1390144755,), (1390144767,), (1390144779,), (1390144784,), (1390144787,), (1390144791,), (1390144795,), (1390144800,), (1390144807,), (1390144812,), (1390144816,), (1390144821,), (1390144824,), (1390144829,), (1390144838,), (1390144842,), (1390144845,), (1390144849,), (1390144852,), (1390144859,), (1390144874,), (1390144876,), (1390144880,), (1390144884,), (1390144887,), (1390144890,), (1390144900,), (1390144901,), (1390144904,), (1390144905,), (1390144908,), (1390144909,), (1390144912,), (1390144913,), (1390144916,), (1390144917,), (1390144920,), (1390144921,), (1390144932,), (1390144935,), (1390144230,), (1390144232,), (1390144275,), (1390144281,), (1390144287,), (1390144291,), (1390144293,), (1390144295,), (1390144305,), (1390144309,), (1390144312,), (1390144316,), (1390144321,), (1390144323,), (1390144331,), (1390144333,), (1390144336,), (1390144343,), (1390144348,), (1390144350,), (1390144367,), (1390144373,), (1390144378,), (1390144383,), (1390144387,), (1390144390,), (1390144397,), (1390144399,), (1390144401,), (1390144410,), (1390144422,), (1390144431,), (1390144447,), (1390144450,), (1390144452,), (1390144454,), (1390144457,), (1390144459,), (1390144474,), (1390144489,), (1390144494,), (1390143535,), (1390143536,), (1390143548,), (1390143549,), (1390143558,), (1390143565,), (1390143578,), (1390143579,), (1390143596,), (1390143598,), (1390143610,), (1390143617,), (1390143685,), (1390143729,), (1390143763,), (1390143803,), (1390143807,), (1390143812,), (1390143827,), (1390143831,), (1390143836,), (1390143841,), (1390143844,), (1390143847,), (1390143945,), (1390143980,), (1390144022,), (1390144057,), (1390144096,), (1390144124,), (1390144134,), (1390144136,), (1390144138,), (1390144143,), (1390144148,), (1390144152,), (1390144162,), (1390144163,), (1390144165,), (1390144167,), (1390144171,), (1390144176,), (1390144188,), (1390144193,), (1390144196,), (1390144198,), (1390144201,), (1390144203,), (1390144217,), (1390144222,), (1390144226,), (1390144228,), (1390139209,), (1390139224,), (1390139241,), (1390139258,), (1390139274,), (1390139372,), (1390139389,), (1390139405,), (1390139464,), (1390139488,), (1390139505,), (1390139520,), (1390139535,), (1390139553,), (1390139670,), (1390139798,), (1390139812,), (1390139880,), (1390139905,), (1390139933,), (1390139955,), (1390139973,), (1390139989,), (1390140114,), (1390140169,), (1390140185,), (1390140202,), (1390140219,), (1390140236,), (1390140251,), (1390140370,), (1390140391,), (1390140501,), (1390140516,), (1390140531,), (1390140546,), (1390140596,), (1390140616,), (1390140684,), (1390140699,), (1390140715,), (1390140736,), (1390140836,), (1390140858,), (1390140918,), (1390141106,), (1390141150,), (1390141204,), (1390141257,), (1390141319,), (1390141369,), (1390141706,), (1390141717,), (1390141756,), (1390141772,), (1390142210,), (1390142261,), (1390142308,), (1390142357,), (1390142372,), (1390142386,), (1390142400,), (1390142411,), (1390142418,), (1390142474,), (1390142485,), (1390142504,), (1390142527,), (1390142543,), (1390142558,), (1390142702,), (1390142735,), (1390142775,), (1390142817,), (1390142865,), (1390142921,), (1390143148,), (1390143198,), (1390143248,), (1390143298,), (1390143346,), (1390143395,), (1390136428,), (1390136450,), (1390136570,), (1390136618,), (1390136630,), (1390136649,), (1390136665,), (1390136676,), (1390136687,), (1390136851,), (1390136852,), (1390136896,), (1390136908,), (1390136935,), (1390136955,), (1390137244,), (1390137256,), (1390137308,), (1390137323,), (1390137346,), (1390137359,), (1390137376,), (1390137387,), (1390137525,), (1390137573,), (1390137592,), (1390137606,), (1390137621,), (1390137638,), (1390137653,), (1390137876,), (1390137890,), (1390137904,), (1390137960,), (1390137976,), (1390137991,), (1390138006,), (1390138020,), (1390138034,), (1390138164,), (1390138248,), (1390138294,), (1390138310,), (1390138321,), (1390138340,), (1390138350,), (1390138514,), (1390138973,), (1390138988,), (1390139003,), (1390139130,), (1390139138,), (1390139194,), (1390130264,), (1390130284,), (1390130388,), (1390130540,), (1390130606,), (1390130625,), (1390132493,), (1390132551,), (1390134720,), (1390134737,), (1390135161,), (1390135207,), (1390135223,), (1390135239,), (1390135252,), (1390135264,), (1390135294,), (1390135620,), (1390135650,), (1390135666,), (1390135713,), (1390135726,), (1390135741,), (1390135765,), (1390135784,), (1390135801,), (1390135878,), (1390135896,), (1390135915,), (1390135937,), (1390135989,), (1390136005,), (1390136019,), (1390136027,), (1390136041,), (1390136056,), (1390136276,), (1390136292,), (1390136308,), (1390136369,), (1390136383,), (1390136396,), (1390136410,), (1390146627,), (1390146628,), (1390146629,), (1390146631,), (1390146891,), (1390146896,), (1390146899,), (1390146920,), (1390147258,), (1390147261,), (1390147264,), (1390147563,), (1390147570,), (1390147574,), (1390147662,), (1390147667,), (1390147670,), (1390147696,), (1390148021,), (1390148022,), (1390148024,), (1390148026,), (1390148029,), (1390148030,), (1390148034,), (1390148035,), (1390148038,), (1390148040,), (1390148043,), (1390148044,), (1390148061,), (1390148065,), (1390148070,), (1390148076,), (1390148080,), (1390148137,), (1390148140,), (1390148143,), (1390148181,), (1390148182,), (1390148184,), (1390148185,), (1390148187,), (1390148188,), (1390148191,), (1390148192,), (1390148196,), (1390148197,), (1390148223,), (1390148231,), (1390148269,), (1390148274,), (1390148291,), (1390148298,), (1390148323,), (1390148383,), (1390148398,), (1390148405,), (1390148410,), (1390148414,), (1390148509,), (1390148512,), (1390148518,), (1390148524,), (1390148529,), (1390148545,), (1390148546,), (1390148547,), (1390148549,), (1390148551,), (1390148552,), (1390148554,), (1390148556,), (1390148636,), (1390148625,), (1390148630,), (1390148692,), (1390148697,), (1390148702,), (1390148707,), (1390148710,), (1390148764,), (1390148851,), (1390148857,), (1390148867,), (1390148871,), (1390148872,), (1390148907,), (1390148908,), (1390148910,), (1390148912,), (1390148914,), (1390148916,), (1390148933,), (1390148937,), (1390148943,), (1390148947,), (1390148950,), (1390148953,), (1390149002,), (1390149003,), (1390149006,), (1390149007,), (1390149033,), (1390149037,), (1390149108,), (1390149112,), (1390149115,), (1390149118,), (1390149239,), (1390149240,), (1390149249,), (1390149250,), (1390149263,), (1390149264,), (1390149266,), (1390149268,), (1390149355,), (1390149358,), (1390149362,), (1390149367,), (1390149411,), (1390149414,), (1390149417,), (1390149505,), (1390149508,), (1390149513,), (1390149532,), (1390149536,), (1390149541,), (1390149546,), (1390149551,), (1390149658,), (1390149659,), (1390149665,), (1390149669,), (1390149695,), (1390149709,), (1390149712,), (1390149641,), (1390149642,), (1390149645,), (1390149646,), (1390149650,), (1390149651,), (1390149654,), (1390149655,), (1390149678,), (1390149683,), (1390149687,), (1390149752,), (1390149754,), (1390149756,), (1390149762,), (1390149946,), (1390149950,), (1390149983,), (1390150170,), (1390150235,), (1390150291,), (1390150330,), (1390151134,), (1390151190,), (1390151229,), (1390151238,), (1390151490,), (1390151491,), (1390151528,), (1390151530,), (1390151749,), (1390151778,), (1390151785,), (1390151805,), (1390151827,), (1390152115,), (1390152119,), (1390152125,), (1390152128,), (1390152340,), (1390152342,), (1390152346,), (1390152350,), (1390152366,), (1390152367,), (1390152371,), (1390152372,), (1390152374,), (1390152375,), (1390152380,), (1390152381,), (1390152385,), (1390152386,), (1390152404,), (1390152408,), (1390152413,), (1390152418,), (1390152725,), (1390152763,), (1390152805,), (1390152847,), (1390152889,), (1390152911,), (1390153276,), (1390153277,), (1390153336,), (1390153338,), (1390153359,), (1390153360,), (1390153375,), (1390153382,), (1390153407,), (1390153409,), (1390153425,), (1390153429,), (1390153462,), (1390153496,), (1390153533,), (1390153645,), (1390153633,), (1390153635,), (1390153639,), (1390153642,), (1390153699,), (1390153703,), (1390153705,), (1390153710,), (1390153716,), (1390153719,), (1390154096,), (1390154098,), (1390154110,), (1390154114,), (1390154203,), (1390154234,), (1390154585,), (1390154590,), (1390154594,), (1390154600,), (1390154606,), (1390154611,), (1390154659,), (1390154661,), (1390154665,), (1390154746,), (1390154747,), (1390154749,), (1390154751,), (1390154753,), (1390154754,), (1390154775,), (1390154784,), (1390154830,), (1390154879,), (1390154929,), (1390154976,), (1390155238,), (1390155241,), (1390155269,), (1390155309,), (1390155315,), (1390155446,), (1390155447,), (1390155450,), (1390155451,), (1390155454,), (1390155455,), (1390155483,), (1390155487,), (1390155517,), (1390155944,), (1390155961,), (1390155964,), (1390155967,), (1390156474,), (1390156500,), (1390156505,), (1390156510,), (1390156575,), (1390156578,), (1390156581,), (1390156720,), (1390156803,), (1390156805,), (1390156808,), (1390155137,), (1390155140,), (1390155160,), (1390155318,), (1390155378,), (1390155414,), (1390155419,), (1390155424,), (1390155428,), (1390155432,), (1390155458,), (1390155459,), (1390155463,), (1390155464,), (1390155467,), (1390155468,), (1390155555,), (1390155598,), (1390155638,), (1390155765,), (1390155801,), (1390155839,), (1390155853,), (1390155855,), (1390155860,), (1390155970,), (1390156008,), (1390153113,), (1390153153,), (1390153413,), (1390153414,), (1390153569,), (1390153593,), (1390153600,), (1390153605,), (1390153612,), (1390153617,), (1390153621,), (1390153649,), (1390153661,), (1390153664,), (1390153668,), (1390153678,), (1390153682,), (1390153685,), (1390153732,), (1390153757,), (1390153798,), (1390153837,), (1390153881,), (1390153927,), (1390154147,), (1390154180,), (1390154261,), (1390154264,), (1390154267,), (1390154270,), (1390154411,), (1390154450,), (1390154470,), (1390154493,), (1390154497,), (1390154524,), (1390154617,), (1390154626,), (1390154631,), (1390154634,), (1390154638,), (1390154646,), (1390154668,), (1390154672,), (1390154676,), (1390154687,), (1390154689,), (1390154692,), (1390154698,), (1390154702,), (1390154706,), (1390154757,), (1390154758,), (1390154759,), (1390154762,), (1390154765,), (1390154768,), (1390155109,), (1390155127,), (1390155131,), (1390149521,), (1390149553,), (1390149573,), (1390149577,), (1390149578,), (1390149580,), (1390149582,), (1390149588,), (1390149718,), (1390149720,), (1390149723,), (1390149728,), (1390149734,), (1390149738,), (1390149766,), (1390149777,), (1390149793,), (1390149798,), (1390149800,), (1390149807,), (1390149844,), (1390149878,), (1390149991,), (1390149994,), (1390150043,), (1390150372,), (1390150404,), (1390150604,), (1390150679,), (1390150751,), (1390150833,), (1390150907,), (1390150970,), (1390151264,), (1390151298,), (1390151324,), (1390151362,), (1390151387,), (1390151391,), (1390151394,), (1390151397,), (1390151567,), (1390151569,), (1390151606,), (1390151608,), (1390151644,), (1390151646,), (1390151681,), (1390151683,), (1390151832,), (1390151914,), (1390151950,), (1390151982,), (1390152015,), (1390152048,), (1390152060,), (1390152147,), (1390152186,), (1390152264,), (1390152283,), (1390152285,), (1390152298,), (1390152306,), (1390152313,), (1390152352,), (1390152354,), (1390152388,), (1390152389,), (1390152424,), (1390152428,), (1390152439,), (1390152448,), (1390152488,), (1390152517,), (1390152554,), (1390152591,), (1390152940,), (1390152959,), (1390153002,), (1390153050,), (1390149015,), (1390149017,), (1390149018,), (1390149020,), (1390149042,), (1390149066,), (1390149069,), (1390149071,), (1390149079,), (1390149085,), (1390149090,), (1390149093,), (1390149097,), (1390149102,), (1390149122,), (1390149126,), (1390149143,), (1390149159,), (1390149167,), (1390149176,), (1390149179,), (1390149183,), (1390149270,), (1390149271,), (1390149279,), (1390149281,), (1390149371,), (1390149374,), (1390149381,), (1390149384,), (1390149387,), (1390149390,), (1390149394,), (1390149398,), (1390149420,), (1390149423,), (1390149427,), (1390149457,), (1390149469,), (1390149484,), (1390149487,), (1390149489,), (1390149493,), (1390149516,), (1390149520,), (1390148146,), (1390148149,), (1390148152,), (1390148331,), (1390148341,), (1390148353,), (1390148357,), (1390148360,), (1390148371,), (1390148373,), (1390148435,), (1390148459,), (1390148460,), (1390148462,), (1390148465,), (1390148471,), (1390148483,), (1390148533,), (1390148569,), (1390148570,), (1390148572,), (1390148573,), (1390148649,), (1390148656,), (1390148662,), (1390148669,), (1390148670,), (1390148672,), (1390148674,), (1390148676,), (1390148678,), (1390148712,), (1390148717,), (1390148720,), (1390148722,), (1390148730,), (1390148741,), (1390148750,), (1390148766,), (1390148774,), (1390148776,), (1390148780,), (1390148791,), (1390148818,), (1390148822,), (1390148826,), (1390148829,), (1390148832,), (1390156615,), (1390156619,), (1390156644,), (1390156683,), (1390156708,), (1390156766,), (1390156783,), (1390156802,), (1390156875,), (1390156876,), (1390156878,), (1390156879,), (1390156881,), (1390156882,), (1390156886,), (1390156887,), (1390156920,), (1390156923,), (1390156924,), (1390156926,), (1390156930,), (1390157089,), (1390157094,), (1390157112,), (1390157138,), (1390157140,), (1390157270,), (1390157271,), (1390157273,), (1390157274,), (1390157277,), (1390157278,), (1390157331,), (1390157337,), (1390157341,), (1390157344,), (1390157349,), (1390157352,), (1390157418,), (1390157456,), (1390157496,), (1390157531,), (1390157551,), (1390157698,), (1390157699,), (1390157701,), (1390157708,), (1390157715,), (1390157764,), (1390157767,), (1390157771,), (1390157773,), (1390157784,), (1390157826,), (1390158081,), (1390158083,), (1390158118,), (1390158121,), (1390158124,), (1390158131,), (1390158143,), (1390158146,), (1390158151,), (1390158154,), (1390158157,), (1390158160,), (1390158173,), (1390158175,), (1390158177,), (1390158205,), (1390158207,), (1390158209,), (1390158212,), (1390158217,), (1390158220,), (1390158414,), (1390158436,), (1390158438,), (1390158457,), (1390158544,), (1390158550,), (1390158556,), (1390158562,), (1390158568,), (1390158765,), (1390159077,), (1390158619,), (1390158621,), (1390158624,), (1390158720,), (1390159031,), (1390159032,), (1390159034,), (1390159035,), (1390159042,), (1390159043,), (1390159046,), (1390159047,), (1390159049,), (1390159051,), (1390159053,), (1390159055,), (1390159474,), (1390161482,), (1390162544,), (1390162411,), (1390162422,), (1390162537,), (1390162622,), (1390162624,), (1390162627,), (1390162631,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29102025': {'nb_upload': 7, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27918277]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1390162631, 1390162627, 1390162624, 1390162622] map_info['map_portfolio_photo'] : {27918277: [1390162631, 1390162627, 1390162624, 1390162622, 1390162537, 1390162422, 1390162411]} final : True mtd_id 4302 list_pids : [1390162631, 1390162627, 1390162624, 1390162622] Looping around the photos to save general results len do output : 1 /27918277Didn'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, '3961551') ('4302', '27918277', '1390162631', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162627', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162624', None, None, None, None, None, '3961551') ('4302', None, None, None, None, None, None, None, '3961551') ('4302', '27918277', '1390162622', None, None, None, None, None, '3961551') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 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, '27918277', 'None', None, None, None, None, '3961551'), ('4302', '27918277', '1390162631', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162627', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162624', None, None, None, None, None, '3961551'), ('4302', '27918277', '1390162622', None, None, None, None, None, '3961551')] time used for this insertion : 0.009831905364990234 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4160544872283936 time spend to save output : 0.009998321533203125 total time spend for step 5 : 1.4260528087615967 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 (3961551) 1.85user 2.40system 0:06.12elapsed 69%CPU (0avgtext+0avgdata 158892maxresident)k 56968inputs+2336outputs (231major+63685minor)pagefaults 0swaps