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 : 1941275 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 (3581801) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3581801) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138366 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3581801'] with mtr_portfolio_ids : ['26138366'] and first list_photo_ids : [] new path : /proc/1941275/ Name: python3 Umask: 0002 State: R (running) Tgid: 1941275 Ngid: 0 Pid: 1941275 PPid: 1941274 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1941275 NSpid: 1941275 NSpgid: 1938835 NSsid: 1938835 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99556 kB VmRSS: 99556 kB RssAnon: 60156 kB RssFile: 39400 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 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: 49 nonvoluntary_ctxt_switches: 100 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1941275', 'Ngid': '0', 'Pid': '1941275', 'PPid': '1941274', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1941275', 'NSpid': '1941275', 'NSpgid': '1938835', 'NSsid': '1938835', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99556 kB', 'VmRSS': '99556 kB', 'RssAnon': '60156 kB', 'RssFile': '39400 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 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': '49', 'nonvoluntary_ctxt_switches': '100'} ('datou_batch_current', '1941275', '1107248', '0', '1107248', '866000', '99556', b'', 'marlene', '3581801') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26138366) 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 (3581801 ) ) 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 (26138366) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1378453315, 'portfolio_id': 26138366}, {'photo_id': 1378453193, 'portfolio_id': 26138366}, {'photo_id': 1378453190, 'portfolio_id': 26138366}, {'photo_id': 1378453117, 'portfolio_id': 26138366}, {'photo_id': 1378453083, 'portfolio_id': 26138366}, {'photo_id': 1378453057, 'portfolio_id': 26138366}, {'photo_id': 1378453051, 'portfolio_id': 26138366}, {'photo_id': 1378453015, 'portfolio_id': 26138366}, {'photo_id': 1378452865, 'portfolio_id': 26138366}, {'photo_id': 1378452838, 'portfolio_id': 26138366}, {'photo_id': 1378452579, 'portfolio_id': 26138366}, {'photo_id': 1378452574, 'portfolio_id': 26138366}, {'photo_id': 1378452321, 'portfolio_id': 26138366}, {'photo_id': 1378452291, 'portfolio_id': 26138366}, {'photo_id': 1378451892, 'portfolio_id': 26138366}] map_portfolio_id_photo_id: {26138366: [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892]} ##### 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.026005029678344727 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Aug 23 05:41:55 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 (26138366) 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 : 26138366 get user id for portfolio 26138366 get sub ptf for main ptf 26138366, type 3726 and hashtags ['kraft', 'plastique', 'flou', 'Teint_Dans_La_Masse', 'autre_refus', 'papier', 'Carton_gris', 'cartonnette', 'environnement', 'metal', 'Carton_brun', 'mal_croppe'] 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`=26138366 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','plastique','flou','Teint_Dans_La_Masse','autre_refus','papier','Carton_gris','cartonnette','environnement','metal','Carton_brun','mal_croppe')) 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`=26138366 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','plastique','flou','Teint_Dans_La_Masse','autre_refus','papier','Carton_gris','cartonnette','environnement','metal','Carton_brun','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26138366, 'sub_port_id': 26138367, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606876, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'autre_refus': {'main_port_id': 26138366, 'sub_port_id': 26138368, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606877, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 26138366, 'sub_port_id': 26138369, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606878, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'cartonnette': {'main_port_id': 26138366, 'sub_port_id': 26138370, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606879, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'Carton_brun': {'main_port_id': 26138366, 'sub_port_id': 26138371, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606880, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'kraft': {'main_port_id': 26138366, 'sub_port_id': 26138372, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606881, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'environnement': {'main_port_id': 26138366, 'sub_port_id': 26138373, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606882, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'mal_croppe': {'main_port_id': 26138366, 'sub_port_id': 26138374, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606883, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'flou': {'main_port_id': 26138366, 'sub_port_id': 26138375, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606884, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'papier': {'main_port_id': 26138366, 'sub_port_id': 26138376, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606885, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'Carton_gris': {'main_port_id': 26138366, 'sub_port_id': 26138377, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606886, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}, 'plastique': {'main_port_id': 26138366, 'sub_port_id': 26138378, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606887, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26138367 , 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=26138366 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 (26138367) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138368 , 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=26138366 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 (26138368) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138369 , 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=26138366 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 (26138369) result : ((1378453034,), (1378453035,), (1378453036,), (1378453037,), (1378453038,), (1378453039,), (1378453106,), (1378453107,), (1378453109,), (1378453110,), (1378453111,), (1378453281,), (1378453282,), (1378453284,), (1378453285,), (1378453286,), (1378453287,), (1378453374,), (1378453375,), (1378453714,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138370 , 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=26138366 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 (26138370) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138371 , 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=26138366 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 (26138371) result : ((1378453112,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138372 , 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=26138366 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 (26138372) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138373 , 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=26138366 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 (26138373) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138374 , 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=26138366 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 (26138374) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138375 , 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=26138366 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 (26138375) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138376 , 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=26138366 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 (26138376) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138377 , 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=26138366 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 (26138377) result : ((1378453377,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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 26138378 , 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=26138366 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 (26138378) result : ((1378453378,), (1378453715,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26138366) result : ((1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,)) 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`=26138366 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','plastique','flou','Teint_Dans_La_Masse','autre_refus','papier','Carton_gris','cartonnette','environnement','metal','Carton_brun','mal_croppe')) 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`=26138366 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','plastique','flou','Teint_Dans_La_Masse','autre_refus','papier','Carton_gris','cartonnette','environnement','metal','Carton_brun','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26138366, 'sub_port_id': 26138379, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606888, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'autre_refus': {'main_port_id': 26138366, 'sub_port_id': 26138380, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606889, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 26138366, 'sub_port_id': 26138381, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606890, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'cartonnette': {'main_port_id': 26138366, 'sub_port_id': 26138382, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606891, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'Carton_brun': {'main_port_id': 26138366, 'sub_port_id': 26138383, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606892, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'kraft': {'main_port_id': 26138366, 'sub_port_id': 26138384, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606893, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'environnement': {'main_port_id': 26138366, 'sub_port_id': 26138385, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606894, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'mal_croppe': {'main_port_id': 26138366, 'sub_port_id': 26138386, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606895, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'flou': {'main_port_id': 26138366, 'sub_port_id': 26138387, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606896, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'papier': {'main_port_id': 26138366, 'sub_port_id': 26138388, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606897, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'Carton_gris': {'main_port_id': 26138366, 'sub_port_id': 26138389, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606898, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}, 'plastique': {'main_port_id': 26138366, 'sub_port_id': 26138390, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17606899, 'last_updated_at': datetime.datetime(2025, 8, 22, 5, 49, 32), 'last_updated_at_desc': datetime.datetime(2025, 8, 22, 5, 49, 32), 'last_updated_at_asc': datetime.datetime(2025, 8, 22, 5, 38, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138379,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138367 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138380,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138368 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138381,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138369 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138382,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138370 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138383,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138371 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138384,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138372 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138385,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138373 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138386,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138374 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138387,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138375 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138388,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138376 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138389,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138377 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26138390,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26138378 lien utilise dans velours : https://www.fotonower.com/velours/26138379,26138380,26138381,26138382,26138383,26138384,26138385,26138386,26138387,26138388,26138389,26138390?tags=metal,autre_refus,Teint_Dans_La_Masse,cartonnette,Carton_brun,kraft,environnement,mal_croppe,flou,papier,Carton_gris,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26138366]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] map_info['map_portfolio_photo'] : {26138366: [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892]} final : False mtd_id 4302 list_pids : [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] Looping around the photos to save general results len do output : 1 /26138366. 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, '3581801') ('4302', '26138366', '1378453315', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453193', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453190', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453117', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453083', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453057', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453051', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453015', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452865', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452838', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452579', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452574', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452321', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452291', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378451892', None, None, None, None, None, '3581801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '26138366', "{'metal': 26138367, 'autre_refus': 26138368, 'Teint_Dans_La_Masse': 26138369, 'cartonnette': 26138370, 'Carton_brun': 26138371, 'kraft': 26138372, 'environnement': 26138373, 'mal_croppe': 26138374, 'flou': 26138375, 'papier': 26138376, 'Carton_gris': 26138377, 'plastique': 26138378}", None, None, None, None, '3581801'), ('4302', '26138366', '1378453315', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453193', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453190', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453117', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453083', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453057', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453051', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453015', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452865', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452838', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452579', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452574', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452321', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452291', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378451892', None, None, None, None, None, '3581801')] time used for this insertion : 0.1476144790649414 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.512782335281372 time spend to save output : 0.14791011810302734 total time spend for step 1 : 1.6606924533843994 step2:final Sat Aug 23 05:41: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 (26138366) 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 26138366 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1378451892,1378452321,1378452291,1378452579,1378452865,1378452574,1378452838,1378453015,1378453057,1378453051,1378453083,1378453117,1378453193,1378453190,1378453315); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26138366]) Inside saveOutput : final : False verbose : True original output for save of step final : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} new output for save of step final : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] map_info['map_portfolio_photo'] : {26138366: [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892]} final : False mtd_id 4302 list_pids : [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] Looping around the photos to save general results len do output : 15 /1378453315.Didn't retrieve data . /1378453193.Didn't retrieve data . /1378453190.Didn't retrieve data . /1378453117.Didn't retrieve data . /1378453083.Didn't retrieve data . /1378453057.Didn't retrieve data . /1378453051.Didn't retrieve data . /1378453015.Didn't retrieve data . /1378452865.Didn't retrieve data . /1378452838.Didn't retrieve data . /1378452579.Didn't retrieve data . /1378452574.Didn't retrieve data . /1378452321.Didn't retrieve data . /1378452291.Didn't retrieve data . /1378451892.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, '3581801') ('4302', '26138366', '1378453315', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453193', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453190', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453117', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453083', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453057', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453051', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453015', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452865', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452838', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452579', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452574', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452321', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452291', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378451892', None, None, None, None, None, '3581801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '26138366', '1378453315', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378453193', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378453190', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378453117', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378453083', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378453057', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378453051', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378453015', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378452865', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378452838', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378452579', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378452574', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378452321', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378452291', '0.04657929234572847', None, None, None, None, '3581801'), ('4302', '26138366', '1378451892', '0.04657929234572847', None, None, None, None, '3581801')] time used for this insertion : 0.01919865608215332 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06681966781616211 time spend to save output : 0.019855737686157227 total time spend for step 2 : 0.08667540550231934 step3:velours_tree Sat Aug 23 05:41: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 : {26138366: [{'metal': 26138367, 'autre_refus': 26138368, 'Teint_Dans_La_Masse': 26138369, 'cartonnette': 26138370, 'Carton_brun': 26138371, 'kraft': 26138372, 'environnement': 26138373, 'mal_croppe': 26138374, 'flou': 26138375, 'papier': 26138376, 'Carton_gris': 26138377, 'plastique': 26138378}]} input_args_next_step : {26138366: ()} output_args : {26138366: [{'metal': 26138367, 'autre_refus': 26138368, 'Teint_Dans_La_Masse': 26138369, 'cartonnette': 26138370, 'Carton_brun': 26138371, 'kraft': 26138372, 'environnement': 26138373, 'mal_croppe': 26138374, 'flou': 26138375, 'papier': 26138376, 'Carton_gris': 26138377, 'plastique': 26138378}]} args : 26138366 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'metal': 26138367, 'autre_refus': 26138368, 'Teint_Dans_La_Masse': 26138369, 'cartonnette': 26138370, 'Carton_brun': 26138371, 'kraft': 26138372, 'environnement': 26138373, 'mal_croppe': 26138374, 'flou': 26138375, 'papier': 26138376, 'Carton_gris': 26138377, 'plastique': 26138378},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26138366) 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([26138366]) 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.2756836414337158 time spend to save output : 5.14984130859375e-05 total time spend for step 3 : 0.27573513984680176 step4:send_mail_cod Sat Aug 23 05:41: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 ! complete output_args for input 2 : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} input_args_next_step : {1378453315: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453315 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453193 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453190 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453117 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453083 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453057 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453051 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378453015 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378452865 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378452838 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378452579 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378452574 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378452321 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378452291 depend.output_id : 0 input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ()} output_args : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',)} args : 1378451892 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 : {26138366: [{'metal': 26138367, 'autre_refus': 26138368, 'Teint_Dans_La_Masse': 26138369, 'cartonnette': 26138370, 'Carton_brun': 26138371, 'kraft': 26138372, 'environnement': 26138373, 'mal_croppe': 26138374, 'flou': 26138375, 'papier': 26138376, 'Carton_gris': 26138377, 'plastique': 26138378}]} input_args_next_step : {1378453315: ('0.04657929234572847',), 1378453193: ('0.04657929234572847',), 1378453190: ('0.04657929234572847',), 1378453117: ('0.04657929234572847',), 1378453083: ('0.04657929234572847',), 1378453057: ('0.04657929234572847',), 1378453051: ('0.04657929234572847',), 1378453015: ('0.04657929234572847',), 1378452865: ('0.04657929234572847',), 1378452838: ('0.04657929234572847',), 1378452579: ('0.04657929234572847',), 1378452574: ('0.04657929234572847',), 1378452321: ('0.04657929234572847',), 1378452291: ('0.04657929234572847',), 1378451892: ('0.04657929234572847',), 26138366: ()} output_args : {26138366: [{'metal': 26138367, 'autre_refus': 26138368, 'Teint_Dans_La_Masse': 26138369, 'cartonnette': 26138370, 'Carton_brun': 26138371, 'kraft': 26138372, 'environnement': 26138373, 'mal_croppe': 26138374, 'flou': 26138375, 'papier': 26138376, 'Carton_gris': 26138377, 'plastique': 26138378}]} args : 26138366 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 :16, first value : ('0.04657929234572847',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26138366) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1378453315,1378453193,1378453190,1378453117,1378453083,1378453057,1378453051,1378453015,1378452865,1378452838,1378452579,1378452574,1378452321,1378452291,1378451892) Found this number of photos: 15 ##### Call download_photos : nb_thread : 5 begin to download photo : 1378451892 begin to download photo : 1378452579 begin to download photo : 1378453051 begin to download photo : 1378453190 download finish for photo 1378453190 begin to download photo : 1378453193 download finish for photo 1378453051 begin to download photo : 1378453057 download finish for photo 1378452579 begin to download photo : 1378452838 download finish for photo 1378453193 begin to download photo : 1378453315 download finish for photo 1378453057 begin to download photo : 1378453083 download finish for photo 1378451892 begin to download photo : 1378452291 download finish for photo 1378452838 download finish for photo 1378453315 download finish for photo 1378452291 download finish for photo 1378453083 begin to download photo : 1378452321 begin to download photo : 1378453117 begin to download photo : 1378452865 download finish for photo 1378453117 download finish for photo 1378452321 begin to download photo : 1378452574 download finish for photo 1378452865 begin to download photo : 1378453015 download finish for photo 1378453015 download finish for photo 1378452574 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette261383671755920518/ imagette261383681755920518/ imagette261383701755920519/ imagette261383721755920519/ imagette261383741755920519/ imagette261383751755920519/ length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 results_Auto_P26138366_23-08-2025_05_41_58.pdf 26138367 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138367 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261383671755920518 26138368 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138368 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261383681755920518 26138370 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138370 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261383701755920519 26138372 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138372 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261383721755920519 26138374 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138374 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261383741755920519 26138375 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138375 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette261383751755920519 26138378 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138378 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378453378: '1755834447_1183090_1378452579_513d3f9ddda845e9e98aa59d6c98f39e_rle_crop_3924737398_0.png', 1378453715: '1755835046_1196719_1378453190_d3d43e923efaf21ceee118acdb87e852_rle_crop_3924737944_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/a64e17757817ec6a411a56510d76f02c_86239344.png change filename to text .imagette261383781755920519/ imagette261383781755920519/1755834447_1183090_1378452579_513d3f9ddda845e9e98aa59d6c98f39e_rle_crop_3924737398_0.png.png imagette261383781755920519/1755835046_1196719_1378453190_d3d43e923efaf21ceee118acdb87e852_rle_crop_3924737944_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/02bc005e14ba4d35f91ed05b05678857_12189905.png imagette261383781755920519 26138369 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138369 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378453111: '1755834207_1176656_1378452838_8576ba572be6a1ac93cc6d864d7b8ce7_rle_crop_3924736951_0.png', 1378453714: '1755835046_1196719_1378453315_20508a5713b192a5d4beb074769d0a77_rle_crop_3924737928_0.png', 1378453375: '1755834447_1183090_1378452579_513d3f9ddda845e9e98aa59d6c98f39e_rle_crop_3924737399_0.png', 1378453374: '1755834447_1183090_1378452579_513d3f9ddda845e9e98aa59d6c98f39e_rle_crop_3924737400_0.png', 1378453287: '1755834324_1179341_1378453051_72104cbb85c841bbd4cc89e84a911805_rle_crop_3924737055_0.png', 1378453286: '1755834324_1179341_1378453051_72104cbb85c841bbd4cc89e84a911805_rle_crop_3924737057_0.png', 1378453285: '1755834324_1179341_1378453051_72104cbb85c841bbd4cc89e84a911805_rle_crop_3924737061_0.png', 1378453284: '1755834324_1179341_1378453083_8bb7bacd8d5d5a7cba7200662f28e419_rle_crop_3924737041_0.png', 1378453282: '1755834324_1179341_1378453083_8bb7bacd8d5d5a7cba7200662f28e419_rle_crop_3924737038_0.png', 1378453281: '1755834324_1179341_1378453083_8bb7bacd8d5d5a7cba7200662f28e419_rle_crop_3924737048_0.png', 1378453034: '1755834087_1172409_1378452865_2a980d19c512aba13166f78d264cd6a8_rle_crop_3924736676_0.png', 1378453110: '1755834207_1176656_1378452838_8576ba572be6a1ac93cc6d864d7b8ce7_rle_crop_3924736957_0.png', 1378453109: '1755834207_1176656_1378453015_2ec2960321c1c5f6d22be552fb2f72d5_rle_crop_3924736937_0.png', 1378453107: '1755834207_1176656_1378453015_2ec2960321c1c5f6d22be552fb2f72d5_rle_crop_3924736938_0.png', 1378453106: '1755834207_1176656_1378453015_2ec2960321c1c5f6d22be552fb2f72d5_rle_crop_3924736936_0.png', 1378453039: '1755834087_1172409_1378452574_b12f4f20e0364a622e9af7d4286f1abe_rle_crop_3924736713_0.png', 1378453038: '1755834087_1172409_1378452574_b12f4f20e0364a622e9af7d4286f1abe_rle_crop_3924736711_0.png', 1378453037: '1755834087_1172409_1378452574_b12f4f20e0364a622e9af7d4286f1abe_rle_crop_3924736708_0.png', 1378453036: '1755834087_1172409_1378452865_2a980d19c512aba13166f78d264cd6a8_rle_crop_3924736679_0.png', 1378453035: '1755834087_1172409_1378452865_2a980d19c512aba13166f78d264cd6a8_rle_crop_3924736677_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/fcae2fd5b0ff2f710e3bafd0a7744ae9_41314598.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/ce4a5d0c70c76e2d5b960e3f438501e2_33202457.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/511d8b19d9d8ddb1016613365d913be3_40595441.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/9a462c33006327cc3e80afc0e0a24dd4_89143038.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/3045f73510fe0840ceab7a6eaa017a77_8944763.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/bc5c2c7b8ee4c9ca85fe97472a24b68e_67287756.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/e2ec8ddd6155bb4493748d10da59e43c_83397500.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/1f2e73dc2843d208ad87a9bce58f732d_13829595.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/19c016f33aad4541ea6226237742e9c9_77947953.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/6494a96908da2289a7b2a9ffd1a44f55_25460439.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/04c883da151eeb5c97cbcdbb84ce2f75_30504236.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/5e7d01507ec6cf598ccef8caadc97a2b_53675441.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/9a2a8aca60fe9cce555ccee84b7c0a43_87084885.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/1c8c0f9e9ef8259e3b48582a3b188be0_18523588.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/403349d3f4f52cc62d60ad1e6c2b608b_5733704.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/e89515d161f3bcd104318d39424e18a3_88146836.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/88226d8fa95303f23cfc04111cc73719_94853062.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/43f0559cd63f25f281478a41994e5ac3_92327765.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/f869f62e64b0a44d9476d1617684fd87_63110864.png change filename to text .imagette261383691755920519/ imagette261383691755920519/1755835046_1196719_1378453315_20508a5713b192a5d4beb074769d0a77_rle_crop_3924737928_0.png.png imagette261383691755920519/1755834324_1179341_1378453083_8bb7bacd8d5d5a7cba7200662f28e419_rle_crop_3924737038_0.png.png imagette261383691755920519/1755834324_1179341_1378453083_8bb7bacd8d5d5a7cba7200662f28e419_rle_crop_3924737048_0.png.png imagette261383691755920519/1755834207_1176656_1378453015_2ec2960321c1c5f6d22be552fb2f72d5_rle_crop_3924736938_0.png.png imagette261383691755920519/1755834087_1172409_1378452574_b12f4f20e0364a622e9af7d4286f1abe_rle_crop_3924736708_0.png.png imagette261383691755920519/1755834207_1176656_1378453015_2ec2960321c1c5f6d22be552fb2f72d5_rle_crop_3924736937_0.png.png imagette261383691755920519/1755834087_1172409_1378452574_b12f4f20e0364a622e9af7d4286f1abe_rle_crop_3924736713_0.png.png imagette261383691755920519/1755834207_1176656_1378453015_2ec2960321c1c5f6d22be552fb2f72d5_rle_crop_3924736936_0.png.png imagette261383691755920519/1755834087_1172409_1378452865_2a980d19c512aba13166f78d264cd6a8_rle_crop_3924736676_0.png.png imagette261383691755920519/1755834087_1172409_1378452865_2a980d19c512aba13166f78d264cd6a8_rle_crop_3924736679_0.png.png imagette261383691755920519/1755834447_1183090_1378452579_513d3f9ddda845e9e98aa59d6c98f39e_rle_crop_3924737399_0.png.png imagette261383691755920519/1755834324_1179341_1378453051_72104cbb85c841bbd4cc89e84a911805_rle_crop_3924737055_0.png.png imagette261383691755920519/1755834207_1176656_1378452838_8576ba572be6a1ac93cc6d864d7b8ce7_rle_crop_3924736957_0.png.png imagette261383691755920519/1755834447_1183090_1378452579_513d3f9ddda845e9e98aa59d6c98f39e_rle_crop_3924737400_0.png.png imagette261383691755920519/1755834087_1172409_1378452865_2a980d19c512aba13166f78d264cd6a8_rle_crop_3924736677_0.png.png imagette261383691755920519/1755834324_1179341_1378453083_8bb7bacd8d5d5a7cba7200662f28e419_rle_crop_3924737041_0.png.png imagette261383691755920519/1755834324_1179341_1378453051_72104cbb85c841bbd4cc89e84a911805_rle_crop_3924737061_0.png.png imagette261383691755920519/1755834324_1179341_1378453051_72104cbb85c841bbd4cc89e84a911805_rle_crop_3924737057_0.png.png imagette261383691755920519/1755834087_1172409_1378452574_b12f4f20e0364a622e9af7d4286f1abe_rle_crop_3924736711_0.png.png imagette261383691755920519/1755834207_1176656_1378452838_8576ba572be6a1ac93cc6d864d7b8ce7_rle_crop_3924736951_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/202f5e743fbc52854a91fa220b7c4b04_65671256.png imagette261383691755920519 26138371 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138371 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378453112: '1755834207_1176656_1378452838_8576ba572be6a1ac93cc6d864d7b8ce7_rle_crop_3924736952_0.png'} change filename to text .imagette261383711755920521/ imagette261383711755920521/1755834207_1176656_1378452838_8576ba572be6a1ac93cc6d864d7b8ce7_rle_crop_3924736952_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/62f8a7dbe439c87fed8eb53386b9d9bc_37434707.png imagette261383711755920521 26138377 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138377 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1378453377: '1755834447_1183090_1378452291_740c789db3eecdccca654573b64cb2c5_rle_crop_3924737413_0.png'} change filename to text .imagette261383771755920521/ imagette261383771755920521/1755834447_1183090_1378452291_740c789db3eecdccca654573b64cb2c5_rle_crop_3924737413_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/f46a4c6e950121bfffe8f6b3af4de379_56553831.png imagette261383771755920521 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26138366 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26138379,26138380,26138381,26138382,26138383,26138384,26138385,26138386,26138387,26138388,26138389,26138390?tags=metal,autre_refus,Teint_Dans_La_Masse,cartonnette,Carton_brun,kraft,environnement,mal_croppe,flou,papier,Carton_gris,plastique your option no_mail is active, we will not send the real mail to your client args[1378453315] : ('0.04657929234572847',) no score found for photo 1378453315 We are sending mail with results at report@fotonower.com args[1378453193] : ('0.04657929234572847',) no score found for photo 1378453193 We are sending mail with results at report@fotonower.com args[1378453190] : ('0.04657929234572847',) no score found for photo 1378453190 We are sending mail with results at report@fotonower.com args[1378453117] : ('0.04657929234572847',) no score found for photo 1378453117 We are sending mail with results at report@fotonower.com args[1378453083] : ('0.04657929234572847',) no score found for photo 1378453083 We are sending mail with results at report@fotonower.com args[1378453057] : ('0.04657929234572847',) no score found for photo 1378453057 We are sending mail with results at report@fotonower.com args[1378453051] : ('0.04657929234572847',) no score found for photo 1378453051 We are sending mail with results at report@fotonower.com args[1378453015] : ('0.04657929234572847',) no score found for photo 1378453015 We are sending mail with results at report@fotonower.com args[1378452865] : ('0.04657929234572847',) no score found for photo 1378452865 We are sending mail with results at report@fotonower.com args[1378452838] : ('0.04657929234572847',) no score found for photo 1378452838 We are sending mail with results at report@fotonower.com args[1378452579] : ('0.04657929234572847',) no score found for photo 1378452579 We are sending mail with results at report@fotonower.com args[1378452574] : ('0.04657929234572847',) no score found for photo 1378452574 We are sending mail with results at report@fotonower.com args[1378452321] : ('0.04657929234572847',) no score found for photo 1378452321 We are sending mail with results at report@fotonower.com args[1378452291] : ('0.04657929234572847',) no score found for photo 1378452291 We are sending mail with results at report@fotonower.com args[1378451892] : ('0.04657929234572847',) no score found for photo 1378451892 We are sending mail with results at report@fotonower.com refus_total : 0.04657929234572847 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138366 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_P26138366_23-08-2025_05_41_58.pdf results_Auto_P26138366_23-08-2025_05_41_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138366_23-08-2025_05_41_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','26138366','results_Auto_P26138366_23-08-2025_05_41_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138366_23-08-2025_05_41_58.pdf','pdf','','0.19','0.04657929234572847') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26138366]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] map_info['map_portfolio_photo'] : {26138366: [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892]} final : False mtd_id 4302 list_pids : [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] 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, '3581801') ('4302', '26138366', '1378453315', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453193', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453190', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453117', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453083', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453057', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453051', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453015', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452865', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452838', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452579', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452574', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452321', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452291', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378451892', None, None, None, None, None, '3581801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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', '26138366', '1378453315', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453193', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453190', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453117', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453083', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453057', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453051', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453015', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452865', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452838', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452579', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452574', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452321', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452291', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378451892', None, None, None, None, None, '3581801')] time used for this insertion : 0.2567136287689209 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.531352996826172 time spend to save output : 0.25699830055236816 total time spend for step 4 : 5.78835129737854 step5:split_time_score Sat Aug 23 05:42:03 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 : ['26138366'] 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 : [('26138366',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26138366) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1378453190: {'path': 'temp/1755920517_1941275_1378453190_d3d43e923efaf21ceee118acdb87e852.jpg', 'extension': 'jpg'}, 1378453193: {'path': 'temp/1755920517_1941275_1378453193_9b37ee8ae4a01533aa250cbc938ae15d.jpg', 'extension': 'jpg'}, 1378453315: {'path': 'temp/1755920517_1941275_1378453315_20508a5713b192a5d4beb074769d0a77.jpg', 'extension': 'jpg'}, 1378453051: {'path': 'temp/1755920517_1941275_1378453051_72104cbb85c841bbd4cc89e84a911805.jpg', 'extension': 'jpg'}, 1378453057: {'path': 'temp/1755920517_1941275_1378453057_7447d36958ab2938673f3bf27dfe3934.jpg', 'extension': 'jpg'}, 1378453083: {'path': 'temp/1755920517_1941275_1378453083_8bb7bacd8d5d5a7cba7200662f28e419.jpg', 'extension': 'jpg'}, 1378453117: {'path': 'temp/1755920517_1941275_1378453117_516f634392b28719610f13bdf00eb6cf.jpg', 'extension': 'jpg'}, 1378452579: {'path': 'temp/1755920517_1941275_1378452579_513d3f9ddda845e9e98aa59d6c98f39e.jpg', 'extension': 'jpg'}, 1378452838: {'path': 'temp/1755920517_1941275_1378452838_8576ba572be6a1ac93cc6d864d7b8ce7.jpg', 'extension': 'jpg'}, 1378452865: {'path': 'temp/1755920517_1941275_1378452865_2a980d19c512aba13166f78d264cd6a8.jpg', 'extension': 'jpg'}, 1378453015: {'path': 'temp/1755920517_1941275_1378453015_2ec2960321c1c5f6d22be552fb2f72d5.jpg', 'extension': 'jpg'}, 1378451892: {'path': 'temp/1755920517_1941275_1378451892_ce98edb3f34af8d07c75e6044ee0c8b7.jpg', 'extension': 'jpg'}, 1378452291: {'path': 'temp/1755920517_1941275_1378452291_740c789db3eecdccca654573b64cb2c5.jpg', 'extension': 'jpg'}, 1378452321: {'path': 'temp/1755920517_1941275_1378452321_4eba58314a6d13a2213d470944b2f2d5.jpg', 'extension': 'jpg'}, 1378452574: {'path': 'temp/1755920517_1941275_1378452574_b12f4f20e0364a622e9af7d4286f1abe.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 = 26138366; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26138366 group by h (('05', 15),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26138366 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 (26138366) 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 (26138366) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22082025 26138366 Nombre de photos uploadées : 15 / 23040 (0%) 22082025 26138366 Nombre de photos taguées (types de déchets): 0 / 15 (0%) 22082025 26138366 Nombre de photos taguées (volume) : 0 / 15 (0%) [{'photo_id': 1378451892, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/ce98edb3f34af8d07c75e6044ee0c8b7.jpg', 'username': None, 'uploaded_at': 1755833827, 'text': 'image_22082025_05_32_44_10140.jpg'}, {'photo_id': 1378452321, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/4eba58314a6d13a2213d470944b2f2d5.jpg', 'username': None, 'uploaded_at': 1755833887, 'text': 'image_22082025_05_36_24_10135.jpg'}, {'photo_id': 1378452291, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/740c789db3eecdccca654573b64cb2c5.jpg', 'username': None, 'uploaded_at': 1755833887, 'text': 'image_22082025_05_37_14_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1378452579, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/22/513d3f9ddda845e9e98aa59d6c98f39e.jpg', 'username': None, 'uploaded_at': 1755833957, 'text': 'image_22082025_05_37_44_010145m0.jpg 2e-05 for time 1, id_amount 4 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ??????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006785392761230469 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26138366, '2025-08-22' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-22' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2155069,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22521662712097168 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= 2155069 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26126087, 'dashboard_result_id': 14217825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126087_22-08-2025_06_11_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26126089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26126093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126100, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26126514, 'dashboard_result_id': 14217826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126514_23-08-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26126551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26126552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126564, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26126953, 'dashboard_result_id': 14217827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126953_23-08-2025_05_35_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26126958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26126961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126969, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26127621, 'dashboard_result_id': 14217828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26127621_23-08-2025_05_36_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26127652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26127653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26127656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26127658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26127660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26127662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26127665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26127667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26127669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26127671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26127674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26127675, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26129234, 'dashboard_result_id': 14217829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129234_23-08-2025_05_36_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26129237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26129238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26129239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26129240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26129241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26129242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26129243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26129244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26129245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26129246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26129247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26129248, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26129712, 'dashboard_result_id': 14217830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129712_23-08-2025_05_36_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26129722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26129723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26129725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26129726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26129727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26129728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26129730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26129731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26129732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26129734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26129735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26129736, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26130103, 'dashboard_result_id': 14217831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130103_23-08-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26130125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26130126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26130128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26130129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26130130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26130135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26130140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26130145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26130146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26130147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26130148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26130151, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26130978, 'dashboard_result_id': 14217832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130978_23-08-2025_05_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26131013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26131014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26131015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26131016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26131017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26131018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26131019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26131020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26131021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26131022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26131023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26131024, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26131753, 'dashboard_result_id': 14217833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26131753_23-08-2025_05_38_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26131765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26131766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26131767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26131768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26131769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26131770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26131771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26131772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26131773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26131774, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26131775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26131776, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26132314, 'dashboard_result_id': 14217834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132314_23-08-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26132350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26132351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26132352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26132353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26132354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26132355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26132356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26132357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26132358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26132359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26132360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26132361, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26132892, 'dashboard_result_id': 14217835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132892_23-08-2025_05_39_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26132921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26132922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26132923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26132924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26132925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26132926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26132927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26132928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26132929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26132930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26132931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26132932, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26133470, 'dashboard_result_id': 14217836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26133470_23-08-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26133517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26133518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26133519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26133520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26133521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26133522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26133523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26133524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26133525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26133526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26133527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26133528, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26134101, 'dashboard_result_id': 14217837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134101_23-08-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26134127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26134128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26134129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26134130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26134131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26134132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26134133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26134134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26134135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26134136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26134137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26134138, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26134696, 'dashboard_result_id': 14217838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134696_23-08-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26134717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26134718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26134719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26134720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26134721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26134722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26134723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26134724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26134725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26134726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26134727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26134728, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26135499, 'dashboard_result_id': 14217839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26135499_23-08-2025_05_41_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26135568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26135569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26135570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26135571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26135572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26135573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26135574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26135575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26135576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26135577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26135578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26135579, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26138366, 'dashboard_result_id': 14217840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138366_22-08-2025_05_49_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26138367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138373, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138378, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26138601, 'dashboard_result_id': 14217841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138601_22-08-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138613, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26138779, 'dashboard_result_id': 14217842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138779_22-08-2025_06_19_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138798, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26138984, 'dashboard_result_id': 14217843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138984_22-08-2025_06_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138996, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26139186, 'dashboard_result_id': 14217844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139186_22-08-2025_06_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139200, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26139431, 'dashboard_result_id': 14217845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139431_22-08-2025_07_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139444, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26139625, 'dashboard_result_id': 14217846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139625_22-08-2025_07_18_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139641, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26139948, 'dashboard_result_id': 14217847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139948_22-08-2025_07_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26140000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26140001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26140002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26140003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26140004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26140005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26140006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26140007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26140008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26140009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26140010, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26140802, 'dashboard_result_id': 14217848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26140802_22-08-2025_08_08_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26140804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26140805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26140806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26140807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26140808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26140809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26140810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26140811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26140812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26140813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26140814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26140815, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26141292, 'dashboard_result_id': 14217849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141292_22-08-2025_08_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26141330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26141331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26141332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26141333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26141334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26141335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26141336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26141337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26141338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26141339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26141340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26141341, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26141575, 'dashboard_result_id': 14217850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141575_22-08-2025_08_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26141579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26141580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26141581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26141582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26141583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26141584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26141585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26141586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26141587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26141588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26141589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26141590, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26142028, 'dashboard_result_id': 14217851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142028_22-08-2025_08_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26142031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26142032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26142033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26142034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26142035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26142036, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26142037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26142038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26142039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26142040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26142041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26142042, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26142415, 'dashboard_result_id': 14217852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142415_22-08-2025_09_32_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26142416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26142417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26142418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26142419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26142420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26142421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26142422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26142423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26142424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26142425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26142426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26142427, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26143638, 'dashboard_result_id': 14217853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143638_23-08-2025_05_37_17.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26143643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26143644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26143645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26143646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26143647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26143648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26143649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26143650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26143651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26143652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26143653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26143654, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26143889, 'dashboard_result_id': 14217854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143889_22-08-2025_10_16_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26143893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26143894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26143895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26143896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26143897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26143898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26143899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26143900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26143901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26143902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26143903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26143904, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26144311, 'dashboard_result_id': 14217855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144311_22-08-2025_10_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26144317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26144318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26144319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26144320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26144321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26144322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26144323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26144324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26144325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26144326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26144327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26144328, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26145935, 'dashboard_result_id': 14217856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26145935_22-08-2025_11_53_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26145953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26145954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26145955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26145956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26145957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26145958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26145959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26145960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26145961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26145962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26145963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26145964, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26146987, 'dashboard_result_id': 14217857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146987_22-08-2025_12_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26147012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26147013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26147014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26147015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26147016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26147017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26147018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26147019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26147020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26147021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26147022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26147023, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26147299, 'dashboard_result_id': 14217858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26147299_22-08-2025_18_11_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26147326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26147327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26147328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26147329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26147330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26147331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26147332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26147333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26147334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26147335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26147336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26147337, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26150997, 'dashboard_result_id': 14217859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26150997_22-08-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26151006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26151007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26151008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26151009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26151010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26151011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26151012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26151013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26151014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26151015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26151016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26151017, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26151135, 'dashboard_result_id': 14217860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151135_22-08-2025_14_47_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26151157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26151158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26151159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26151160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26151161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26151162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26151163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26151164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26151165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26151166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26151167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26151168, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26151521, 'dashboard_result_id': 14217861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151521_22-08-2025_15_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26151523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26151524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26151525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26151526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26151527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26151528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26151529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26151530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26151531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26151532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26151533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26151534, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26151993, 'dashboard_result_id': 14217862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151993_22-08-2025_15_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26152014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26152015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26152016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26152017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26152018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26152019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26152020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26152021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26152022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26152023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26152024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26152025, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26152261, 'dashboard_result_id': 14217863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26152261_22-08-2025_15_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26152310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26152311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26152312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26152313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26152314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26152316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26152317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26152318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26152319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26152320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26152321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26152322, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26152719, 'dashboard_result_id': 14217864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26152719_22-08-2025_15_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26152748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26152749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26152750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26152752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26152754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26152755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26152756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26152757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26152758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26152759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26152760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26152761, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26153238, 'dashboard_result_id': 14217865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153238_22-08-2025_16_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26153252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26153253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26153254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26153255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26153256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26153257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26153258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26153259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26153260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26153261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26153262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26153264, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26153754, 'dashboard_result_id': 14217866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153754_22-08-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26153786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26153787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26153788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26153789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26153790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26153791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26153792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26153793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26153794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26153795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26153796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26153797, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26155286, 'dashboard_result_id': 14217867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26155286_22-08-2025_17_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26155291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26155292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26155293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26155294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26155295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26155296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26155297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26155298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26155299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26155300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26155301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26155302, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26155544, 'dashboard_result_id': 14217868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26155544_22-08-2025_18_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26155587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26155588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26155589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26155590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26155591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26155592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26155593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26155594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26155595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26155596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26155597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26155599, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26156605, 'dashboard_result_id': 14217869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26156605_22-08-2025_18_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26156626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26156627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26156628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26156629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26156630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26156631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26156632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26156633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26156634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26156636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26156637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26156638, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26156894, 'dashboard_result_id': 14217870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26156894_22-08-2025_18_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26156900, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26156901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26156902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26156903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26156904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26156905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26156906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26156907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26156908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26156909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26156910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26156911, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26157267, 'dashboard_result_id': 14217871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157267_22-08-2025_18_47_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26157296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26157297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26157298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26157299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26157300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26157301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26157302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26157303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26157304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26157305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26157306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26157307, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26157545, 'dashboard_result_id': 14217872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157545_22-08-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26157566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26157567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26157568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26157569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26157570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26157571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26157572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26157573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26157574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26157575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26157576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26157577, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26157885, 'dashboard_result_id': 14217873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157885_22-08-2025_19_17_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26157914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26157915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26157916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26157918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26157919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26157920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26157921, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26157922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26157923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26157924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26157925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26157926, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26158293, 'dashboard_result_id': 14217874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158293_22-08-2025_19_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26158302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26158303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26158304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26158305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26158306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26158307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26158308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26158310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26158311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26158312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26158313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26158315, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26158628, 'dashboard_result_id': 14217875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158628_22-08-2025_19_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26158651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26158652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26158653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26158654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26158655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26158656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26158657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26158658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26158659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26158660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26158661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26158662, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26158998, 'dashboard_result_id': 14217876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158998_22-08-2025_20_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26159016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159027, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26159275, 'dashboard_result_id': 14217877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159275_22-08-2025_20_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26159286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159291, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159296, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26159612, 'dashboard_result_id': 14217878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159612_22-08-2025_20_33_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26159633, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26159853, 'dashboard_result_id': 14217879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159853_22-08-2025_21_05_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26159883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159893, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26160443, 'dashboard_result_id': 14217880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160443_22-08-2025_21_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26160459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26160460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26160461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26160462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26160463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26160464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26160465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26160466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26160467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26160468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26160469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26160470, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26160785, 'dashboard_result_id': 14217881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160785_22-08-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26160802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26160803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26160804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26160805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26160806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26160807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26160808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26160809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26160810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26160811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26160812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26160813, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26161018, 'dashboard_result_id': 14217882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161018_22-08-2025_21_47_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26161035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161047, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26161273, 'dashboard_result_id': 14217883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161273_22-08-2025_22_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161291, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26161301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161302, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26161524, 'dashboard_result_id': 14217884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161524_22-08-2025_22_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26161537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161542, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26161869, 'dashboard_result_id': 14217885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161869_22-08-2025_22_33_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26161901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161912, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26162150, 'dashboard_result_id': 14217886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162150_22-08-2025_22_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26162168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26162169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26162171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26162172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26162173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26162174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26162175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26162176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26162177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26162178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26162179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26162180, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26162376, 'dashboard_result_id': 14217887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162376_23-08-2025_00_15_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26162419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26162420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26162421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26162422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26162423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26162424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26162425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26162426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26162427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26162428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26162429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26162430, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26162909, 'dashboard_result_id': 14217888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162909_22-08-2025_23_17_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26162918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26162919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26162920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26162921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26162922, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26162923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26162924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26162925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26162926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26162927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26162928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26162929, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26163196, 'dashboard_result_id': 14217889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26163196_22-08-2025_23_51_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26163197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26163198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26163199, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26163200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26163201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26163202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26163203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26163204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26163205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26163206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26163207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26163208, 'pht': 3726}}"}, {'dashboat_entry_day': 2155069, 'dashboard_run_id': 2170043, 'mtr_portfolio_id': 26164026, 'dashboard_result_id': 14217890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26164026_22-08-2025_23_54_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26164054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26164055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26164056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26164057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26164058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26164059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26164060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26164061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26164062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26164063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26164064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26164065, '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 = 26126087 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': 3581786, 'mtr_portfolio_id': 26126087, 'created_at': datetime.datetime(2025, 8, 23, 5, 34, 29), 'result': '0.0266916854399667', 'result_long': None, 'result_double': None}] Qualite : 0.0266916854399667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26126087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126087_22-08-2025_06_11_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26126087 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126087_22-08-2025_06_11_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26126089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26126093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126100, 'pht': 3726}}" where mtr_portfolio_id = 26126087 and dashboard_run_id = 2170621 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`=26126087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217825, 0.0266916854399667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126087_22-08-2025_06_11_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26126089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26126093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126100, '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 = 26126514 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': 3581787, 'mtr_portfolio_id': 26126514, 'created_at': datetime.datetime(2025, 8, 23, 5, 34, 59), 'result': '0.045419857596679956', 'result_long': None, 'result_double': None}] Qualite : 0.045419857596679956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26126514 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126514_23-08-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26126514 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126514_23-08-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26126551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26126552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126564, 'pht': 3726}}" where mtr_portfolio_id = 26126514 and dashboard_run_id = 2170621 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`=26126514 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217826, 0.045419857596679956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126514_23-08-2025_05_35_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26126551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26126552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126559, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126564, '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 = 26126953 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': 3581788, 'mtr_portfolio_id': 26126953, 'created_at': datetime.datetime(2025, 8, 23, 5, 35, 28), 'result': '0.05247024351993818', 'result_long': None, 'result_double': None}] Qualite : 0.05247024351993818 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26126953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126953_23-08-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26126953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126953_23-08-2025_05_35_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26126958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26126961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126969, 'pht': 3726}}" where mtr_portfolio_id = 26126953 and dashboard_run_id = 2170621 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`=26126953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217827, 0.05247024351993818, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26126953_23-08-2025_05_35_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26126958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26126959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26126960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26126961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26126962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26126963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26126964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26126965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26126966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26126967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26126968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26126969, '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 = 26127621 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': 3581789, 'mtr_portfolio_id': 26127621, 'created_at': datetime.datetime(2025, 8, 23, 5, 35, 57), 'result': '0.05724743282693976', 'result_long': None, 'result_double': None}] Qualite : 0.05724743282693976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26127621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26127621_23-08-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26127621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26127621_23-08-2025_05_36_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26127652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26127653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26127656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26127658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26127660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26127662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26127665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26127667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26127669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26127671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26127674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26127675, 'pht': 3726}}" where mtr_portfolio_id = 26127621 and dashboard_run_id = 2170621 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`=26127621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217828, 0.05724743282693976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26127621_23-08-2025_05_36_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26127652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26127653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26127656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26127658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26127660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26127662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26127665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26127667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26127669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26127671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26127674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26127675, '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 = 26129234 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': 3581790, 'mtr_portfolio_id': 26129234, 'created_at': datetime.datetime(2025, 8, 23, 5, 36, 30), 'result': '0.03976407392426781', 'result_long': None, 'result_double': None}] Qualite : 0.03976407392426781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26129234 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129234_23-08-2025_05_36_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26129234 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129234_23-08-2025_05_36_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26129237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26129238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26129239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26129240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26129241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26129242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26129243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26129244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26129245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26129246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26129247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26129248, 'pht': 3726}}" where mtr_portfolio_id = 26129234 and dashboard_run_id = 2170621 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`=26129234 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217829, 0.03976407392426781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129234_23-08-2025_05_36_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26129237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26129238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26129239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26129240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26129241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26129242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26129243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26129244, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26129245, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26129246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26129247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26129248, '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 = 26129712 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': 3581791, 'mtr_portfolio_id': 26129712, 'created_at': datetime.datetime(2025, 8, 23, 5, 36, 57), 'result': '0.04055371698186528', 'result_long': None, 'result_double': None}] Qualite : 0.04055371698186528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26129712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129712_23-08-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26129712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129712_23-08-2025_05_36_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26129722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26129723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26129725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26129726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26129727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26129728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26129730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26129731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26129732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26129734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26129735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26129736, 'pht': 3726}}" where mtr_portfolio_id = 26129712 and dashboard_run_id = 2170621 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`=26129712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217830, 0.04055371698186528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26129712_23-08-2025_05_36_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26129722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26129723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26129725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26129726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26129727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26129728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26129730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26129731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26129732, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26129734, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26129735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26129736, '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 = 26130103 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': 3581792, 'mtr_portfolio_id': 26130103, 'created_at': datetime.datetime(2025, 8, 23, 5, 37, 28), 'result': '0.065536567464279', 'result_long': None, 'result_double': None}] Qualite : 0.065536567464279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26130103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130103_23-08-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26130103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130103_23-08-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26130125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26130126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26130128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26130129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26130130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26130135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26130140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26130145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26130146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26130147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26130148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26130151, 'pht': 3726}}" where mtr_portfolio_id = 26130103 and dashboard_run_id = 2170621 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`=26130103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217831, 0.065536567464279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130103_23-08-2025_05_37_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26130125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26130126, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26130128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26130129, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26130130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26130135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26130140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26130145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26130146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26130147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26130148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26130151, '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 = 26130978 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': 3581793, 'mtr_portfolio_id': 26130978, 'created_at': datetime.datetime(2025, 8, 23, 5, 38), 'result': '0.04877813446088209', 'result_long': None, 'result_double': None}] Qualite : 0.04877813446088209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26130978 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130978_23-08-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26130978 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130978_23-08-2025_05_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26131013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26131014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26131015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26131016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26131017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26131018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26131019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26131020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26131021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26131022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26131023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26131024, 'pht': 3726}}" where mtr_portfolio_id = 26130978 and dashboard_run_id = 2170621 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`=26130978 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217832, 0.04877813446088209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130978_23-08-2025_05_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26131013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26131014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26131015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26131016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26131017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26131018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26131019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26131020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26131021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26131022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26131023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26131024, '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 = 26131753 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': 3581794, 'mtr_portfolio_id': 26131753, 'created_at': datetime.datetime(2025, 8, 23, 5, 38, 28), 'result': '0.03498222893675229', 'result_long': None, 'result_double': None}] Qualite : 0.03498222893675229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26131753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26131753_23-08-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26131753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26131753_23-08-2025_05_38_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26131765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26131766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26131767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26131768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26131769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26131770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26131771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26131772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26131773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26131774, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26131775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26131776, 'pht': 3726}}" where mtr_portfolio_id = 26131753 and dashboard_run_id = 2170621 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`=26131753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217833, 0.03498222893675229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26131753_23-08-2025_05_38_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26131765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26131766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26131767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26131768, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26131769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26131770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26131771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26131772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26131773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26131774, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26131775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26131776, '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 = 26132314 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': 3581795, 'mtr_portfolio_id': 26132314, 'created_at': datetime.datetime(2025, 8, 23, 5, 38, 57), 'result': '0.03311913689293648', 'result_long': None, 'result_double': None}] Qualite : 0.03311913689293648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26132314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132314_23-08-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26132314 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132314_23-08-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26132350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26132351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26132352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26132353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26132354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26132355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26132356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26132357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26132358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26132359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26132360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26132361, 'pht': 3726}}" where mtr_portfolio_id = 26132314 and dashboard_run_id = 2170621 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`=26132314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217834, 0.03311913689293648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132314_23-08-2025_05_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26132350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26132351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26132352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26132353, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26132354, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26132355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26132356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26132357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26132358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26132359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26132360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26132361, '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 = 26132892 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': 3581796, 'mtr_portfolio_id': 26132892, 'created_at': datetime.datetime(2025, 8, 23, 5, 39, 31), 'result': '0.029095582859480624', 'result_long': None, 'result_double': None}] Qualite : 0.029095582859480624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26132892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132892_23-08-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26132892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132892_23-08-2025_05_39_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26132921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26132922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26132923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26132924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26132925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26132926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26132927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26132928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26132929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26132930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26132931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26132932, 'pht': 3726}}" where mtr_portfolio_id = 26132892 and dashboard_run_id = 2170621 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`=26132892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217835, 0.029095582859480624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26132892_23-08-2025_05_39_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26132921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26132922, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26132923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26132924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26132925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26132926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26132927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26132928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26132929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26132930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26132931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26132932, '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 = 26133470 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': 3581797, 'mtr_portfolio_id': 26133470, 'created_at': datetime.datetime(2025, 8, 23, 5, 40), 'result': '0.04603383783591165', 'result_long': None, 'result_double': None}] Qualite : 0.04603383783591165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26133470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26133470_23-08-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26133470 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26133470_23-08-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26133517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26133518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26133519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26133520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26133521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26133522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26133523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26133524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26133525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26133526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26133527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26133528, 'pht': 3726}}" where mtr_portfolio_id = 26133470 and dashboard_run_id = 2170621 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`=26133470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217836, 0.04603383783591165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26133470_23-08-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26133517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26133518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26133519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26133520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26133521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26133522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26133523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26133524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26133525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26133526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26133527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26133528, '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 = 26134101 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': 3581798, 'mtr_portfolio_id': 26134101, 'created_at': datetime.datetime(2025, 8, 23, 5, 40, 29), 'result': '0.04490804974474303', 'result_long': None, 'result_double': None}] Qualite : 0.04490804974474303 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26134101 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134101_23-08-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26134101 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134101_23-08-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26134127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26134128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26134129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26134130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26134131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26134132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26134133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26134134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26134135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26134136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26134137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26134138, 'pht': 3726}}" where mtr_portfolio_id = 26134101 and dashboard_run_id = 2170621 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`=26134101 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217837, 0.04490804974474303, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134101_23-08-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26134127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26134128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26134129, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26134130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26134131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26134132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26134133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26134134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26134135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26134136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26134137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26134138, '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 = 26134696 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': 3581799, 'mtr_portfolio_id': 26134696, 'created_at': datetime.datetime(2025, 8, 23, 5, 40, 59), 'result': '0.043557853049582165', 'result_long': None, 'result_double': None}] Qualite : 0.043557853049582165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26134696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134696_23-08-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26134696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134696_23-08-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26134717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26134718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26134719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26134720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26134721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26134722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26134723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26134724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26134725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26134726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26134727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26134728, 'pht': 3726}}" where mtr_portfolio_id = 26134696 and dashboard_run_id = 2170621 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`=26134696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217838, 0.043557853049582165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26134696_23-08-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26134717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26134718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26134719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26134720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26134721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26134722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26134723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26134724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26134725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26134726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26134727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26134728, '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 = 26135499 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': 3581800, 'mtr_portfolio_id': 26135499, 'created_at': datetime.datetime(2025, 8, 23, 5, 41, 29), 'result': '0.045191096455751374', 'result_long': None, 'result_double': None}] Qualite : 0.045191096455751374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26135499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26135499_23-08-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26135499 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26135499_23-08-2025_05_41_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26135568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26135569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26135570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26135571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26135572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26135573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26135574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26135575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26135576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26135577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26135578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26135579, 'pht': 3726}}" where mtr_portfolio_id = 26135499 and dashboard_run_id = 2170621 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`=26135499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217839, 0.045191096455751374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26135499_23-08-2025_05_41_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26135568, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26135569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26135570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26135571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26135572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26135573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26135574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26135575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26135576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26135577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26135578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26135579, '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 = 26138366 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': 3581801, 'mtr_portfolio_id': 26138366, 'created_at': datetime.datetime(2025, 8, 23, 5, 41, 57), 'result': '0.04657929234572847', 'result_long': None, 'result_double': None}] Qualite : 0.04657929234572847 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26138366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138366_23-08-2025_05_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26138366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138366_23-08-2025_05_41_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26138367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138373, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138378, 'pht': 3726}}" where mtr_portfolio_id = 26138366 and dashboard_run_id = 2170621 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`=26138366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217840, 0.04657929234572847, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138366_23-08-2025_05_41_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26138367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138373, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138378, '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 = 26138601 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': 3572887, 'mtr_portfolio_id': 26138601, 'created_at': datetime.datetime(2025, 8, 22, 6, 2, 31), 'result': '0.022007902183691374', 'result_long': None, 'result_double': None}] Qualite : 0.022007902183691374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26138601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138601_22-08-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26138601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138601_22-08-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138613, 'pht': 3726}}" where mtr_portfolio_id = 26138601 and dashboard_run_id = 2170621 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`=26138601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217841, 0.022007902183691374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138601_22-08-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138603, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138613, '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 = 26138779 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': 3572930, 'mtr_portfolio_id': 26138779, 'created_at': datetime.datetime(2025, 8, 22, 6, 19, 33), 'result': '0.03765516079316112', 'result_long': None, 'result_double': None}] Qualite : 0.03765516079316112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26138779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138779_22-08-2025_06_19_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26138779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138779_22-08-2025_06_19_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138798, 'pht': 3726}}" where mtr_portfolio_id = 26138779 and dashboard_run_id = 2170621 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`=26138779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217842, 0.03765516079316112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138779_22-08-2025_06_19_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138797, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138798, '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 = 26138984 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': 3572956, 'mtr_portfolio_id': 26138984, 'created_at': datetime.datetime(2025, 8, 22, 6, 32, 59), 'result': '0.05246186399098813', 'result_long': None, 'result_double': None}] Qualite : 0.05246186399098813 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26138984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138984_22-08-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26138984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138984_22-08-2025_06_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138996, 'pht': 3726}}" where mtr_portfolio_id = 26138984 and dashboard_run_id = 2170621 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`=26138984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217843, 0.05246186399098813, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26138984_22-08-2025_06_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26138985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26138986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26138987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26138988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26138989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26138990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26138991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26138992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26138993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26138994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26138995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26138996, '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 = 26139186 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': 3572982, 'mtr_portfolio_id': 26139186, 'created_at': datetime.datetime(2025, 8, 22, 6, 49, 1), 'result': '0.07027636953517784', 'result_long': None, 'result_double': None}] Qualite : 0.07027636953517784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26139186 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139186_22-08-2025_06_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139186 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139186_22-08-2025_06_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139200, 'pht': 3726}}" where mtr_portfolio_id = 26139186 and dashboard_run_id = 2170621 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`=26139186 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217844, 0.07027636953517784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139186_22-08-2025_06_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139189, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139190, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139200, '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 = 26139431 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': 3573012, 'mtr_portfolio_id': 26139431, 'created_at': datetime.datetime(2025, 8, 22, 7, 3, 1), 'result': '0.07117542922826116', 'result_long': None, 'result_double': None}] Qualite : 0.07117542922826116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26139431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139431_22-08-2025_07_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139431_22-08-2025_07_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139444, 'pht': 3726}}" where mtr_portfolio_id = 26139431 and dashboard_run_id = 2170621 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`=26139431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217845, 0.07117542922826116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139431_22-08-2025_07_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139444, '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 = 26139625 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': 3573058, 'mtr_portfolio_id': 26139625, 'created_at': datetime.datetime(2025, 8, 22, 7, 18, 31), 'result': '0.01459555183359766', 'result_long': None, 'result_double': None}] Qualite : 0.01459555183359766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26139625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139625_22-08-2025_07_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139625_22-08-2025_07_18_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139641, 'pht': 3726}}" where mtr_portfolio_id = 26139625 and dashboard_run_id = 2170621 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`=26139625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217846, 0.01459555183359766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139625_22-08-2025_07_18_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26139630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26139631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26139632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26139633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26139634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26139636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26139637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26139638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26139639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26139640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26139641, '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 = 26139948 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': 3573144, 'mtr_portfolio_id': 26139948, 'created_at': datetime.datetime(2025, 8, 22, 7, 32, 30), 'result': '0.03355734783107744', 'result_long': None, 'result_double': None}] Qualite : 0.03355734783107744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26139948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139948_22-08-2025_07_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139948_22-08-2025_07_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26140000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26140001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26140002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26140003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26140004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26140005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26140006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26140007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26140008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26140009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26140010, 'pht': 3726}}" where mtr_portfolio_id = 26139948 and dashboard_run_id = 2170621 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`=26139948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217847, 0.03355734783107744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139948_22-08-2025_07_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26139999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26140000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26140001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26140002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26140003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26140004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26140005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26140006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26140007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26140008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26140009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26140010, '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 = 26140802 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': 3573247, 'mtr_portfolio_id': 26140802, 'created_at': datetime.datetime(2025, 8, 22, 8, 8, 58), 'result': '0.024974509852228457', 'result_long': None, 'result_double': None}] Qualite : 0.024974509852228457 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26140802 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26140802_22-08-2025_08_08_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26140802 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26140802_22-08-2025_08_08_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26140804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26140805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26140806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26140807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26140808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26140809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26140810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26140811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26140812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26140813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26140814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26140815, 'pht': 3726}}" where mtr_portfolio_id = 26140802 and dashboard_run_id = 2170621 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`=26140802 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217848, 0.024974509852228457, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26140802_22-08-2025_08_08_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26140804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26140805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26140806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26140807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26140808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26140809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26140810, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26140811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26140812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26140813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26140814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26140815, '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 = 26141292 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': 3573308, 'mtr_portfolio_id': 26141292, 'created_at': datetime.datetime(2025, 8, 22, 8, 17), 'result': '0.09968641190021395', 'result_long': None, 'result_double': None}] Qualite : 0.09968641190021395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26141292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141292_22-08-2025_08_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141292 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141292_22-08-2025_08_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26141330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26141331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26141332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26141333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26141334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26141335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26141336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26141337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26141338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26141339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26141340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26141341, 'pht': 3726}}" where mtr_portfolio_id = 26141292 and dashboard_run_id = 2170621 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`=26141292 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217849, 0.09968641190021395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141292_22-08-2025_08_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26141330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26141331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26141332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26141333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26141334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26141335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26141336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26141337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26141338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26141339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26141340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26141341, '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 = 26141575 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': 3573350, 'mtr_portfolio_id': 26141575, 'created_at': datetime.datetime(2025, 8, 22, 8, 32, 58), 'result': '0.02091547016856818', 'result_long': None, 'result_double': None}] Qualite : 0.02091547016856818 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26141575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141575_22-08-2025_08_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141575_22-08-2025_08_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26141579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26141580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26141581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26141582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26141583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26141584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26141585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26141586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26141587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26141588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26141589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26141590, 'pht': 3726}}" where mtr_portfolio_id = 26141575 and dashboard_run_id = 2170621 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`=26141575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217850, 0.02091547016856818, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141575_22-08-2025_08_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26141579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26141580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26141581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26141582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26141583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26141584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26141585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26141586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26141587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26141588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26141589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26141590, '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 = 26142028 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': 3573407, 'mtr_portfolio_id': 26142028, 'created_at': datetime.datetime(2025, 8, 22, 8, 48, 58), 'result': '0.16455724705604735', 'result_long': None, 'result_double': None}] Qualite : 0.16455724705604735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26142028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142028_22-08-2025_08_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26142028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142028_22-08-2025_08_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26142031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26142032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26142033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26142034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26142035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26142036, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26142037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26142038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26142039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26142040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26142041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26142042, 'pht': 3726}}" where mtr_portfolio_id = 26142028 and dashboard_run_id = 2170621 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`=26142028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217851, 0.16455724705604735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142028_22-08-2025_08_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26142031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26142032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26142033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26142034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26142035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26142036, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26142037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26142038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26142039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26142040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26142041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26142042, '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 = 26142415 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': 3573445, 'mtr_portfolio_id': 26142415, 'created_at': datetime.datetime(2025, 8, 22, 9, 32, 32), 'result': '0.045909400264754055', 'result_long': None, 'result_double': None}] Qualite : 0.045909400264754055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26142415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142415_22-08-2025_09_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26142415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142415_22-08-2025_09_32_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26142416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26142417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26142418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26142419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26142420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26142421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26142422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26142423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26142424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26142425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26142426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26142427, 'pht': 3726}}" where mtr_portfolio_id = 26142415 and dashboard_run_id = 2170621 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`=26142415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217852, 0.045909400264754055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142415_22-08-2025_09_32_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26142416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26142417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26142418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26142419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26142420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26142421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26142422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26142423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26142424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26142425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26142426, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26142427, '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 = 26143638 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 = 26143638 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 = 26143638 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26143638 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 = 26143638 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 = 26143638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143638_22-08-2025_10_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26143638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143638_22-08-2025_10_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26143643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26143644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26143645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26143646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26143647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26143648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26143649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26143650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26143651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26143652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26143653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26143654, 'pht': 3726}}" where mtr_portfolio_id = 26143638 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26143889 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': 3573650, 'mtr_portfolio_id': 26143889, 'created_at': datetime.datetime(2025, 8, 22, 10, 16, 30), 'result': '0.02049860946024329', 'result_long': None, 'result_double': None}] Qualite : 0.02049860946024329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26143889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143889_22-08-2025_10_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26143889 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143889_22-08-2025_10_16_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26143893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26143894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26143895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26143896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26143897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26143898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26143899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26143900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26143901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26143902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26143903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26143904, 'pht': 3726}}" where mtr_portfolio_id = 26143889 and dashboard_run_id = 2170621 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`=26143889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217854, 0.02049860946024329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143889_22-08-2025_10_16_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26143893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26143894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26143895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26143896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26143897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26143898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26143899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26143900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26143901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26143902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26143903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26143904, '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 = 26144311 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': 3573693, 'mtr_portfolio_id': 26144311, 'created_at': datetime.datetime(2025, 8, 22, 10, 32, 59), 'result': '0.0838462126898821', 'result_long': None, 'result_double': None}] Qualite : 0.0838462126898821 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26144311 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144311_22-08-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26144311 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144311_22-08-2025_10_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26144317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26144318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26144319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26144320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26144321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26144322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26144323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26144324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26144325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26144326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26144327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26144328, 'pht': 3726}}" where mtr_portfolio_id = 26144311 and dashboard_run_id = 2170621 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`=26144311 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217855, 0.0838462126898821, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144311_22-08-2025_10_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26144317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26144318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26144319, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26144320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26144321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26144322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26144323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26144324, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26144325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26144326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26144327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26144328, '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 = 26145935 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': 3573964, 'mtr_portfolio_id': 26145935, 'created_at': datetime.datetime(2025, 8, 22, 11, 52, 59), 'result': '0.030418230431182264', 'result_long': None, 'result_double': None}] Qualite : 0.030418230431182264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26145935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26145935_22-08-2025_11_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26145935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26145935_22-08-2025_11_53_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26145953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26145954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26145955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26145956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26145957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26145958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26145959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26145960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26145961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26145962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26145963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26145964, 'pht': 3726}}" where mtr_portfolio_id = 26145935 and dashboard_run_id = 2170621 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`=26145935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14217856, 0.030418230431182264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26145935_22-08-2025_11_53_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26145953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26145954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26145955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26145956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26145957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26145958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26145959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26145960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26145961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26145962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26145963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26145964, '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 = 26146987 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 = 26146987 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 = 26146987 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26146987 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 = 26146987 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 = 26146987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146987_22-08-2025_12_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146987_22-08-2025_12_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26147012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26147013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26147014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26147015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26147016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26147017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26147018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26147019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26147020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26147021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26147022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26147023, 'pht': 3726}}" where mtr_portfolio_id = 26146987 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26147299 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 = 26147299 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 = 26147299 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26147299 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 = 26147299 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 = 26147299 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26147299_22-08-2025_18_11_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26147299 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26147299_22-08-2025_18_11_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26147326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26147327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26147328, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26147329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26147330, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26147331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26147332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26147333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26147334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26147335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26147336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26147337, 'pht': 3726}}" where mtr_portfolio_id = 26147299 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26150997 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 = 26150997 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 = 26150997 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26150997 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 = 26150997 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 = 26150997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26150997_22-08-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26150997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26150997_22-08-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26151006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26151007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26151008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26151009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26151010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26151011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26151012, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26151013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26151014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26151015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26151016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26151017, 'pht': 3726}}" where mtr_portfolio_id = 26150997 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26151135 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 = 26151135 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 = 26151135 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26151135 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 = 26151135 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 = 26151135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151135_22-08-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26151135 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151135_22-08-2025_14_47_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26151157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26151158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26151159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26151160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26151161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26151162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26151163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26151164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26151165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26151166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26151167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26151168, 'pht': 3726}}" where mtr_portfolio_id = 26151135 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26151521 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 = 26151521 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 = 26151521 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26151521 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 = 26151521 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 = 26151521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151521_22-08-2025_15_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26151521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151521_22-08-2025_15_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26151523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26151524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26151525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26151526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26151527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26151528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26151529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26151530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26151531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26151532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26151533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26151534, 'pht': 3726}}" where mtr_portfolio_id = 26151521 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26151993 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 = 26151993 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 = 26151993 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26151993 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 = 26151993 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 = 26151993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151993_22-08-2025_15_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26151993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151993_22-08-2025_15_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26152014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26152015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26152016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26152017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26152018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26152019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26152020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26152021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26152022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26152023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26152024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26152025, 'pht': 3726}}" where mtr_portfolio_id = 26151993 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26152261 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 = 26152261 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 = 26152261 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26152261 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 = 26152261 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 = 26152261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26152261_22-08-2025_15_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26152261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26152261_22-08-2025_15_33_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26152310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26152311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26152312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26152313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26152314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26152316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26152317, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26152318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26152319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26152320, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26152321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26152322, 'pht': 3726}}" where mtr_portfolio_id = 26152261 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26152719 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 = 26152719 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 = 26152719 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26152719 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 = 26152719 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 = 26152719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26152719_22-08-2025_15_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26152719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26152719_22-08-2025_15_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26152748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26152749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26152750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26152752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26152754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26152755, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26152756, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26152757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26152758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26152759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26152760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26152761, 'pht': 3726}}" where mtr_portfolio_id = 26152719 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26153238 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 = 26153238 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 = 26153238 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26153238 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 = 26153238 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 = 26153238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153238_22-08-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26153238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153238_22-08-2025_16_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26153252, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26153253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26153254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26153255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26153256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26153257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26153258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26153259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26153260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26153261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26153262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26153264, 'pht': 3726}}" where mtr_portfolio_id = 26153238 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26153754 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 = 26153754 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 = 26153754 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26153754 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 = 26153754 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 = 26153754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153754_22-08-2025_16_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26153754 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153754_22-08-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26153786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26153787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26153788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26153789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26153790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26153791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26153792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26153793, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26153794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26153795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26153796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26153797, 'pht': 3726}}" where mtr_portfolio_id = 26153754 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26155286 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 = 26155286 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 = 26155286 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26155286 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 = 26155286 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 = 26155286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26155286_22-08-2025_17_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26155286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26155286_22-08-2025_17_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26155291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26155292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26155293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26155294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26155295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26155296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26155297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26155298, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26155299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26155300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26155301, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26155302, 'pht': 3726}}" where mtr_portfolio_id = 26155286 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26155544 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 = 26155544 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 = 26155544 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26155544 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 = 26155544 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 = 26155544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26155544_22-08-2025_18_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26155544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26155544_22-08-2025_18_03_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26155587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26155588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26155589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26155590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26155591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26155592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26155593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26155594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26155595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26155596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26155597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26155599, 'pht': 3726}}" where mtr_portfolio_id = 26155544 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26156605 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 = 26156605 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 = 26156605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26156605 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 = 26156605 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 = 26156605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26156605_22-08-2025_18_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26156605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26156605_22-08-2025_18_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26156626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26156627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26156628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26156629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26156630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26156631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26156632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26156633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26156634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26156636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26156637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26156638, 'pht': 3726}}" where mtr_portfolio_id = 26156605 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26156894 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 = 26156894 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 = 26156894 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26156894 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 = 26156894 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 = 26156894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26156894_22-08-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26156894 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26156894_22-08-2025_18_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26156900, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26156901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26156902, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26156903, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26156904, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26156905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26156906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26156907, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26156908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26156909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26156910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26156911, 'pht': 3726}}" where mtr_portfolio_id = 26156894 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26157267 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 = 26157267 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 = 26157267 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26157267 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 = 26157267 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 = 26157267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157267_22-08-2025_18_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26157267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157267_22-08-2025_18_47_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26157296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26157297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26157298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26157299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26157300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26157301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26157302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26157303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26157304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26157305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26157306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26157307, 'pht': 3726}}" where mtr_portfolio_id = 26157267 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26157545 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 = 26157545 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 = 26157545 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26157545 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 = 26157545 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 = 26157545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157545_22-08-2025_19_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26157545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157545_22-08-2025_19_03_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26157566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26157567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26157568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26157569, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26157570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26157571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26157572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26157573, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26157574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26157575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26157576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26157577, 'pht': 3726}}" where mtr_portfolio_id = 26157545 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26157885 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 = 26157885 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 = 26157885 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26157885 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 = 26157885 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 = 26157885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157885_22-08-2025_19_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26157885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157885_22-08-2025_19_17_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26157914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26157915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26157916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26157918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26157919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26157920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26157921, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26157922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26157923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26157924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26157925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26157926, 'pht': 3726}}" where mtr_portfolio_id = 26157885 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26158293 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 = 26158293 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 = 26158293 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26158293 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 = 26158293 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 = 26158293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158293_22-08-2025_19_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26158293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158293_22-08-2025_19_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26158302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26158303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26158304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26158305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26158306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26158307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26158308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26158310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26158311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26158312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26158313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26158315, 'pht': 3726}}" where mtr_portfolio_id = 26158293 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26158628 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 = 26158628 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 = 26158628 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26158628 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 = 26158628 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 = 26158628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158628_22-08-2025_19_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26158628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158628_22-08-2025_19_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26158651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26158652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26158653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26158654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26158655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26158656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26158657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26158658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26158659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26158660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26158661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26158662, 'pht': 3726}}" where mtr_portfolio_id = 26158628 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26158998 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 = 26158998 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 = 26158998 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26158998 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 = 26158998 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 = 26158998 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158998_22-08-2025_20_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26158998 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158998_22-08-2025_20_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26159016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159027, 'pht': 3726}}" where mtr_portfolio_id = 26158998 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26159275 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 = 26159275 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 = 26159275 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26159275 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 = 26159275 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 = 26159275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159275_22-08-2025_20_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26159275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159275_22-08-2025_20_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26159286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159291, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159295, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159296, 'pht': 3726}}" where mtr_portfolio_id = 26159275 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26159612 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 = 26159612 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 = 26159612 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26159612 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 = 26159612 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 = 26159612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159612_22-08-2025_20_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26159612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159612_22-08-2025_20_33_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26159633, 'pht': 3726}}" where mtr_portfolio_id = 26159612 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26159853 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 = 26159853 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 = 26159853 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26159853 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 = 26159853 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 = 26159853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159853_22-08-2025_21_05_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26159853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159853_22-08-2025_21_05_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26159882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26159883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26159884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26159885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26159886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26159887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26159888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26159889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26159890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26159891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26159892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26159893, 'pht': 3726}}" where mtr_portfolio_id = 26159853 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26160443 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 = 26160443 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 = 26160443 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26160443 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 = 26160443 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 = 26160443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160443_22-08-2025_21_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26160443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160443_22-08-2025_21_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26160459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26160460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26160461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26160462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26160463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26160464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26160465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26160466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26160467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26160468, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26160469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26160470, 'pht': 3726}}" where mtr_portfolio_id = 26160443 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26160785 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 = 26160785 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 = 26160785 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26160785 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 = 26160785 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 = 26160785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160785_22-08-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26160785 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160785_22-08-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26160802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26160803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26160804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26160805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26160806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26160807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26160808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26160809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26160810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26160811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26160812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26160813, 'pht': 3726}}" where mtr_portfolio_id = 26160785 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161018 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 = 26161018 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 = 26161018 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161018 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 = 26161018 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 = 26161018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161018_22-08-2025_21_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26161018 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161018_22-08-2025_21_47_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26161035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161047, 'pht': 3726}}" where mtr_portfolio_id = 26161018 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161273 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 = 26161273 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 = 26161273 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161273 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 = 26161273 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 = 26161273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161273_22-08-2025_22_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26161273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161273_22-08-2025_22_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161291, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161294, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161300, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26161301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161302, 'pht': 3726}}" where mtr_portfolio_id = 26161273 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161524 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 = 26161524 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 = 26161524 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161524 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 = 26161524 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 = 26161524 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161524_22-08-2025_22_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26161524 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161524_22-08-2025_22_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161535, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26161537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161542, 'pht': 3726}}" where mtr_portfolio_id = 26161524 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161869 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 = 26161869 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 = 26161869 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26161869 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 = 26161869 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 = 26161869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161869_22-08-2025_22_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26161869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161869_22-08-2025_22_33_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26161901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26161902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26161903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26161904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26161905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26161906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26161907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26161908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26161909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26161910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26161911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26161912, 'pht': 3726}}" where mtr_portfolio_id = 26161869 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26162150 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 = 26162150 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 = 26162150 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26162150 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 = 26162150 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 = 26162150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162150_22-08-2025_22_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26162150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162150_22-08-2025_22_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26162168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26162169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26162171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26162172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26162173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26162174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26162175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26162176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26162177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26162178, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26162179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26162180, 'pht': 3726}}" where mtr_portfolio_id = 26162150 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26162376 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 = 26162376 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 = 26162376 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26162376 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 = 26162376 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 = 26162376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162376_23-08-2025_00_15_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26162376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162376_23-08-2025_00_15_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26162419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26162420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26162421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26162422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26162423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26162424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26162425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26162426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26162427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26162428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26162429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26162430, 'pht': 3726}}" where mtr_portfolio_id = 26162376 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26162909 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 = 26162909 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 = 26162909 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26162909 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 = 26162909 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 = 26162909 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162909_22-08-2025_23_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26162909 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162909_22-08-2025_23_17_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26162918, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26162919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26162920, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26162921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26162922, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26162923, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26162924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26162925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26162926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26162927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26162928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26162929, 'pht': 3726}}" where mtr_portfolio_id = 26162909 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26163196 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 = 26163196 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 = 26163196 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26163196 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 = 26163196 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 = 26163196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26163196_22-08-2025_23_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26163196 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26163196_22-08-2025_23_51_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26163197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26163198, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26163199, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26163200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26163201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26163202, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26163203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26163204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26163205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26163206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26163207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26163208, 'pht': 3726}}" where mtr_portfolio_id = 26163196 and dashboard_run_id = 2170621 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26164026 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 = 26164026 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 = 26164026 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26164026 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 = 26164026 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 = 26164026 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26164026_23-08-2025_02_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26164026 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26164026_23-08-2025_02_35_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26164054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26164055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26164056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26164057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26164058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26164059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26164060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26164061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26164062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26164063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26164064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26164065, 'pht': 3726}}" where mtr_portfolio_id = 26164026 and dashboard_run_id = 2170621 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26126087,26126514,26126953,26127621,26129234,26129712,26130103,26130978,26131753,26132314,26132892,26133470,26134101,26134696,26135499,26138366,26138601,26138779,26138984,26139186,26139431,26139625,26139948,26140802,26141292,26141575,26142028,26142415,26143638,26143889,26144311,26145935,26146987,26147299,26150997,26151135,26151521,26151993,26152261,26152719,26153238,26153754,26155286,26155544,26156605,26156894,26157267,26157545,26157885,26158293,26158628,26158998,26159275,26159612,26159853,26160443,26160785,26161018,26161273,26161524,26161869,26162150,26162376,26162909,26163196,26164026) result : ((1378358095,), (1378358098,), (1378358099,), (1378358102,), (1378358105,), (1378358108,), (1378358111,), (1378358114,), (1378358117,), (1378358141,), (1378358143,), (1378358145,), (1378358148,), (1378358177,), (1378358180,), (1378358183,), (1378358185,), (1378358186,), (1378358219,), (1378358220,), (1378358223,), (1378358224,), (1378358227,), (1378358228,), (1378358232,), (1378358233,), (1378358238,), (1378358239,), (1378358241,), (1378358243,), (1378358251,), (1378358253,), (1378358255,), (1378358258,), (1378358289,), (1378358291,), (1378358294,), (1378358297,), (1378358300,), (1378358330,), (1378358331,), (1378358334,), (1378358335,), (1378358336,), (1378358337,), (1378358340,), (1378358341,), (1378358343,), (1378358344,), (1378358368,), (1378358371,), (1378358375,), (1378358379,), (1378358404,), (1378358407,), (1378358409,), (1378358424,), (1378358429,), (1378358432,), (1378358435,), (1378358438,), (1378358441,), (1378358445,), (1378358449,), (1378358470,), (1378358473,), (1378358477,), (1378358503,), (1378358507,), (1378358511,), (1378358514,), (1378358516,), (1378358538,), (1378358540,), (1378358542,), (1378358544,), (1378358570,), (1378358603,), (1378360256,), (1378361915,), (1378361986,), (1378362977,), (1378363050,), (1378363139,), (1378363167,), (1378363284,), (1378363292,), (1378363294,), (1378363757,), (1378363806,), (1378363855,), (1378364350,), (1378364351,), (1378364376,), (1378364385,), (1378364420,), (1378364428,), (1378364444,), (1378364445,), (1378364565,), (1378364566,), (1378364575,), (1378364577,), (1378364579,), (1378364580,), (1378364703,), (1378364704,), (1378364749,), (1378364755,), (1378364782,), (1378364786,), (1378365030,), (1378365031,), (1378365052,), (1378365054,), (1378365074,), (1378365075,), (1378365078,), (1378365079,), (1378365082,), (1378365083,), (1378365426,), (1378365450,), (1378365479,), (1378365506,), (1378365541,), (1378365554,), (1378365556,), (1378365576,), (1378365649,), (1378365651,), (1378365653,), (1378365882,), (1378365777,), (1378365844,), (1378366120,), (1378366153,), (1378366224,), (1378366255,), (1378366291,), (1378366295,), (1378366636,), (1378366659,), (1378366686,), (1378366698,), (1378366811,), (1378366814,), (1378366816,), (1378366818,), (1378366820,), (1378366844,), (1378366845,), (1378366847,), (1378366848,), (1378366850,), (1378366851,), (1378366853,), (1378366854,), (1378367134,), (1378367135,), (1378367150,), (1378367151,), (1378367154,), (1378367155,), (1378367163,), (1378367167,), (1378367181,), (1378367184,), (1378367201,), (1378367202,), (1378367208,), (1378367258,), (1378367315,), (1378367366,), (1378367416,), (1378367705,), (1378367758,), (1378368592,), (1378368594,), (1378368629,), (1378368649,), (1378368676,), (1378368853,), (1378368856,), (1378368858,), (1378368861,), (1378368865,), (1378368867,), (1378369127,), (1378369139,), (1378369143,), (1378369371,), (1378369374,), (1378369643,), (1378369670,), (1378369698,), (1378369724,), (1378369751,), (1378369949,), (1378369972,), (1378370017,), (1378370046,), (1378370342,), (1378370343,), (1378370388,), (1378370391,), (1378370419,), (1378370424,), (1378370437,), (1378370438,), (1378370446,), (1378370453,), (1378370684,), (1378370671,), (1378370674,), (1378370993,), (1378371033,), (1378371049,), (1378371073,), (1378371090,), (1378371092,), (1378371095,), (1378371099,), (1378371103,), (1378371134,), (1378371141,), (1378371144,), (1378371239,), (1378371261,), (1378371279,), (1378371281,), (1378371436,), (1378371439,), (1378371442,), (1378371483,), (1378371485,), (1378371487,), (1378371490,), (1378371492,), (1378371784,), (1378371813,), (1378371840,), (1378371865,), (1378371892,), (1378372042,), (1378372045,), (1378372048,), (1378372054,), (1378372081,), (1378372128,), (1378372129,), (1378372132,), (1378372133,), (1378372136,), (1378372137,), (1378372278,), (1378372306,), (1378372337,), (1378372518,), (1378372522,), (1378372525,), (1378372532,), (1378372560,), (1378372665,), (1378372668,), (1378372670,), (1378372673,), (1378372729,), (1378372733,), (1378372736,), (1378372739,), (1378380373,), (1378380295,), (1378380320,), (1378380349,), (1378380657,), (1378380681,), (1378380710,), (1378380763,), (1378380790,), (1378381126,), (1378381172,), (1378381218,), (1378381497,), (1378381528,), (1378381558,), (1378381588,), (1378382005,), (1378382031,), (1378382054,), (1378382077,), (1378382089,), (1378382389,), (1378382430,), (1378382454,), (1378382468,), (1378382481,), (1378382509,), (1378382672,), (1378382711,), (1378382758,), (1378382792,), (1378383152,), (1378383197,), (1378383246,), (1378383298,), (1378383323,), (1378383346,), (1378383479,), (1378383497,), (1378383510,), (1378383514,), (1378383518,), (1378383521,), (1378383541,), (1378383544,), (1378383563,), (1378383565,), (1378383566,), (1378383590,), (1378383933,), (1378383953,), (1378383986,), (1378383991,), (1378383993,), (1378384065,), (1378384067,), (1378384069,), (1378384071,), (1378384094,), (1378384101,), (1378384103,), (1378384105,), (1378384107,), (1378384127,), (1378384128,), (1378384131,), (1378384519,), (1378384389,), (1378384418,), (1378384444,), (1378384470,), (1378384495,), (1378384822,), (1378384852,), (1378384897,), (1378384947,), (1378385315,), (1378385351,), (1378385362,), (1378385364,), (1378385384,), (1378385385,), (1378385386,), (1378385388,), (1378385389,), (1378385392,), (1378385433,), (1378385461,), (1378385484,), (1378385507,), (1378385518,), (1378385635,), (1378385662,), (1378386196,), (1378386200,), (1378386203,), (1378386208,), (1378386606,), (1378386641,), (1378386665,), (1378386669,), (1378386791,), (1378386817,), (1378386840,), (1378387051,), (1378387115,), (1378387161,), (1378387163,), (1378387165,), (1378387180,), (1378387191,), (1378387218,), (1378387245,), (1378387273,), (1378387376,), (1378387402,), (1378387900,), (1378387710,), (1378387754,), (1378387804,), (1378387857,), (1378388313,), (1378388351,), (1378388395,), (1378388444,), (1378388486,), (1378388755,), (1378388788,), (1378388837,), (1378388888,), (1378388929,), (1378388959,), (1378389367,), (1378389392,), (1378389420,), (1378389720,), (1378389761,), (1378389790,), (1378389801,), (1378389805,), (1378390005,), (1378390029,), (1378390053,), (1378390076,), (1378390101,), (1378390370,), (1378390429,), (1378390453,), (1378390478,), (1378390675,), (1378390676,), (1378390677,), (1378390711,), (1378390756,), (1378390804,), (1378391093,), (1378391123,), (1378391147,), (1378391168,), (1378391316,), (1378391319,), (1378391336,), (1378391374,), (1378391376,), (1378391378,), (1378391381,), (1378391386,), (1378391580,), (1378391600,), (1378391623,), (1378391670,), (1378391677,), (1378391703,), (1378392018,), (1378392045,), (1378392072,), (1378392098,), (1378392130,), (1378392137,), (1378392330,), (1378392343,), (1378392345,), (1378393001,), (1378393117,), (1378393213,), (1378393294,), (1378393365,), (1378393675,), (1378394271,), (1378393671,), (1378393673,), (1378393674,), (1378393886,), (1378393894,), (1378393922,), (1378393965,), (1378394019,), (1378394077,), (1378394220,), (1378394246,), (1378394372,), (1378394387,), (1378394411,), (1378394715,), (1378394718,), (1378394721,), (1378394723,), (1378394724,), (1378394737,), (1378394907,), (1378394928,), (1378394930,), (1378394948,), (1378394971,), (1378395247,), (1378395248,), (1378395249,), (1378395251,), (1378395269,), (1378395272,), (1378395277,), (1378395279,), (1378395281,), (1378395283,), (1378395285,), (1378395288,), (1378395469,), (1378395471,), (1378395474,), (1378395476,), (1378395842,), (1378395919,), (1378395961,), (1378396010,), (1378396059,), (1378396115,), (1378396419,), (1378396430,), (1378396443,), (1378396458,), (1378396476,), (1378396798,), (1378396813,), (1378396841,), (1378396885,), (1378397097,), (1378397122,), (1378397146,), (1378397161,), (1378397164,), (1378397294,), (1378397296,), (1378397299,), (1378397302,), (1378397305,), (1378397308,), (1378397340,), (1378397341,), (1378397343,), (1378397346,), (1378397499,), (1378397503,), (1378397508,), (1378397512,), (1378397515,), (1378397874,), (1378397756,), (1378397778,), (1378397804,), (1378397832,), (1378398007,), (1378398014,), (1378398016,), (1378398020,), (1378398040,), (1378398268,), (1378398295,), (1378398319,), (1378398345,), (1378398371,), (1378398519,), (1378398523,), (1378398531,), (1378398556,), (1378398580,), (1378398732,), (1378398772,), (1378398800,), (1378398831,), (1378398848,), (1378398921,), (1378398944,), (1378398968,), (1378398994,), (1378399023,), (1378399252,), (1378400118,), (1378400178,), (1378400225,), (1378400275,), (1378400334,), (1378400727,), (1378400749,), (1378401126,), (1378401169,), (1378401468,), (1378402530,), (1378402403,), (1378402426,), (1378402450,), (1378402483,), (1378402964,), (1378402987,), (1378403014,), (1378403399,), (1378403456,), (1378403506,), (1378404332,), (1378404391,), (1378405293,), (1378405333,), (1378405365,), (1378405389,), (1378405813,), (1378405816,), (1378405843,), (1378405849,), (1378405855,), (1378406294,), (1378406327,), (1378406409,), (1378406437,), (1378406801,), (1378406827,), (1378406854,), (1378406878,), (1378406906,), (1378406931,), (1378407198,), (1378407211,), (1378407212,), (1378407213,), (1378407215,), (1378407426,), (1378407455,), (1378407496,), (1378407553,), (1378408139,), (1378408165,), (1378408201,), (1378408251,), (1378408322,), (1378408398,), (1378408774,), (1378408800,), (1378408824,), (1378408846,), (1378409444,), (1378409448,), (1378409453,), (1378409457,), (1378409467,), (1378409468,), (1378409469,), (1378409470,), (1378409471,), (1378409472,), (1378409474,), (1378409475,), (1378409477,), (1378409479,), (1378409544,), (1378409540,), (1378409542,), (1378409543,), (1378409562,), (1378409565,), (1378409568,), (1378409570,), (1378409632,), (1378409634,), (1378409637,), (1378409641,), (1378409642,), (1378409657,), (1378409668,), (1378409671,), (1378409675,), (1378409689,), (1378409691,), (1378409693,), (1378409717,), (1378409720,), (1378409723,), (1378409745,), (1378409748,), (1378409751,), (1378409786,), (1378409814,), (1378409818,), (1378409826,), (1378409833,), (1378410127,), (1378410522,), (1378410547,), (1378410574,), (1378410599,), (1378410880,), (1378410882,), (1378410884,), (1378411086,), (1378411088,), (1378411090,), (1378411115,), (1378411190,), (1378411194,), (1378411393,), (1378411418,), (1378411440,), (1378411846,), (1378411788,), (1378411818,), (1378412160,), (1378412184,), (1378412210,), (1378412235,), (1378412260,), (1378412372,), (1378412375,), (1378412377,), (1378412379,), (1378412417,), (1378412442,), (1378412467,), (1378412490,), (1378412515,), (1378412794,), (1378412819,), (1378412841,), (1378412855,), (1378412857,), (1378412868,), (1378412976,), (1378413002,), (1378413006,), (1378413007,), (1378413009,), (1378413026,), (1378413029,), (1378413032,), (1378413035,), (1378413038,), (1378413042,), (1378413068,), (1378413070,), (1378413071,), (1378413072,), (1378413074,), (1378413092,), (1378413095,), (1378413096,), (1378413097,), (1378413122,), (1378413132,), (1378413157,), (1378413181,), (1378413478,), (1378413503,), (1378413528,), (1378413554,), (1378413577,), (1378413901,), (1378413925,), (1378413944,), (1378414127,), (1378414145,), (1378414168,), (1378414195,), (1378414505,), (1378414554,), (1378414601,), (1378415440,), (1378415199,), (1378415345,), (1378415382,), (1378415591,), (1378415601,), (1378415604,), (1378415728,), (1378415753,), (1378415779,), (1378416109,), (1378416114,), (1378416116,), (1378416287,), (1378416290,), (1378416292,), (1378416294,), (1378416297,), (1378416319,), (1378418123,), (1378418298,), (1378418353,), (1378418404,), (1378418455,), (1378418808,), (1378418831,), (1378418858,), (1378418885,), (1378418922,), (1378418928,), (1378419072,), (1378419114,), (1378419162,), (1378419205,), (1378419255,), (1378419666,), (1378419694,), (1378419711,), (1378419712,), (1378419737,), (1378419963,), (1378419990,), (1378420015,), (1378420040,), (1378420393,), (1378420439,), (1378420474,), (1378420502,), (1378420877,), (1378420804,), (1378420829,), (1378420854,), (1378421032,), (1378421045,), (1378421068,), (1378421111,), (1378421511,), (1378421537,), (1378421561,), (1378421585,), (1378421615,), (1378421918,), (1378421944,), (1378421969,), (1378421997,), (1378422023,), (1378422048,), (1378422086,), (1378422089,), (1378422092,), (1378422095,), (1378422102,), (1378422117,), (1378422144,), (1378422173,), (1378422200,), (1378422388,), (1378422392,), (1378422477,), (1378422480,), (1378422483,), (1378422486,), (1378422541,), (1378422542,), (1378422544,), (1378422546,), (1378422844,), (1378422868,), (1378422891,), (1378422914,), (1378423207,), (1378423231,), (1378423252,), (1378423578,), (1378423581,), (1378423583,), (1378423591,), (1378423596,), (1378423768,), (1378423794,), (1378423800,), (1378423899,), (1378423901,), (1378423903,), (1378423906,), (1378423910,), (1378423934,), (1378423937,), (1378423941,), (1378423946,), (1378423949,), (1378423956,), (1378423986,), (1378423979,), (1378423981,), (1378423983,), (1378424003,), (1378424012,), (1378424014,), (1378424019,), (1378424052,), (1378424084,), (1378424092,), (1378424136,), (1378424144,), (1378424166,), (1378424174,), (1378424209,), (1378424217,), (1378424263,), (1378424356,), (1378424385,), (1378424405,), (1378441572,), (1378451892,), (1378452291,), (1378452321,), (1378452574,), (1378452579,), (1378452838,), (1378452865,), (1378453015,), (1378453051,), (1378453057,), (1378453083,), (1378453117,), (1378453190,), (1378453193,), (1378453315,), (1378453312,), (1378453380,), (1378453408,), (1378453436,), (1378453441,), (1378453488,), (1378453529,), (1378453578,), (1378453581,), (1378453691,), (1378453721,), (1378453804,), (1378453883,), (1378453908,), (1378453914,), (1378453916,), (1378453938,), (1378453965,), (1378454002,), (1378454053,), (1378454056,), (1378454107,), (1378454110,), (1378454143,), (1378454218,), (1378454271,), (1378454254,), (1378454267,), (1378454308,), (1378454377,), (1378454479,), (1378454483,), (1378454484,), (1378454521,), (1378454555,), (1378454598,), (1378454620,), (1378454623,), (1378454626,), (1378454653,), (1378454720,), (1378454724,), (1378454765,), (1378454768,), (1378454818,), (1378454846,), (1378454849,), (1378454876,), (1378454910,), (1378454936,), (1378455003,), (1378455005,), (1378455055,), (1378455059,), (1378455061,), (1378455086,), (1378455128,), (1378455172,), (1378455192,), (1378455228,), (1378455258,), (1378455261,), (1378455365,), (1378455358,), (1378455362,), (1378455444,), (1378455529,), (1378455582,), (1378455624,), (1378455705,), (1378455747,), (1378455777,), (1378455893,), (1378455923,), (1378455969,), (1378456011,), (1378456082,), (1378456104,), (1378456120,), (1378456168,), (1378456176,), (1378456218,), (1378456266,), (1378456485,), (1378456489,), (1378456699,), (1378456731,), (1378456765,), (1378456937,), (1378456957,), (1378456985,), (1378457123,), (1378457192,), (1378457506,), (1378457520,), (1378457524,), (1378457681,), (1378457686,), (1378457760,), (1378458070,), (1378458102,), (1378458331,), (1378459369,), (1378459395,), (1378459703,), (1378459707,), (1378459721,), (1378459744,), (1378459979,), (1378461721,), (1378461779,), (1378461811,), (1378461813,), (1378462239,), (1378462449,), (1378464084,), (1378464087,), (1378465062,), (1378464964,), (1378465360,), (1378465366,), (1378465526,), (1378465531,), (1378465598,), (1378465603,), (1378465649,), (1378465670,), (1378465674,), (1378465701,), (1378466257,), (1378466395,), (1378466664,), (1378466763,), (1378466769,), (1378466772,), (1378466940,), (1378467161,), (1378467200,), (1378467192,), (1378468539,), (1378469038,), (1378469044,), (1378469052,), (1378469152,), (1378469597,), (1378470808,), (1378471005,), (1378471335,), (1378472681,), (1378472937,), (1378473157,), (1378473348,), (1378473361,), (1378473468,), (1378473628,), (1378473816,), (1378474127,), (1378474129,), (1378474329,), (1378474622,), (1378478258,), (1378480219,), (1378480279,), (1378480349,), (1378480654,), (1378480657,), (1378480685,), (1378481006,), (1378481011,), (1378481015,), (1378481305,), (1378481303,), (1378481399,), (1378481406,), (1378481411,), (1378481415,), (1378481633,), (1378481718,), (1378481720,), (1378481895,), (1378481920,), (1378482185,), (1378482285,), (1378482327,), (1378482535,), (1378482734,), (1378483032,), (1378483067,), (1378483068,), (1378483163,), (1378483206,), (1378483492,), (1378483541,), (1378483704,), (1378483708,), (1378483813,), (1378483991,), (1378484016,), (1378484199,), (1378497795,), (1378499043,), (1378502121,), (1378502122,), (1378502777,), (1378502780,), (1378502783,), (1378503453,), (1378503456,), (1378516567,), (1378517677,), (1378518334,), (1378518607,), (1378518608,), (1378518823,), (1378518825,), (1378519270,), (1378520275,), (1378520277,), (1378520812,), (1378521647,), (1378521651,), (1378522692,), (1378522696,), (1378523385,), (1378523467,), (1378523469,), (1378523748,), (1378524691,), (1378525340,), (1378528187,), (1378564315,), (1378576482,), (1378576948,), (1378576950,), (1378576952,), (1378577117,), (1378577118,), (1378577119,), (1378577211,), (1378577213,), (1378577569,), (1378577572,), (1378577574,), (1378577576,), (1378577629,), (1378577626,), (1378577627,), (1378577628,), (1378577689,), (1378577691,), (1378577918,), (1378577919,), (1378577920,), (1378577921,), (1378577966,), (1378577967,), (1378577968,), (1378577969,), (1378577970,), (1378578135,), (1378578138,), (1378578141,), (1378578340,), (1378578341,), (1378578342,), (1378578376,), (1378578430,), (1378578431,), (1378578433,), (1378578436,), (1378578634,), (1378578636,), (1378578638,), (1378578794,), (1378578914,), (1378579071,), (1378579072,), (1378579073,), (1378579154,), (1378579156,), (1378579158,), (1378579555,), (1378579558,), (1378579560,), (1378579563,), (1378579567,), (1378580011,), (1378580002,), (1378580005,), (1378580008,), (1378580407,), (1378580408,), (1378580409,), (1378580683,), (1378580686,), (1378580689,), (1378580692,), (1378581063,), (1378581109,), (1378581112,), (1378581114,), (1378581116,), (1378581118,), (1378581350,), (1378581353,), (1378581356,), (1378581358,), (1378581360,), (1378581362,), (1378581673,), (1378581676,), (1378581678,), (1378581836,), (1378581837,), (1378581838,), (1378581839,), (1378581840,), (1378581965,), (1378581967,), (1378581969,), (1378581971,), (1378582133,), (1378582134,), (1378582135,), (1378582167,), (1378582169,), (1378582170,), (1378582171,), (1378582172,), (1378582387,), (1378582390,), (1378582393,), (1378582396,), (1378582399,), (1378582780,), (1378582782,), (1378582784,), (1378582785,), (1378582786,), (1378582788,), (1378582958,), (1378582997,), (1378582999,), (1378583001,), (1378583529,), (1378583533,), (1378583535,), (1378583539,), (1378583542,), (1378583965,), (1378583963,), (1378584214,), (1378584216,), (1378584218,), (1378584220,), (1378584223,), (1378584225,), (1378584502,), (1378584505,), (1378584507,), (1378584510,), (1378584514,), (1378584947,), (1378584950,), (1378584953,), (1378584956,), (1378585240,), (1378585242,), (1378585244,), (1378585247,), (1378585249,), (1378585251,), (1378585517,), (1378585520,), (1378585523,), (1378585526,), (1378585993,), (1378585995,), (1378585997,), (1378586538,), (1378586542,), (1378586546,), (1378586550,), (1378587209,), (1378587213,), (1378587218,), (1378587222,), (1378587227,), (1378587789,), (1378587792,), (1378587795,), (1378587798,), (1378587801,), (1378588051,), (1378588053,), (1378588055,), (1378588743,), (1378588747,), (1378588751,), (1378588756,), (1378588760,), (1378589374,), (1378589377,), (1378589380,), (1378589383,), (1378589386,), (1378589389,), (1378589951,), (1378589953,), (1378589955,), (1378589957,), (1378589959,), (1378589961,), (1378590353,), (1378590356,), (1378590359,), (1378590362,), (1378590829,), (1378590817,), (1378590819,), (1378590821,), (1378590824,), (1378590827,), (1378591288,), (1378591292,), (1378591296,), (1378591300,), (1378591304,), (1378591880,), (1378591883,), (1378591887,), (1378591890,), (1378591892,), (1378591895,), (1378591973,), (1378591976,), (1378591979,), (1378592253,), (1378592255,), (1378592257,), (1378592259,), (1378592608,), (1378592611,), (1378592614,), (1378592617,), (1378592620,), (1378592888,), (1378592889,), (1378592890,), (1378593250,), (1378593253,), (1378593256,), (1378593688,), (1378593691,), (1378593693,), (1378593695,), (1378593697,), (1378593699,), (1378594095,), (1378594099,), (1378594102,), (1378594106,), (1378594110,), (1378594114,), (1378594813,), (1378594817,), (1378594820,), (1378594823,), (1378595346,), (1378595349,), (1378595352,), (1378595355,), (1378595697,), (1378595699,), (1378595701,), (1378595703,), (1378595705,), (1378595707,), (1378596367,), (1378596370,), (1378596373,), (1378596377,), (1378596380,), (1378596383,), (1378596446,), (1378596449,), (1378596453,), (1378596870,), (1378597516,), (1378597519,), (1378597522,), (1378598150,), (1378598144,), (1378598147,), (1378598644,), (1378598646,), (1378598648,), (1378598650,), (1378598652,), (1378599109,), (1378599113,), (1378599118,), (1378599123,), (1378599833,), (1378599836,), (1378599839,), (1378599842,), (1378599845,), (1378600368,), (1378600370,), (1378600372,), (1378600374,), (1378600376,), (1378600802,), (1378601373,), (1378601376,), (1378602106,), (1378602109,), (1378602111,), (1378602113,), (1378602600,), (1378602603,), (1378602606,), (1378602609,), (1378602612,), (1378603101,), (1378603104,), (1378603107,), (1378603110,), (1378603113,), (1378603601,), (1378603604,), (1378604004,), (1378604007,), (1378604010,), (1378604471,), (1378604473,), (1378604475,), (1378604477,), (1378604479,), (1378604907,), (1378604909,), (1378604911,), (1378604913,), (1378605249,), (1378605250,), (1378605251,), (1378605252,), (1378605503,), (1378605497,), (1378605500,), (1378605708,), (1378605709,), (1378605710,), (1378605711,), (1378605712,), (1378605714,), (1378605937,), (1378605938,), (1378605939,), (1378605940,), (1378606019,), (1378606022,), (1378606025,), (1378606028,), (1378606418,), (1378606420,), (1378606423,), (1378606425,), (1378606756,), (1378606759,), (1378606762,), (1378606765,), (1378606978,), (1378606981,), (1378606984,), (1378607427,), (1378607429,), (1378607431,), (1378607433,), (1378607435,), (1378607602,), (1378607603,), (1378607604,), (1378607919,), (1378607923,), (1378608260,), (1378608261,), (1378608586,), (1378608588,), (1378608590,), (1378608592,), (1378608912,), (1378608915,), (1378608918,), (1378609398,), (1378609400,), (1378609402,), (1378609404,), (1378609405,), (1378609408,), (1378609453,), (1378609449,), (1378609450,), (1378609451,), (1378609452,), (1378609490,), (1378609491,), (1378609492,), (1378609493,), (1378609494,), (1378609495,), (1378609593,), (1378609595,), (1378609596,), (1378609597,), (1378609598,), (1378609622,), (1378609623,), (1378609624,), (1378609625,), (1378609626,), (1378609627,), (1378609861,), (1378609864,), (1378609867,), (1378609870,), (1378610470,), (1378610475,), (1378610479,), (1378610483,), (1378610487,), (1378610491,), (1378611143,), (1378611147,), (1378611151,), (1378611691,), (1378611694,), (1378611697,), (1378611699,), (1378611703,), (1378612270,), (1378612273,), (1378612276,), (1378612279,), (1378612749,), (1378612751,), (1378612753,), (1378612948,), (1378612949,), (1378612950,), (1378612951,), (1378612952,), (1378612953,), (1378613201,), (1378613203,), (1378613205,), (1378613207,), (1378613571,), (1378613574,), (1378613577,), (1378613580,), (1378613804,), (1378613805,), (1378613807,), (1378613808,), (1378613809,), (1378613810,), (1378613909,), (1378613910,), (1378613912,), (1378613913,), (1378613949,), (1378627254,), (1378627880,), (1378627883,), (1378628506,), (1378628510,), (1378628514,), (1378629054,), (1378630856,), (1378630858,), (1378631166,), (1378631169,), (1378631539,), (1378631542,), (1378631723,), (1378631715,), (1378631717,), (1378631719,), (1378631721,), (1378632074,), (1378632078,), (1378632081,), (1378632084,), (1378632087,), (1378632360,), (1378632362,), (1378632364,), (1378632366,), (1378632535,), (1378632536,), (1378632537,), (1378632538,), (1378632539,), (1378632676,), (1378632679,), (1378632682,), (1378632685,), (1378632688,), (1378632942,), (1378632944,), (1378632946,), (1378632948,), (1378632982,), (1378632983,), (1378633136,), (1378633138,), (1378633412,), (1378633414,), (1378633537,), (1378633538,), (1378633539,), (1378633698,), (1378633699,), (1378633933,), (1378633936,), (1378633940,), (1378634097,), (1378634099,), (1378634100,), (1378634101,), (1378634118,), (1378634119,), (1378634120,), (1378634121,), (1378639138,), (1378639134,), (1378639136,), (1378639432,), (1378639434,), (1378639436,), (1378639438,), (1378639699,), (1378639703,), (1378640142,), (1378640145,), (1378640147,), (1378640149,), (1378640550,), (1378640553,), (1378640556,), (1378640559,), (1378640563,), (1378640781,), (1378640785,), (1378640786,), (1378641051,), (1378641052,), (1378641053,), (1378641054,), (1378641055,), (1378641058,), (1378641154,), (1378641155,), (1378641156,), (1378641157,), (1378641158,), (1378641188,), (1378641189,), (1378641190,), (1378641191,), (1378641428,), (1378641430,), (1378641432,), (1378641435,), (1378641437,), (1378641759,), (1378641762,), (1378641765,), (1378641768,), (1378641771,), (1378641774,), (1378642088,), (1378642090,), (1378642092,), (1378642094,), (1378642370,), (1378642372,), (1378642374,), (1378642376,), (1378642378,), (1378642380,), (1378642626,), (1378642628,), (1378642630,), (1378642633,), (1378642635,), (1378642637,), (1378642833,), (1378642831,), (1378642832,), (1378643091,), (1378643094,), (1378643096,), (1378643098,), (1378643100,), (1378643395,), (1378643397,), (1378643399,), (1378643401,), (1378643628,), (1378643629,), (1378643630,), (1378643877,), (1378643879,), (1378643881,), (1378643883,), (1378644244,), (1378644246,), (1378644248,), (1378644250,), (1378644252,), (1378644520,), (1378644522,), (1378644524,), (1378644526,), (1378644528,), (1378644770,), (1378644773,), (1378644776,), (1378644779,), (1378644782,), (1378645253,), (1378645255,), (1378645256,), (1378645257,), (1378645374,), (1378645375,), (1378645376,), (1378645377,), (1378645378,), (1378645407,), (1378645409,), (1378645410,), (1378645411,), (1378645412,), (1378645413,), (1378645436,), (1378645437,), (1378645438,), (1378645685,), (1378645687,), (1378645689,), (1378645691,), (1378645910,), (1378645911,), (1378645912,), (1378645913,), (1378645914,), (1378645943,), (1378645944,), (1378645945,), (1378645946,), (1378645992,), (1378645989,), (1378645990,), (1378645991,), (1378646019,), (1378646020,), (1378646021,), (1378646022,), (1378646023,), (1378646025,), (1378646054,), (1378646055,), (1378646056,), (1378646058,), (1378646059,), (1378646152,), (1378646153,), (1378646154,), (1378646155,), (1378646186,), (1378646187,), (1378646188,), (1378646189,), (1378646222,), (1378646224,), (1378646225,), (1378646226,), (1378646227,), (1378646250,), (1378646251,), (1378646252,), (1378646284,), (1378646285,), (1378646286,), (1378646287,), (1378646288,), (1378646289,), (1378646318,), (1378646319,), (1378646320,), (1378646321,), (1378646322,), (1378646355,), (1378646356,), (1378646357,), (1378646358,), (1378646359,), (1378646419,), (1378646420,), (1378646421,), (1378646422,), (1378646467,), (1378646468,), (1378646469,), (1378646470,), (1378646471,), (1378646593,), (1378646594,), (1378646595,), (1378646596,), (1378646597,), (1378646722,), (1378646723,), (1378646724,), (1378646725,), (1378646726,), (1378646804,), (1378646806,), (1378646807,), (1378646809,), (1378646983,), (1378646979,), (1378646980,), (1378646981,), (1378646982,), (1378647130,), (1378647131,), (1378647132,), (1378647133,), (1378647134,), (1378647135,), (1378647191,), (1378647192,), (1378647193,), (1378647194,), (1378647230,), (1378647231,), (1378647232,), (1378647233,), (1378647234,), (1378647271,), (1378647272,), (1378647273,), (1378647274,), (1378647275,), (1378647276,), (1378647326,), (1378647327,), (1378647328,), (1378647329,), (1378647330,), (1378647364,), (1378647365,), (1378647366,), (1378647367,), (1378647394,), (1378647395,), (1378647396,), (1378647397,), (1378647398,), (1378647422,), (1378647423,), (1378647424,), (1378647425,), (1378647426,), (1378647591,), (1378647594,), (1378647596,), (1378647598,), (1378647600,), (1378647935,), (1378647936,), (1378647937,), (1378647938,), (1378647939,), (1378647940,), (1378647965,), (1378647966,), (1378647967,), (1378648193,), (1378648196,), (1378648199,), (1378648202,), (1378648205,), (1378648788,), (1378648790,), (1378648794,), (1378648795,), (1378648798,), (1378648955,), (1378648949,), (1378648951,), (1378648953,), (1378649176,), (1378649178,), (1378649180,), (1378649421,), (1378649423,), (1378649425,), (1378649427,), (1378649429,), (1378649892,), (1378649895,), (1378649898,), (1378649901,), (1378649904,), (1378650373,), (1378650851,), (1378651873,), (1378651875,), (1378651877,), (1378651879,), (1378652137,), (1378652139,), (1378652141,), (1378652360,), (1378652358,), (1378652530,), (1378652532,), (1378652534,), (1378652988,), (1378652991,), (1378652994,), (1378652997,), (1378653000,), (1378653003,), (1378653375,), (1378653378,), (1378653381,), (1378653598,), (1378653601,), (1378653604,), (1378653607,), (1378654290,), (1378654294,), (1378654298,), (1378654302,), (1378654306,), (1378654806,), (1378654808,), (1378654810,), (1378655182,), (1378655185,), (1378655490,), (1378655491,), (1378655492,), (1378655586,), (1378655587,), (1378655588,), (1378655589,), (1378655590,), (1378655845,), (1378655846,), (1378655848,), (1378655850,), (1378655852,), (1378656057,), (1378656059,), (1378656061,), (1378656063,), (1378656245,), (1378656247,), (1378656249,), (1378656299,), (1378656300,), (1378656533,), (1378656535,), (1378656537,), (1378656539,), (1378656678,), (1378656676,), (1378656677,), (1378656706,), (1378656707,), (1378656708,), (1378656709,), (1378656710,), (1378656711,), (1378656981,), (1378656999,), (1378657000,), (1378657001,), (1378657002,), (1378657003,), (1378657192,), (1378657193,), (1378657194,), (1378657195,), (1378657363,), (1378657364,), (1378657366,), (1378657367,), (1378657368,), (1378657369,), (1378657582,), (1378657585,), (1378657588,), (1378657590,), (1378657594,), (1378657596,), (1378657626,), (1378657627,), (1378657628,), (1378657841,), (1378657844,), (1378657847,), (1378657850,), (1378657853,), (1378657927,), (1378657928,), (1378657929,), (1378657930,), (1378657958,), (1378657960,), (1378657961,), (1378657962,), (1378658007,), (1378658008,), (1378658009,), (1378658010,), (1378658011,), (1378658169,), (1378658174,), (1378658175,), (1378658296,), (1378658297,), (1378658298,), (1378658318,), (1378658319,), (1378658707,), (1378658710,), (1378659002,), (1378658997,), (1378658998,), (1378658999,), (1378659000,), (1378659001,), (1378659125,), (1378659126,), (1378659127,), (1378659128,), (1378659129,), (1378659156,), (1378659157,), (1378659158,), (1378659188,), (1378659189,), (1378659190,), (1378659191,), (1378659192,), (1378659193,), (1378659250,), (1378659252,), (1378659254,), (1378659256,), (1378659258,), (1378659260,), (1378659312,), (1378659313,), (1378659314,), (1378659334,), (1378659335,), (1378659336,), (1378659337,), (1378659410,), (1378659412,), (1378659413,), (1378659415,), (1378659416,), (1378659460,), (1378659461,), (1378659462,), (1378659463,), (1378659464,), (1378659587,), (1378659588,), (1378659590,), (1378659592,), (1378659594,), (1378659852,), (1378659853,), (1378659854,), (1378659855,), (1378659891,), (1378659892,), (1378659893,), (1378659894,), (1378659895,), (1378659950,), (1378659951,), (1378659952,), (1378659953,), (1378660309,), (1378660313,), (1378660317,), (1378660381,), (1378660383,), (1378660386,), (1378660388,), (1378660778,), (1378660769,), (1378660772,), (1378660775,), (1378661290,), (1378661293,), (1378661296,), (1378661700,), (1378661702,), (1378661704,), (1378661706,), (1378661708,), (1378661710,), (1378662124,), (1378662127,), (1378662130,), (1378662370,), (1378662372,), (1378662374,), (1378662376,), (1378662378,), (1378662793,), (1378662795,), (1378662797,), (1378662799,), (1378662801,), (1378663151,), (1378663153,), (1378663155,), (1378663157,), (1378663422,), (1378663424,), (1378663426,), (1378663428,), (1378663430,), (1378663764,), (1378663766,), (1378663768,), (1378663769,), (1378663872,), (1378663874,), (1378663876,), (1378663878,), (1378663880,), (1378664174,), (1378664176,), (1378664178,), (1378664270,), (1378664271,), (1378664272,), (1378664273,), (1378664274,), (1378664275,), (1378664302,), (1378664303,), (1378664304,), (1378664305,), (1378664330,), (1378664331,), (1378664332,), (1378664333,), (1378664334,), (1378664335,), (1378664397,), (1378664398,), (1378664400,), (1378664401,), (1378664402,), (1378664467,), (1378664452,), (1378664454,), (1378664457,), (1378664461,), (1378664464,), (1378664609,), (1378664610,), (1378664611,), (1378664614,), (1378664691,), (1378664694,), (1378664697,), (1378664698,), (1378664761,), (1378664762,), (1378664763,), (1378664764,), (1378664765,), (1378664766,), (1378664795,), (1378664796,), (1378664797,), (1378664799,), (1378664831,), (1378664832,), (1378664833,), (1378664834,), (1378664835,), (1378664836,), (1378664919,), (1378664920,), (1378664921,), (1378664922,), (1378664923,), (1378664924,), (1378664967,), (1378664968,), (1378665023,), (1378665024,), (1378665026,), (1378665027,), (1378665079,), (1378665080,), (1378665081,), (1378665082,), (1378665160,), (1378665161,), (1378665162,), (1378665163,), (1378665164,), (1378665165,), (1378665234,), (1378665236,), (1378665237,), (1378665238,), (1378665302,), (1378665303,), (1378665304,), (1378665332,), (1378665333,), (1378665334,), (1378665335,), (1378665336,), (1378665369,), (1378665370,), (1378665371,), (1378665372,), (1378665445,), (1378665441,), (1378665442,), (1378665443,), (1378665444,), (1378665480,), (1378665481,), (1378665482,), (1378665483,), (1378665484,), (1378665508,), (1378665509,), (1378665510,), (1378665511,), (1378665512,), (1378665534,), (1378665535,), (1378665537,), (1378665588,), (1378665589,), (1378665590,), (1378665591,), (1378665592,), (1378665593,), (1378665661,), (1378665662,), (1378665663,), (1378665664,), (1378665665,), (1378665684,), (1378665691,), (1378665692,), (1378665693,), (1378665694,), (1378665727,), (1378665728,), (1378665729,), (1378665730,), (1378665731,), (1378665763,), (1378665764,), (1378665765,), (1378665766,), (1378665767,), (1378665798,), (1378665799,), (1378668145,), (1378668139,), (1378668142,), (1378669155,), (1378669158,), (1378669161,), (1378670225,), (1378670228,), (1378670617,), (1378670619,), (1378670621,), (1378671021,), (1378671022,), (1378671023,), (1378671197,), (1378671199,), (1378671200,), (1378671388,), (1378671490,), (1378671487,), (1378671488,), (1378671489,), (1378671556,), (1378671557,), (1378671558,), (1378671729,), (1378671731,), (1378671733,), (1378671839,), (1378671841,), (1378671843,), (1378671845,), (1378671847,), (1378671901,), (1378671902,), (1378671903,), (1378671904,), (1378671905,), (1378671906,), (1378671946,), (1378671948,), (1378671950,), (1378672205,), (1378672207,), (1378672209,), (1378672295,), (1378672296,), (1378672297,), (1378672298,), (1378672299,), (1378672322,), (1378672324,), (1378672325,), (1378672326,), (1378672327,), (1378672349,), (1378672350,), (1378672351,), (1378672374,), (1378672375,), (1378672376,), (1378672377,), (1378672418,), (1378672420,), (1378672482,), (1378672484,), (1378672485,), (1378672487,), (1378672589,), (1378672590,), (1378672591,), (1378672592,), (1378672594,), (1378672621,), (1378672619,), (1378672620,), (1378672641,), (1378672642,), (1378672643,), (1378672644,), (1378672762,), (1378672763,), (1378672764,), (1378672779,), (1378672780,), (1378672781,), (1378672807,), (1378672808,), (1378672809,), (1378672810,), (1378672830,), (1378672832,), (1378672833,), (1378672834,), (1378672835,), (1378672836,), (1378672901,), (1378672902,), (1378672903,), (1378672904,), (1378672953,), (1378672954,), (1378672955,), (1378673043,), (1378673044,), (1378673045,), (1378673046,), (1378673129,), (1378673130,), (1378673131,), (1378673155,), (1378673156,), (1378673157,), (1378673177,), (1378673178,), (1378673179,), (1378673180,), (1378673181,), (1378673241,), (1378673242,), (1378673243,), (1378673263,), (1378673264,), (1378673265,), (1378673266,), (1378673267,), (1378673268,), (1378673295,), (1378673291,), (1378673292,), (1378673293,), (1378673317,), (1378673318,), (1378673319,), (1378673320,), (1378673345,), (1378673346,), (1378673347,), (1378673348,), (1378673349,), (1378673369,), (1378673370,), (1378673371,), (1378673372,), (1378673420,), (1378673421,), (1378673422,), (1378673540,), (1378673541,), (1378673543,), (1378673544,), (1378673609,), (1378673610,), (1378673611,), (1378673634,), (1378673635,), (1378673657,), (1378673658,), (1378673659,), (1378673661,), (1378673662,), (1378673663,), (1378673719,), (1378673872,), (1378673874,), (1378673921,), (1378673922,), (1378673923,), (1378673969,), (1378673970,), (1378673971,), (1378674000,), (1378674007,), (1378674008,), (1378674009,), (1378674066,), (1378674065,), (1378674114,), (1378674115,), (1378674325,), (1378674327,), (1378674330,), (1378674584,), (1378674586,), (1378674588,), (1378674847,), (1378674849,), (1378674851,), (1378675338,), (1378675340,), (1378675342,), (1378675344,), (1378675664,), (1378675667,), (1378675670,), (1378676099,), (1378676102,), (1378676105,), (1378676316,), (1378676317,), (1378676529,), (1378676531,), (1378676773,), (1378676774,), (1378676775,), (1378676776,), (1378676825,), (1378676826,), (1378677011,), (1378677012,), (1378677013,), (1378677014,), (1378677252,), (1378677255,), (1378677258,), (1378677261,), (1378677264,), (1378677267,), (1378677655,), (1378677658,), (1378677660,), (1378677978,), (1378677971,), (1378677974,), (1378678358,), (1378678359,), (1378678578,), (1378678581,), (1378678584,), (1378678587,), (1378678590,), (1378678758,), (1378678760,), (1378678762,), (1378678764,), (1378678766,), (1378678934,), (1378678936,), (1378678938,), (1378678940,), (1378678943,), (1378678946,), (1378679589,), (1378679591,), (1378679593,), (1378680173,), (1378680176,), (1378680179,), (1378680182,), (1378680403,), (1378680407,), (1378680409,), (1378681030,), (1378681034,), (1378681038,), (1378681042,), (1378681649,), (1378681652,), (1378681976,), (1378681979,), (1378681982,), (1378681985,), (1378681988,), (1378682428,), (1378682430,), (1378682432,), (1378682934,), (1378682939,), (1378683372,), (1378683544,), (1378683789,), (1378683791,), (1378683847,), (1378683848,), (1378683849,), (1378684089,), (1378684092,), (1378684095,), (1378684606,), (1378684609,), (1378684612,), (1378685068,), (1378685115,), (1378685117,), (1378685119,), (1378685121,), (1378685123,), (1378685479,), (1378685482,), (1378685485,), (1378685488,), (1378685491,), (1378685494,), (1378685951,), (1378685953,), (1378685955,), (1378686205,), (1378686207,), (1378686209,), (1378686211,), (1378686213,), (1378686215,), (1378686574,), (1378686577,), (1378686580,), (1378686583,), (1378686586,), (1378687095,), (1378687098,), (1378687100,), (1378687102,), (1378687681,), (1378687684,), (1378687687,), (1378687690,), (1378688071,), (1378688073,), (1378688075,), (1378688077,), (1378688079,), (1378688081,), (1378688531,), (1378688535,), (1378688539,), (1378688543,), (1378688547,), (1378688553,), (1378689184,), (1378689188,), (1378689192,), (1378689196,), (1378689757,), (1378689747,), (1378689750,), (1378689753,), (1378690419,), (1378690422,), (1378690859,), (1378690861,), (1378690863,), (1378690865,), (1378691239,), (1378691242,), (1378691245,), (1378691248,), (1378691869,), (1378691873,), (1378691876,), (1378691878,), (1378691881,), (1378692396,), (1378692398,), (1378692400,), (1378692401,), (1378692956,), (1378692959,), (1378692962,), (1378692965,), (1378693215,), (1378693217,), (1378693219,), (1378693221,), (1378693660,), (1378693700,), (1378693703,), (1378693706,), (1378693709,), (1378694015,), (1378694017,), (1378694019,), (1378694021,), (1378694023,), (1378694273,), (1378694276,), (1378694278,), (1378694280,), (1378694739,), (1378694742,), (1378694745,), (1378695060,), (1378695062,), (1378695063,), (1378695065,), (1378695067,), (1378695815,), (1378695817,), (1378695818,), (1378695819,), (1378695820,), (1378695821,), (1378695833,), (1378695834,), (1378695835,), (1378695837,), (1378695838,), (1378695913,), (1378695909,), (1378695911,), (1378696152,), (1378696153,), (1378696154,), (1378696155,), (1378696156,), (1378696157,), (1378696316,), (1378696317,), (1378696318,), (1378696319,), (1378696518,), (1378696520,), (1378696522,), (1378696524,), (1378696784,), (1378696786,), (1378696788,), (1378696790,), (1378696792,), (1378696794,), (1378697015,), (1378697017,), (1378697019,), (1378697021,), (1378697303,), (1378697305,), (1378697307,), (1378697310,), (1378697312,), (1378697568,), (1378697570,), (1378697572,), (1378697574,), (1378697576,), (1378697578,), (1378697934,), (1378697936,), (1378697938,), (1378698365,), (1378698367,), (1378698369,), (1378698899,), (1378698902,), (1378699344,), (1378699347,), (1378699349,), (1378699637,), (1378699639,), (1378699641,), (1378699643,), (1378700201,), (1378700205,), (1378700209,), (1378700213,), (1378700218,), (1378700222,), (1378700513,), (1378700516,), (1378700518,), (1378700520,), (1378700788,), (1378700782,), (1378700784,), (1378700786,), (1378700849,), (1378700851,), (1378700853,), (1378700855,), (1378700858,), (1378701115,), (1378701116,), (1378701117,), (1378701118,), (1378701119,), (1378701487,), (1378701490,), (1378701494,), (1378701498,), (1378701818,), (1378701820,), (1378701822,), (1378701824,), (1378701826,), (1378701828,), (1378702070,), (1378702072,), (1378702074,), (1378702076,), (1378702334,), (1378702336,), (1378702338,), (1378702655,), (1378702656,), (1378702657,), (1378711508,), (1378711503,), (1378711506,), (1378712093,), (1378712095,), (1378712394,), (1378712589,), (1378712591,), (1378712592,), (1378712594,), (1378712752,), (1378712754,), (1378712755,), (1378712828,), (1378712830,), (1378712832,), (1378712834,), (1378712836,), (1378713200,), (1378713202,), (1378713203,), (1378713205,), (1378713735,), (1378713738,), (1378713741,), (1378713744,), (1378713747,), (1378714453,), (1378714456,), (1378714459,), (1378714462,), (1378714465,), (1378714801,), (1378714862,), (1378714864,), (1378714866,), (1378714868,), (1378714871,), (1378715962,), (1378715964,), (1378715966,), (1378715969,), (1378716455,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22082025': {'nb_upload': 15, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26138366]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] map_info['map_portfolio_photo'] : {26138366: [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892]} final : True mtd_id 4302 list_pids : [1378453315, 1378453193, 1378453190, 1378453117, 1378453083, 1378453057, 1378453051, 1378453015, 1378452865, 1378452838, 1378452579, 1378452574, 1378452321, 1378452291, 1378451892] Looping around the photos to save general results len do output : 1 /26138366Didn'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, '3581801') ('4302', '26138366', '1378453315', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453193', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453190', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453117', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453083', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453057', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453051', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378453015', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452865', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452838', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452579', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452574', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452321', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378452291', None, None, None, None, None, '3581801') ('4302', None, None, None, None, None, None, None, '3581801') ('4302', '26138366', '1378451892', None, None, None, None, None, '3581801') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 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, '26138366', 'None', None, None, None, None, '3581801'), ('4302', '26138366', '1378453315', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453193', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453190', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453117', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453083', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453057', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453051', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378453015', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452865', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452838', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452579', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452574', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452321', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378452291', None, None, None, None, None, '3581801'), ('4302', '26138366', '1378451892', None, None, None, None, None, '3581801')] time used for this insertion : 0.019298791885375977 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.168522596359253 time spend to save output : 0.01946568489074707 total time spend for step 5 : 11.18798828125 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 (3581801) 2.34user 2.46system 0:20.42elapsed 23%CPU (0avgtext+0avgdata 161512maxresident)k 160inputs+12288outputs (1major+76193minor)pagefaults 0swaps