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 : 4133945 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 (3259335) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3259335) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768366 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3259335'] with mtr_portfolio_ids : ['24768366'] and first list_photo_ids : [] new path : /proc/4133945/ Name: python3 Umask: 0002 State: R (running) Tgid: 4133945 Ngid: 0 Pid: 4133945 PPid: 4133944 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4133945 NSpid: 4133945 NSpgid: 4131903 NSsid: 4131903 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99948 kB VmRSS: 99948 kB RssAnon: 59808 kB RssFile: 40140 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 6/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: 44 nonvoluntary_ctxt_switches: 83 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4133945', 'Ngid': '0', 'Pid': '4133945', 'PPid': '4133944', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4133945', 'NSpid': '4133945', 'NSpgid': '4131903', 'NSsid': '4131903', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99948 kB', 'VmRSS': '99948 kB', 'RssAnon': '59808 kB', 'RssFile': '40140 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '6/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': '44', 'nonvoluntary_ctxt_switches': '83'} ('datou_batch_current', '4133945', '1106868', '0', '1106868', '865620', '99948', b'', 'marlene', '3259335') 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 (24768366) 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 (3259335 ) ) 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 (24768366) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1371433137, 'portfolio_id': 24768366}, {'photo_id': 1371433135, 'portfolio_id': 24768366}, {'photo_id': 1371433134, 'portfolio_id': 24768366}, {'photo_id': 1371433133, 'portfolio_id': 24768366}, {'photo_id': 1371433131, 'portfolio_id': 24768366}, {'photo_id': 1371433130, 'portfolio_id': 24768366}, {'photo_id': 1371433128, 'portfolio_id': 24768366}, {'photo_id': 1371433126, 'portfolio_id': 24768366}, {'photo_id': 1371433123, 'portfolio_id': 24768366}, {'photo_id': 1371433122, 'portfolio_id': 24768366}, {'photo_id': 1371433120, 'portfolio_id': 24768366}, {'photo_id': 1371433118, 'portfolio_id': 24768366}, {'photo_id': 1371433106, 'portfolio_id': 24768366}, {'photo_id': 1371433104, 'portfolio_id': 24768366}, {'photo_id': 1371433102, 'portfolio_id': 24768366}, {'photo_id': 1371433099, 'portfolio_id': 24768366}, {'photo_id': 1371433097, 'portfolio_id': 24768366}, {'photo_id': 1371433095, 'portfolio_id': 24768366}, {'photo_id': 1371433081, 'portfolio_id': 24768366}, {'photo_id': 1371433078, 'portfolio_id': 24768366}, {'photo_id': 1371433076, 'portfolio_id': 24768366}, {'photo_id': 1371433074, 'portfolio_id': 24768366}, {'photo_id': 1371433073, 'portfolio_id': 24768366}, {'photo_id': 1371433071, 'portfolio_id': 24768366}, {'photo_id': 1371433070, 'portfolio_id': 24768366}, {'photo_id': 1371433069, 'portfolio_id': 24768366}, {'photo_id': 1371433068, 'portfolio_id': 24768366}, {'photo_id': 1371433067, 'portfolio_id': 24768366}, {'photo_id': 1371433066, 'portfolio_id': 24768366}, {'photo_id': 1371433065, 'portfolio_id': 24768366}, {'photo_id': 1371433063, 'portfolio_id': 24768366}, {'photo_id': 1371433062, 'portfolio_id': 24768366}, {'photo_id': 1371433060, 'portfolio_id': 24768366}, {'photo_id': 1371433059, 'portfolio_id': 24768366}, {'photo_id': 1371433057, 'portfolio_id': 24768366}, {'photo_id': 1371433056, 'portfolio_id': 24768366}, {'photo_id': 1371432617, 'portfolio_id': 24768366}, {'photo_id': 1371432535, 'portfolio_id': 24768366}, {'photo_id': 1371432529, 'portfolio_id': 24768366}, {'photo_id': 1371432527, 'portfolio_id': 24768366}, {'photo_id': 1371432525, 'portfolio_id': 24768366}, {'photo_id': 1371432523, 'portfolio_id': 24768366}, {'photo_id': 1371432509, 'portfolio_id': 24768366}, {'photo_id': 1371432507, 'portfolio_id': 24768366}, {'photo_id': 1371432505, 'portfolio_id': 24768366}, {'photo_id': 1371432503, 'portfolio_id': 24768366}, {'photo_id': 1371432501, 'portfolio_id': 24768366}, {'photo_id': 1371432500, 'portfolio_id': 24768366}] map_portfolio_id_photo_id: {24768366: [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118, 1371433106, 1371433104, 1371433102, 1371433099, 1371433097, 1371433095, 1371433081, 1371433078, 1371433076, 1371433074, 1371433073, 1371433071, 1371433070, 1371433069, 1371433068, 1371433067, 1371433066, 1371433065, 1371433063, 1371433062, 1371433060, 1371433059, 1371433057, 1371433056, 1371432617, 1371432535, 1371432529, 1371432527, 1371432525, 1371432523, 1371432509, 1371432507, 1371432505, 1371432503, 1371432501, 1371432500]} ##### 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.015041112899780273 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Jul 9 22:08:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24768366) 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 : 24768366 get user id for portfolio 24768366 get sub ptf for main ptf 24768366, type 3726 and hashtags ['kraft', 'metal', 'environnement', 'mal_croppe', 'flou', 'Carton_brun', 'autre_refus', 'plastique', 'papier', 'Carton_gris', 'cartonnette', 'Teint_Dans_La_Masse'] 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`=24768366 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','environnement','mal_croppe','flou','Carton_brun','autre_refus','plastique','papier','Carton_gris','cartonnette','Teint_Dans_La_Masse')) 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`=24768366 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','environnement','mal_croppe','flou','Carton_brun','autre_refus','plastique','papier','Carton_gris','cartonnette','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 24768366, 'sub_port_id': 24768398, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655585, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'flou': {'main_port_id': 24768366, 'sub_port_id': 24768399, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655586, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'mal_croppe': {'main_port_id': 24768366, 'sub_port_id': 24768400, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655587, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'autre_refus': {'main_port_id': 24768366, 'sub_port_id': 24768401, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655588, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'Carton_gris': {'main_port_id': 24768366, 'sub_port_id': 24768402, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655589, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'cartonnette': {'main_port_id': 24768366, 'sub_port_id': 24768403, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655590, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'papier': {'main_port_id': 24768366, 'sub_port_id': 24768404, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655591, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 24768366, 'sub_port_id': 24768405, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655592, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'environnement': {'main_port_id': 24768366, 'sub_port_id': 24768406, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655593, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'Carton_brun': {'main_port_id': 24768366, 'sub_port_id': 24768407, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655594, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'kraft': {'main_port_id': 24768366, 'sub_port_id': 24768408, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655595, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}, 'metal': {'main_port_id': 24768366, 'sub_port_id': 24768409, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655596, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768398 , 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=24768366 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 (24768398) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768399 , 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=24768366 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 (24768399) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768400 , 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=24768366 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 (24768400) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768401 , 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=24768366 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 (24768401) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768402 , 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=24768366 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 (24768402) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768403 , 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=24768366 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 (24768403) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768404 , 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=24768366 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 (24768404) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768405 , 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=24768366 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 (24768405) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768406 , 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=24768366 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 (24768406) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768407 , 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=24768366 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 (24768407) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768408 , 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=24768366 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 (24768408) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 24768409 , 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=24768366 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 (24768409) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24768366) result : ((1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) 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 (1371432500) and cspi.crop_hashtag_id = chi.id; 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`=24768366 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','environnement','mal_croppe','flou','Carton_brun','autre_refus','plastique','papier','Carton_gris','cartonnette','Teint_Dans_La_Masse')) 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`=24768366 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','environnement','mal_croppe','flou','Carton_brun','autre_refus','plastique','papier','Carton_gris','cartonnette','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 24768366, 'sub_port_id': 24768411, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655597, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'flou': {'main_port_id': 24768366, 'sub_port_id': 24768412, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655598, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'mal_croppe': {'main_port_id': 24768366, 'sub_port_id': 24768413, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655599, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'autre_refus': {'main_port_id': 24768366, 'sub_port_id': 24768414, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655600, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'Carton_gris': {'main_port_id': 24768366, 'sub_port_id': 24768415, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655601, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'cartonnette': {'main_port_id': 24768366, 'sub_port_id': 24768416, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655602, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'papier': {'main_port_id': 24768366, 'sub_port_id': 24768417, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655603, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 24768366, 'sub_port_id': 24768418, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655604, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'environnement': {'main_port_id': 24768366, 'sub_port_id': 24768419, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655605, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'Carton_brun': {'main_port_id': 24768366, 'sub_port_id': 24768420, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655606, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'kraft': {'main_port_id': 24768366, 'sub_port_id': 24768421, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655607, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 3, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}, 'metal': {'main_port_id': 24768366, 'sub_port_id': 24768422, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16655608, 'last_updated_at': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_desc': datetime.datetime(2025, 7, 9, 22, 6, 58), 'last_updated_at_asc': datetime.datetime(2025, 7, 9, 22, 3, 30)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768411,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768398 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768412,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768399 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768413,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768400 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768414,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768401 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768415,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768402 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768416,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768403 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768417,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768404 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768418,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 24768422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 24768409 lien utilise dans velours : https://www.fotonower.com/velours/24768411,24768412,24768413,24768414,24768415,24768416,24768417,24768418,24768419,24768420,24768421,24768422?tags=plastique,flou,mal_croppe,autre_refus,Carton_gris,cartonnette,papier,Teint_Dans_La_Masse,environnement,Carton_brun,kraft,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24768366]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] map_info['map_portfolio_photo'] : {24768366: [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118, 1371433106, 1371433104, 1371433102, 1371433099, 1371433097, 1371433095, 1371433081, 1371433078, 1371433076, 1371433074, 1371433073, 1371433071, 1371433070, 1371433069, 1371433068, 1371433067, 1371433066, 1371433065, 1371433063, 1371433062, 1371433060, 1371433059, 1371433057, 1371433056, 1371432617, 1371432535, 1371432529, 1371432527, 1371432525, 1371432523, 1371432509, 1371432507, 1371432505, 1371432503, 1371432501, 1371432500]} final : False mtd_id 4302 list_pids : [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] Looping around the photos to save general results len do output : 1 /24768366. 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, '3259335') ('4302', '24768366', '1371433137', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433135', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433134', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433133', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433131', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433130', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433128', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433126', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433123', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433122', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433120', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433118', None, None, None, None, None, '3259335') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '24768366', "{'plastique': 24768398, 'flou': 24768399, 'mal_croppe': 24768400, 'autre_refus': 24768401, 'Carton_gris': 24768402, 'cartonnette': 24768403, 'papier': 24768404, 'Teint_Dans_La_Masse': 24768405, 'environnement': 24768406, 'Carton_brun': 24768407, 'kraft': 24768408, 'metal': 24768409}", None, None, None, None, '3259335'), ('4302', '24768366', '1371433137', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433135', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433134', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433133', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433131', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433130', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433128', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433126', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433123', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433122', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433120', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433118', None, None, None, None, None, '3259335')] time used for this insertion : 0.01472926139831543 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.40540623664855957 time spend to save output : 0.015053033828735352 total time spend for step 1 : 0.4204592704772949 step2:final Wed Jul 9 22:08:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (24768366) 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 24768366 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1371432509,1371432507,1371432505,1371432503,1371432501,1371432500,1371432617,1371432535,1371432529,1371432527,1371432525,1371432523,1371433070,1371433069,1371433068,1371433067,1371433065,1371433066,1371433062,1371433063,1371433060,1371433059,1371433057,1371433056,1371433081,1371433078,1371433076,1371433074,1371433073,1371433071,1371433106,1371433104,1371433102,1371433099,1371433097,1371433095,1371433128,1371433126,1371433123,1371433122,1371433120,1371433118,1371433137,1371433135,1371433134,1371433133,1371433131,1371433130); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24768366]) Inside saveOutput : final : False verbose : True original output for save of step final : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} new output for save of step final : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] map_info['map_portfolio_photo'] : {24768366: [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118, 1371433106, 1371433104, 1371433102, 1371433099, 1371433097, 1371433095, 1371433081, 1371433078, 1371433076, 1371433074, 1371433073, 1371433071, 1371433070, 1371433069, 1371433068, 1371433067, 1371433066, 1371433065, 1371433063, 1371433062, 1371433060, 1371433059, 1371433057, 1371433056, 1371432617, 1371432535, 1371432529, 1371432527, 1371432525, 1371432523, 1371432509, 1371432507, 1371432505, 1371432503, 1371432501, 1371432500]} final : False mtd_id 4302 list_pids : [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] Looping around the photos to save general results len do output : 12 /1371433137.Didn't retrieve data . /1371433135.Didn't retrieve data . /1371433134.Didn't retrieve data . /1371433133.Didn't retrieve data . /1371433131.Didn't retrieve data . /1371433130.Didn't retrieve data . /1371433128.Didn't retrieve data . /1371433126.Didn't retrieve data . /1371433123.Didn't retrieve data . /1371433122.Didn't retrieve data . /1371433120.Didn't retrieve data . /1371433118.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, '3259335') ('4302', '24768366', '1371433137', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433135', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433134', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433133', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433131', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433130', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433128', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433126', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433123', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433122', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433120', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433118', None, None, None, None, None, '3259335') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '24768366', '1371433137', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433135', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433134', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433133', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433131', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433130', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433128', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433126', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433123', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433122', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433120', '0.0', None, None, None, None, '3259335'), ('4302', '24768366', '1371433118', '0.0', None, None, None, None, '3259335')] time used for this insertion : 0.01300954818725586 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05121779441833496 time spend to save output : 0.013651371002197266 total time spend for step 2 : 0.06486916542053223 step3:velours_tree Wed Jul 9 22:08:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {24768366: [{'plastique': 24768398, 'flou': 24768399, 'mal_croppe': 24768400, 'autre_refus': 24768401, 'Carton_gris': 24768402, 'cartonnette': 24768403, 'papier': 24768404, 'Teint_Dans_La_Masse': 24768405, 'environnement': 24768406, 'Carton_brun': 24768407, 'kraft': 24768408, 'metal': 24768409}]} input_args_next_step : {24768366: ()} output_args : {24768366: [{'plastique': 24768398, 'flou': 24768399, 'mal_croppe': 24768400, 'autre_refus': 24768401, 'Carton_gris': 24768402, 'cartonnette': 24768403, 'papier': 24768404, 'Teint_Dans_La_Masse': 24768405, 'environnement': 24768406, 'Carton_brun': 24768407, 'kraft': 24768408, 'metal': 24768409}]} args : 24768366 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 : ({'plastique': 24768398, 'flou': 24768399, 'mal_croppe': 24768400, 'autre_refus': 24768401, 'Carton_gris': 24768402, 'cartonnette': 24768403, 'papier': 24768404, 'Teint_Dans_La_Masse': 24768405, 'environnement': 24768406, 'Carton_brun': 24768407, 'kraft': 24768408, 'metal': 24768409},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24768366) 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([24768366]) 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.3171977996826172 time spend to save output : 8.273124694824219e-05 total time spend for step 3 : 0.31728053092956543 step4:send_mail_cod Wed Jul 9 22:08:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} input_args_next_step : {1371433137: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433137 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433135 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433134 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433133 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433131 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433130 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433128 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433126 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433123 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433122 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433120 depend.output_id : 0 input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ()} output_args : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',)} args : 1371433118 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 : {24768366: [{'plastique': 24768398, 'flou': 24768399, 'mal_croppe': 24768400, 'autre_refus': 24768401, 'Carton_gris': 24768402, 'cartonnette': 24768403, 'papier': 24768404, 'Teint_Dans_La_Masse': 24768405, 'environnement': 24768406, 'Carton_brun': 24768407, 'kraft': 24768408, 'metal': 24768409}]} input_args_next_step : {1371433137: ('0.0',), 1371433135: ('0.0',), 1371433134: ('0.0',), 1371433133: ('0.0',), 1371433131: ('0.0',), 1371433130: ('0.0',), 1371433128: ('0.0',), 1371433126: ('0.0',), 1371433123: ('0.0',), 1371433122: ('0.0',), 1371433120: ('0.0',), 1371433118: ('0.0',), 24768366: ()} output_args : {24768366: [{'plastique': 24768398, 'flou': 24768399, 'mal_croppe': 24768400, 'autre_refus': 24768401, 'Carton_gris': 24768402, 'cartonnette': 24768403, 'papier': 24768404, 'Teint_Dans_La_Masse': 24768405, 'environnement': 24768406, 'Carton_brun': 24768407, 'kraft': 24768408, 'metal': 24768409}]} args : 24768366 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :13, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24768366) 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 (1371433137,1371433135,1371433134,1371433133,1371433131,1371433130,1371433128,1371433126,1371433123,1371433122,1371433120,1371433118) Found this number of photos: 12 ##### Call download_photos : nb_thread : 5 begin to download photo : 1371433118 begin to download photo : 1371433123 begin to download photo : 1371433130 begin to download photo : 1371433134 download finish for photo 1371433134 begin to download photo : 1371433135 download finish for photo 1371433123 begin to download photo : 1371433126 download finish for photo 1371433130 begin to download photo : 1371433131 download finish for photo 1371433118 begin to download photo : 1371433120 download finish for photo 1371433135 begin to download photo : 1371433137 download finish for photo 1371433126 begin to download photo : 1371433128 download finish for photo 1371433120 begin to download photo : 1371433122 download finish for photo 1371433131 begin to download photo : 1371433133 download finish for photo 1371433122 download finish for photo 1371433137 download finish for photo 1371433128 download finish for photo 1371433133 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette247683981752091739/ imagette247683991752091739/ imagette247684001752091739/ imagette247684011752091739/ imagette247684031752091739/ imagette247684081752091739/ imagette247684091752091739/ imagette247684021752091739/ imagette247684051752091739/ imagette247684071752091739/ length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 results_Auto_P24768366_09-07-2025_22_08_59.pdf 24768398 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=24768398 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247683981752091739 24768399 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=24768399 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247683991752091739 24768400 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=24768400 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684001752091739 24768401 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=24768401 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684011752091739 24768403 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=24768403 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684031752091739 24768408 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=24768408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684081752091739 24768409 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=24768409 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684091752091739 24768402 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=24768402 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684021752091739 24768405 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=24768405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684051752091739 24768407 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=24768407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette247684071752091739 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24768366 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/24768411,24768412,24768413,24768414,24768415,24768416,24768417,24768418,24768419,24768420,24768421,24768422?tags=plastique,flou,mal_croppe,autre_refus,Carton_gris,cartonnette,papier,Teint_Dans_La_Masse,environnement,Carton_brun,kraft,metal your option no_mail is active, we will not send the real mail to your client args[1371433137] : ('0.0',) no score found for photo 1371433137 We are sending mail with results at report@fotonower.com args[1371433135] : ('0.0',) no score found for photo 1371433135 We are sending mail with results at report@fotonower.com args[1371433134] : ('0.0',) no score found for photo 1371433134 We are sending mail with results at report@fotonower.com args[1371433133] : ('0.0',) no score found for photo 1371433133 We are sending mail with results at report@fotonower.com args[1371433131] : ('0.0',) no score found for photo 1371433131 We are sending mail with results at report@fotonower.com args[1371433130] : ('0.0',) no score found for photo 1371433130 We are sending mail with results at report@fotonower.com args[1371433128] : ('0.0',) no score found for photo 1371433128 We are sending mail with results at report@fotonower.com args[1371433126] : ('0.0',) no score found for photo 1371433126 We are sending mail with results at report@fotonower.com args[1371433123] : ('0.0',) no score found for photo 1371433123 We are sending mail with results at report@fotonower.com args[1371433122] : ('0.0',) no score found for photo 1371433122 We are sending mail with results at report@fotonower.com args[1371433120] : ('0.0',) no score found for photo 1371433120 We are sending mail with results at report@fotonower.com args[1371433118] : ('0.0',) no score found for photo 1371433118 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24768366 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_P24768366_09-07-2025_22_08_59.pdf results_Auto_P24768366_09-07-2025_22_08_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24768366_09-07-2025_22_08_59.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','24768366','results_Auto_P24768366_09-07-2025_22_08_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24768366_09-07-2025_22_08_59.pdf','pdf','','0.11','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24768366]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] map_info['map_portfolio_photo'] : {24768366: [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118, 1371433106, 1371433104, 1371433102, 1371433099, 1371433097, 1371433095, 1371433081, 1371433078, 1371433076, 1371433074, 1371433073, 1371433071, 1371433070, 1371433069, 1371433068, 1371433067, 1371433066, 1371433065, 1371433063, 1371433062, 1371433060, 1371433059, 1371433057, 1371433056, 1371432617, 1371432535, 1371432529, 1371432527, 1371432525, 1371432523, 1371432509, 1371432507, 1371432505, 1371432503, 1371432501, 1371432500]} final : False mtd_id 4302 list_pids : [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] 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, '3259335') ('4302', '24768366', '1371433137', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433135', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433134', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433133', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433131', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433130', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433128', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433126', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433123', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433122', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433120', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433118', None, None, None, None, None, '3259335') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '24768366', '1371433137', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433135', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433134', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433133', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433131', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433130', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433128', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433126', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433123', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433122', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433120', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433118', None, None, None, None, None, '3259335')] time used for this insertion : 0.012941360473632812 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4817779064178467 time spend to save output : 0.013153553009033203 total time spend for step 4 : 1.4949314594268799 step5:split_time_score Wed Jul 9 22:09:00 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 : ['24768366'] 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 : [('24768366',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (24768366) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1371433118: {'path': 'temp/1752091739_4133945_1371433118_6d5efda6133e13d8fbb43e9bb3381289.jpg', 'extension': 'jpg'}, 1371433120: {'path': 'temp/1752091739_4133945_1371433120_0c87c8876130f2013368aa9898b47e6f.jpg', 'extension': 'jpg'}, 1371433122: {'path': 'temp/1752091739_4133945_1371433122_0a1f06da9ba281fc30391a117b2490a5.jpg', 'extension': 'jpg'}, 1371433134: {'path': 'temp/1752091739_4133945_1371433134_3b695130d9633d7e4fca1f882f70326f.jpg', 'extension': 'jpg'}, 1371433135: {'path': 'temp/1752091739_4133945_1371433135_6662d5f321189bc15900cc4ec38c4e31.jpg', 'extension': 'jpg'}, 1371433137: {'path': 'temp/1752091739_4133945_1371433137_c50ff274b0bda54bc30ffe59b3dbdec7.jpg', 'extension': 'jpg'}, 1371433123: {'path': 'temp/1752091739_4133945_1371433123_8f7a8b03bd68d606117680c5f2f7fc83.jpg', 'extension': 'jpg'}, 1371433126: {'path': 'temp/1752091739_4133945_1371433126_d472eadabc5256cb6b32ff18d0ea3743.jpg', 'extension': 'jpg'}, 1371433128: {'path': 'temp/1752091739_4133945_1371433128_b8d9447e1779b22922240b8f0c712f36.jpg', 'extension': 'jpg'}, 1371433130: {'path': 'temp/1752091739_4133945_1371433130_909b655e91324f35c0367c65e3f41cf1.jpg', 'extension': 'jpg'}, 1371433131: {'path': 'temp/1752091739_4133945_1371433131_21898f32cbcad3d42d6e44f374e3db4d.jpg', 'extension': 'jpg'}, 1371433133: {'path': 'temp/1752091739_4133945_1371433133_c457d9ae1e8c2758d7b4c0333eec2ea9.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 = 24768366; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 24768366 group by h (('22', 48),) 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=24768366 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 (24768366) 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 (24768366) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09072025 24768366 Nombre de photos uploadées : 48 / 23040 (0%) 09072025 24768366 Nombre de photos taguées (types de déchets): 0 / 48 (0%) 09072025 24768366 Nombre de photos taguées (volume) : 0 / 48 (0%) [{'photo_id': 1371432509, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/9/66c7421955a345205ad33503d2cf91b1.jpg', 'username': None, 'uploaded_at': 1752091272, 'text': 'image_09072025_22_00_04_10139.jpg'}, {'photo_id': 1371432507, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/9/82d6f0472744c12d60b05c20c895408e.jpg', 'username': None, 'uploaded_at': 1752091272, 'text': 'image_09072025_22_00_14_10141.jpg'}, {'photo_id': 1371432505, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/9/05e8b6d074aad74f6c8aa9f4ac6a3c99.jpg', 'username': None, 'uploaded_at': 1752091272, 'text': 'image_09072025_22_00_24_10135.jpg'}, {'photo_id': 1371432503, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/9/aa073d4c13f326395578b619a307e125.jpg', 'username': None, 'uploaded_at': 1752091272, 'text': 'image_09072025_22_00_33_9126.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0030488967895507812 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 24768366, '2025-07-09' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1963591,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.021947145462036133 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= 1963591 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24766390, 'dashboard_result_id': 12328109, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24766394, 'dashboard_result_id': 12328110, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24764437, 'dashboard_result_id': 12328111, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764437_09-07-2025_20_07_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764561, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24764440, 'dashboard_result_id': 12328112, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764440_09-07-2025_20_07_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764525, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24764443, 'dashboard_result_id': 12328113, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764443_09-07-2025_20_07_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764489, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24762753, 'dashboard_result_id': 12328114, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762753_09-07-2025_20_06_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762770, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24762755, 'dashboard_result_id': 12328115, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762755_09-07-2025_19_18_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762840, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24762758, 'dashboard_result_id': 12328116, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762758_09-07-2025_19_17_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762810, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24760661, 'dashboard_result_id': 12328117, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760661_09-07-2025_19_16_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24760761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760772, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24760662, 'dashboard_result_id': 12328118, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760662_09-07-2025_18_01_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760742, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24758877, 'dashboard_result_id': 12328119, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758877_09-07-2025_18_01_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759060, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24758878, 'dashboard_result_id': 12328120, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758878_09-07-2025_17_18_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759012, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24758879, 'dashboard_result_id': 12328121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758879_09-07-2025_17_17_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24758975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24758976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24758977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24758978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24758979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24758980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24758981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24758982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24758983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24758984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24758985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24758986, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24756651, 'dashboard_result_id': 12328122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756651_09-07-2025_17_16_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24756704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24756705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24756706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24756707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24756708, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24756709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24756710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24756711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24756712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24756713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24756714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24756715, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24756653, 'dashboard_result_id': 12328123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756653_09-07-2025_16_21_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24756680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24756681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24756682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24756683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24756684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24756685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24756686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24756687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24756688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24756689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24756690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24756691, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24752646, 'dashboard_result_id': 12328124, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752646_09-07-2025_16_21_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24752683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24752684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24752685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24752686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24752687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24752689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24752691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24752692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24752694, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24749394, 'dashboard_result_id': 12328125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24749394_09-07-2025_15_11_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24749424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24749425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24749426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24749427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24749428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24749429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24749430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24749431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24749432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24749433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24749434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24749435, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24747504, 'dashboard_result_id': 12328126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747504_09-07-2025_14_00_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747572, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24747262, 'dashboard_result_id': 12328127, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747262_09-07-2025_13_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747276, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24747707, 'dashboard_result_id': 12328128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747707_09-07-2025_13_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747756, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24748269, 'dashboard_result_id': 12328129, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748269_09-07-2025_13_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24748304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24748305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24748306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24748307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24748308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24748309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24748310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24748311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24748312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24748313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24748314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24748315, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24748870, 'dashboard_result_id': 12328130, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748870_09-07-2025_14_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24748885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24748886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24748887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24748888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24748889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24748890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24748891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24748892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24748893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24748894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24748895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24748896, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24749521, 'dashboard_result_id': 12328131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24749521_09-07-2025_14_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24749556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24749557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24749558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24749559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24749560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24749561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24749562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24749563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24749564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24749565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24749566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24749567, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24750323, 'dashboard_result_id': 12328132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750323_09-07-2025_14_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24750330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24750331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24750332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24750333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24750334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24750335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24750336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24750337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24750339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24750340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24750341, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24750998, 'dashboard_result_id': 12328133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750998_09-07-2025_14_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24751030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24751031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24751032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24751033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24751034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24751035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24751036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24751037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24751038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24751039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24751040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24751041, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24751671, 'dashboard_result_id': 12328134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24751671_09-07-2025_15_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24751703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24751704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24751705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24751706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24751707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24751708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24751709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24751710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24751711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24751712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24751713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24751714, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24752250, 'dashboard_result_id': 12328135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752250_09-07-2025_15_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24752279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24752280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24752281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24752282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24752283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24752284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24752287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24752288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24752289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752290, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24752968, 'dashboard_result_id': 12328136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752968_09-07-2025_15_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24752997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24753000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24753001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24753002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24753003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24753004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24753005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24753006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24753007, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24753569, 'dashboard_result_id': 12328137, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753569_09-07-2025_15_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24753613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24753614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24753615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24753616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24753617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24753618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24753619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24753620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24753621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24753622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24753623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24753624, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24754577, 'dashboard_result_id': 12328138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24754577_09-07-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24754704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24754705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24754706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24754707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24754708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24754709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24754710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24754711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24754712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24754713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24754714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24754715, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24755771, 'dashboard_result_id': 12328139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24755771_09-07-2025_16_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24755857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24755858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24755859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24755860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24755861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24755862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24755863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24755864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24755865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24755866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24755867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24755868, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24756490, 'dashboard_result_id': 12328140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756490_09-07-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24756529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24756530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24756531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24756532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24756533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24756534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24756535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24756536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24756537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24756538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24756539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24756540, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24757131, 'dashboard_result_id': 12328141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757131_09-07-2025_16_46_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24757171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24757172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24757173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24757174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24757175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24757176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24757177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24757178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24757179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24757180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24757181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24757182, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24757745, 'dashboard_result_id': 12328142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757745_09-07-2025_17_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24757772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24757773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24757774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24757775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24757776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24757777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24757778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24757779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24757780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24757781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24757782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24757783, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24758316, 'dashboard_result_id': 12328143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758316_09-07-2025_17_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24758391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24758392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24758393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24758394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24758395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24758396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24758397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24758398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24758399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24758400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24758401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24758402, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24759073, 'dashboard_result_id': 12328144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759073_09-07-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759112, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24759600, 'dashboard_result_id': 12328145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759600_09-07-2025_17_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759650, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24760213, 'dashboard_result_id': 12328146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760213_09-07-2025_19_31_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760250, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24760837, 'dashboard_result_id': 12328147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760837_09-07-2025_18_16_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760910, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24761623, 'dashboard_result_id': 12328148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24761623_09-07-2025_18_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24761656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24761657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24761658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24761659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24761660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24761661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24761662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24761663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24761664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24761665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24761666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24761667, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24762000, 'dashboard_result_id': 12328149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762000_09-07-2025_18_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762020, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24762104, 'dashboard_result_id': 12328150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762104_09-07-2025_19_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762149, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762158, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24762397, 'dashboard_result_id': 12328151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762397_09-07-2025_19_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24762419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762430, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24762861, 'dashboard_result_id': 12328152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762861_09-07-2025_19_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762885, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24763310, 'dashboard_result_id': 12328153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24763310_09-07-2025_19_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24763339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24763340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24763341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24763342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24763343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24763344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24763345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24763346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24763347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24763348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24763349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24763350, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24763861, 'dashboard_result_id': 12328154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24763861_09-07-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24763878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24763879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24763880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24763881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24763882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24763883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24763884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24763885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24763886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24763887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24763888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24763889, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24764316, 'dashboard_result_id': 12328155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764316_09-07-2025_20_06_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764358, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24764877, 'dashboard_result_id': 12328156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764877_09-07-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764903, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24765303, 'dashboard_result_id': 12328157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24765303_09-07-2025_20_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24765333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24765334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24765335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24765336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24765337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24765338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24765339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24765340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24765341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24765342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24765343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24765344, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24765765, 'dashboard_result_id': 12328158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24765765_09-07-2025_21_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24765817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24765818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24765819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24765820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24765821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24765822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24765823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24765824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24765825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24765826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24765827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24765828, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24766271, 'dashboard_result_id': 12328159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766271_09-07-2025_21_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24766300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24766301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24766302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24766303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24766304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24766305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24766306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24766307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24766308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24766309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24766310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24766311, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24766878, 'dashboard_result_id': 12328160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766878_09-07-2025_21_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24766896, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24766897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24766898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24766899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24766900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24766901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24766902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24766903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24766904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24766905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24766906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24766907, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24767347, 'dashboard_result_id': 12328161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24767347_09-07-2025_21_46_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24767378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24767379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24767380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24767381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24767382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24767383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24767384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24767385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24767386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24767387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24767388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24767389, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24767839, 'dashboard_result_id': 12328162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24767839_09-07-2025_22_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24767856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24767857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24767858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24767859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24767860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24767861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24767862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24767863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24767864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24767865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24767866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24767867, 'pht': 3726}}"}, {'dashboat_entry_day': 1963591, 'dashboard_run_id': 1972383, 'mtr_portfolio_id': 24768366, 'dashboard_result_id': 12328163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24768366_09-07-2025_22_04_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24768398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24768399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24768400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24768401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24768402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24768403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24768404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24768405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24768406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24768407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24768408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24768409, '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 = 24766390 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 = 24766390 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 = 24766390 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24766390 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 = 24766390 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 = 24766390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766390_09-07-2025_21_07_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24766390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766390_09-07-2025_21_07_33.pdf'}" where mtr_portfolio_id = 24766390 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24766394 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 = 24766394 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 = 24766394 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24766394 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 = 24766394 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 = 24766394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766394_09-07-2025_21_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24766394 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766394_09-07-2025_21_08_01.pdf'}" where mtr_portfolio_id = 24766394 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764437 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 = 24764437 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 = 24764437 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764437 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 = 24764437 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 = 24764437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764437_09-07-2025_21_06_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24764437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764437_09-07-2025_21_06_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764561, 'pht': 3726}}" where mtr_portfolio_id = 24764437 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764440 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 = 24764440 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 = 24764440 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764440 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 = 24764440 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 = 24764440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764440_09-07-2025_20_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24764440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764440_09-07-2025_20_07_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764525, 'pht': 3726}}" where mtr_portfolio_id = 24764440 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764443 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 = 24764443 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 = 24764443 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764443 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 = 24764443 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 = 24764443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764443_09-07-2025_20_07_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24764443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764443_09-07-2025_20_07_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764483, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764486, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764489, 'pht': 3726}}" where mtr_portfolio_id = 24764443 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762753 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 = 24762753 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 = 24762753 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762753 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 = 24762753 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 = 24762753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762753_09-07-2025_20_06_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24762753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762753_09-07-2025_20_06_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762770, 'pht': 3726}}" where mtr_portfolio_id = 24762753 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762755 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 = 24762755 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 = 24762755 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762755 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 = 24762755 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 = 24762755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762755_09-07-2025_19_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24762755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762755_09-07-2025_19_18_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762834, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762840, 'pht': 3726}}" where mtr_portfolio_id = 24762755 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762758 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 = 24762758 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 = 24762758 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762758 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 = 24762758 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 = 24762758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762758_09-07-2025_19_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24762758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762758_09-07-2025_19_17_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762800, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762810, 'pht': 3726}}" where mtr_portfolio_id = 24762758 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24760661 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 = 24760661 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 = 24760661 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24760661 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 = 24760661 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 = 24760661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760661_09-07-2025_19_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760661_09-07-2025_19_16_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24760761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760764, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760768, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760769, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760772, 'pht': 3726}}" where mtr_portfolio_id = 24760661 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24760662 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 = 24760662 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 = 24760662 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24760662 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 = 24760662 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 = 24760662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760662_09-07-2025_18_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760662_09-07-2025_18_01_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760736, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760742, 'pht': 3726}}" where mtr_portfolio_id = 24760662 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24758877 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 = 24758877 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 = 24758877 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24758877 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 = 24758877 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 = 24758877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758877_09-07-2025_18_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24758877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758877_09-07-2025_18_01_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759057, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759060, 'pht': 3726}}" where mtr_portfolio_id = 24758877 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24758878 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 = 24758878 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 = 24758878 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24758878 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 = 24758878 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 = 24758878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758878_09-07-2025_17_18_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24758878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758878_09-07-2025_17_18_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759008, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759012, 'pht': 3726}}" where mtr_portfolio_id = 24758878 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24758879 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 = 24758879 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 = 24758879 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24758879 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 = 24758879 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 = 24758879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758879_09-07-2025_17_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24758879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758879_09-07-2025_17_17_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24758975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24758976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24758977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24758978, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24758979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24758980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24758981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24758982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24758983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24758984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24758985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24758986, 'pht': 3726}}" where mtr_portfolio_id = 24758879 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24756651 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 = 24756651 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 = 24756651 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24756651 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 = 24756651 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 = 24756651 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756651_09-07-2025_17_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24756651 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756651_09-07-2025_17_16_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24756704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24756705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24756706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24756707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24756708, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24756709, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24756710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24756711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24756712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24756713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24756714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24756715, 'pht': 3726}}" where mtr_portfolio_id = 24756651 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24756653 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 = 24756653 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 = 24756653 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24756653 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 = 24756653 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 = 24756653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756653_09-07-2025_16_21_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24756653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756653_09-07-2025_16_21_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24756680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24756681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24756682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24756683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24756684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24756685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24756686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24756687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24756688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24756689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24756690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24756691, 'pht': 3726}}" where mtr_portfolio_id = 24756653 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24752646 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 = 24752646 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 = 24752646 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24752646 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 = 24752646 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 = 24752646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752646_09-07-2025_16_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24752646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752646_09-07-2025_16_21_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24752683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24752684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24752685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24752686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24752687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24752689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24752691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24752692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24752694, 'pht': 3726}}" where mtr_portfolio_id = 24752646 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24749394 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 = 24749394 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 = 24749394 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24749394 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 = 24749394 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 = 24749394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24749394_09-07-2025_15_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24749394 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24749394_09-07-2025_15_11_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24749424, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24749425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24749426, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24749427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24749428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24749429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24749430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24749431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24749432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24749433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24749434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24749435, 'pht': 3726}}" where mtr_portfolio_id = 24749394 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24747504 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': 3252385, 'mtr_portfolio_id': 24747504, 'created_at': datetime.datetime(2025, 7, 9, 14, 0, 31), 'result': '0.035140833441915834', 'result_long': None, 'result_double': None}] Qualite : 0.035140833441915834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24747504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747504_09-07-2025_14_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24747504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747504_09-07-2025_14_00_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747572, 'pht': 3726}}" where mtr_portfolio_id = 24747504 and dashboard_run_id = 1972383 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`=24747504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328126, 0.035140833441915834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747504_09-07-2025_14_00_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747564, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747572, '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 = 24747262 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': 3252354, 'mtr_portfolio_id': 24747262, 'created_at': datetime.datetime(2025, 7, 9, 13, 16, 59), 'result': '0.031805652620991554', 'result_long': None, 'result_double': None}] Qualite : 0.031805652620991554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24747262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747262_09-07-2025_13_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24747262 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747262_09-07-2025_13_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747276, 'pht': 3726}}" where mtr_portfolio_id = 24747262 and dashboard_run_id = 1972383 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`=24747262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328127, 0.031805652620991554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747262_09-07-2025_13_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747276, '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 = 24747707 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': 3252405, 'mtr_portfolio_id': 24747707, 'created_at': datetime.datetime(2025, 7, 9, 13, 33, 28), 'result': '0.0530137814613162', 'result_long': None, 'result_double': None}] Qualite : 0.0530137814613162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24747707 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747707_09-07-2025_13_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24747707 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747707_09-07-2025_13_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747756, 'pht': 3726}}" where mtr_portfolio_id = 24747707 and dashboard_run_id = 1972383 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`=24747707 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328128, 0.0530137814613162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24747707_09-07-2025_13_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24747745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24747746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24747747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24747748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24747749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24747750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24747751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24747752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24747753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24747754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24747755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24747756, '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 = 24748269 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': 3252484, 'mtr_portfolio_id': 24748269, 'created_at': datetime.datetime(2025, 7, 9, 13, 46, 59), 'result': '0.04382890444493781', 'result_long': None, 'result_double': None}] Qualite : 0.04382890444493781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24748269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748269_09-07-2025_13_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24748269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748269_09-07-2025_13_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24748304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24748305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24748306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24748307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24748308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24748309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24748310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24748311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24748312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24748313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24748314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24748315, 'pht': 3726}}" where mtr_portfolio_id = 24748269 and dashboard_run_id = 1972383 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`=24748269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328129, 0.04382890444493781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748269_09-07-2025_13_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24748304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24748305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24748306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24748307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24748308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24748309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24748310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24748311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24748312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24748313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24748314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24748315, '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 = 24748870 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': 3252606, 'mtr_portfolio_id': 24748870, 'created_at': datetime.datetime(2025, 7, 9, 14, 2, 59), 'result': '0.05285976447939329', 'result_long': None, 'result_double': None}] Qualite : 0.05285976447939329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24748870 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748870_09-07-2025_14_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24748870 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748870_09-07-2025_14_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24748885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24748886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24748887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24748888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24748889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24748890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24748891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24748892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24748893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24748894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24748895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24748896, 'pht': 3726}}" where mtr_portfolio_id = 24748870 and dashboard_run_id = 1972383 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`=24748870 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328130, 0.05285976447939329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24748870_09-07-2025_14_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24748885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24748886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24748887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24748888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24748889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24748890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24748891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24748892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24748893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24748894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24748895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24748896, '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 = 24749521 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': 3252692, 'mtr_portfolio_id': 24749521, 'created_at': datetime.datetime(2025, 7, 9, 14, 16, 58), 'result': '0.056271137205489145', 'result_long': None, 'result_double': None}] Qualite : 0.056271137205489145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24749521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24749521_09-07-2025_14_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24749521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24749521_09-07-2025_14_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24749556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24749557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24749558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24749559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24749560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24749561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24749562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24749563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24749564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24749565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24749566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24749567, 'pht': 3726}}" where mtr_portfolio_id = 24749521 and dashboard_run_id = 1972383 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`=24749521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328131, 0.056271137205489145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24749521_09-07-2025_14_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24749556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24749557, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24749558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24749559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24749560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24749561, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24749562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24749563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24749564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24749565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24749566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24749567, '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 = 24750323 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': 3252776, 'mtr_portfolio_id': 24750323, 'created_at': datetime.datetime(2025, 7, 9, 14, 32, 58), 'result': '0.022989928392788343', 'result_long': None, 'result_double': None}] Qualite : 0.022989928392788343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24750323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750323_09-07-2025_14_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24750323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750323_09-07-2025_14_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24750330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24750331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24750332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24750333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24750334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24750335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24750336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24750337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24750339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24750340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24750341, 'pht': 3726}}" where mtr_portfolio_id = 24750323 and dashboard_run_id = 1972383 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`=24750323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328132, 0.022989928392788343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750323_09-07-2025_14_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24750330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24750331, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24750332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24750333, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24750334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24750335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24750336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24750337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24750339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24750340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24750341, '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 = 24750998 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': 3252862, 'mtr_portfolio_id': 24750998, 'created_at': datetime.datetime(2025, 7, 9, 14, 46, 59), 'result': '0.04110707557475362', 'result_long': None, 'result_double': None}] Qualite : 0.04110707557475362 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24750998 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750998_09-07-2025_14_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24750998 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750998_09-07-2025_14_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24751030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24751031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24751032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24751033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24751034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24751035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24751036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24751037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24751038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24751039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24751040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24751041, 'pht': 3726}}" where mtr_portfolio_id = 24750998 and dashboard_run_id = 1972383 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`=24750998 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328133, 0.04110707557475362, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24750998_09-07-2025_14_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24751030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24751031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24751032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24751033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24751034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24751035, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24751036, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24751037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24751038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24751039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24751040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24751041, '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 = 24751671 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': 3252940, 'mtr_portfolio_id': 24751671, 'created_at': datetime.datetime(2025, 7, 9, 15, 2, 57), 'result': '0.060786301556297176', 'result_long': None, 'result_double': None}] Qualite : 0.060786301556297176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24751671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24751671_09-07-2025_15_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24751671 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24751671_09-07-2025_15_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24751703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24751704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24751705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24751706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24751707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24751708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24751709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24751710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24751711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24751712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24751713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24751714, 'pht': 3726}}" where mtr_portfolio_id = 24751671 and dashboard_run_id = 1972383 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`=24751671 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328134, 0.060786301556297176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24751671_09-07-2025_15_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24751703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24751704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24751705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24751706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24751707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24751708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24751709, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24751710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24751711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24751712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24751713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24751714, '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 = 24752250 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': 3253017, 'mtr_portfolio_id': 24752250, 'created_at': datetime.datetime(2025, 7, 9, 15, 16, 59), 'result': '0.07154437830250861', 'result_long': None, 'result_double': None}] Qualite : 0.07154437830250861 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24752250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752250_09-07-2025_15_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24752250 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752250_09-07-2025_15_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24752279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24752280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24752281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24752282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24752283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24752284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24752287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24752288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24752289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752290, 'pht': 3726}}" where mtr_portfolio_id = 24752250 and dashboard_run_id = 1972383 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`=24752250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328135, 0.07154437830250861, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752250_09-07-2025_15_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24752279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24752280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24752281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24752282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24752283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24752284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24752287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24752288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24752289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752290, '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 = 24752968 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': 3253084, 'mtr_portfolio_id': 24752968, 'created_at': datetime.datetime(2025, 7, 9, 15, 32, 57), 'result': '0.031696523978098246', 'result_long': None, 'result_double': None}] Qualite : 0.031696523978098246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24752968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752968_09-07-2025_15_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24752968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752968_09-07-2025_15_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24752997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24753000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24753001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24753002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24753003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24753004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24753005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24753006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24753007, 'pht': 3726}}" where mtr_portfolio_id = 24752968 and dashboard_run_id = 1972383 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`=24752968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328136, 0.031696523978098246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24752968_09-07-2025_15_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24752996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24752997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24752998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24752999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24753000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24753001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24753002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24753003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24753004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24753005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24753006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24753007, '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 = 24753569 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': 3253144, 'mtr_portfolio_id': 24753569, 'created_at': datetime.datetime(2025, 7, 9, 15, 47), 'result': '0.02763696419599226', 'result_long': None, 'result_double': None}] Qualite : 0.02763696419599226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24753569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753569_09-07-2025_15_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753569_09-07-2025_15_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24753613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24753614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24753615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24753616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24753617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24753618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24753619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24753620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24753621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24753622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24753623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24753624, 'pht': 3726}}" where mtr_portfolio_id = 24753569 and dashboard_run_id = 1972383 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`=24753569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328137, 0.02763696419599226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753569_09-07-2025_15_47_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24753613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24753614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24753615, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24753616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24753617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24753618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24753619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24753620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24753621, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24753622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24753623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24753624, '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 = 24754577 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': 3253234, 'mtr_portfolio_id': 24754577, 'created_at': datetime.datetime(2025, 7, 9, 16, 2, 59), 'result': '0.03888685330003813', 'result_long': None, 'result_double': None}] Qualite : 0.03888685330003813 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24754577 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24754577_09-07-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24754577 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24754577_09-07-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24754704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24754705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24754706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24754707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24754708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24754709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24754710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24754711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24754712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24754713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24754714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24754715, 'pht': 3726}}" where mtr_portfolio_id = 24754577 and dashboard_run_id = 1972383 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`=24754577 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328138, 0.03888685330003813, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24754577_09-07-2025_16_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24754704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24754705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24754706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24754707, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24754708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24754709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24754710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24754711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24754712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24754713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24754714, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24754715, '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 = 24755771 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': 3253297, 'mtr_portfolio_id': 24755771, 'created_at': datetime.datetime(2025, 7, 9, 16, 16, 59), 'result': '0.03153395800954418', 'result_long': None, 'result_double': None}] Qualite : 0.03153395800954418 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24755771 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24755771_09-07-2025_16_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24755771 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24755771_09-07-2025_16_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24755857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24755858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24755859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24755860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24755861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24755862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24755863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24755864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24755865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24755866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24755867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24755868, 'pht': 3726}}" where mtr_portfolio_id = 24755771 and dashboard_run_id = 1972383 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`=24755771 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328139, 0.03153395800954418, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24755771_09-07-2025_16_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24755857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24755858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24755859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24755860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24755861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24755862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24755863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24755864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24755865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24755866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24755867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24755868, '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 = 24756490 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': 3253346, 'mtr_portfolio_id': 24756490, 'created_at': datetime.datetime(2025, 7, 9, 16, 32, 58), 'result': '0.055948282467899214', 'result_long': None, 'result_double': None}] Qualite : 0.055948282467899214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24756490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756490_09-07-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24756490 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756490_09-07-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24756529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24756530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24756531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24756532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24756533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24756534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24756535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24756536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24756537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24756538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24756539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24756540, 'pht': 3726}}" where mtr_portfolio_id = 24756490 and dashboard_run_id = 1972383 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`=24756490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328140, 0.055948282467899214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24756490_09-07-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24756529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24756530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24756531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24756532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24756533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24756534, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24756535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24756536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24756537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24756538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24756539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24756540, '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 = 24757131 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': 3253406, 'mtr_portfolio_id': 24757131, 'created_at': datetime.datetime(2025, 7, 9, 16, 46, 57), 'result': '0.035231053121654796', 'result_long': None, 'result_double': None}] Qualite : 0.035231053121654796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24757131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757131_09-07-2025_16_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24757131 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757131_09-07-2025_16_46_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24757171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24757172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24757173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24757174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24757175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24757176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24757177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24757178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24757179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24757180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24757181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24757182, 'pht': 3726}}" where mtr_portfolio_id = 24757131 and dashboard_run_id = 1972383 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`=24757131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328141, 0.035231053121654796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757131_09-07-2025_16_46_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24757171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24757172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24757173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24757174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24757175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24757176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24757177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24757178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24757179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24757180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24757181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24757182, '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 = 24757745 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': 3253466, 'mtr_portfolio_id': 24757745, 'created_at': datetime.datetime(2025, 7, 9, 17, 2, 57), 'result': '0.030564362425915634', 'result_long': None, 'result_double': None}] Qualite : 0.030564362425915634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24757745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757745_09-07-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24757745 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757745_09-07-2025_17_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24757772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24757773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24757774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24757775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24757776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24757777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24757778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24757779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24757780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24757781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24757782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24757783, 'pht': 3726}}" where mtr_portfolio_id = 24757745 and dashboard_run_id = 1972383 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`=24757745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328142, 0.030564362425915634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757745_09-07-2025_17_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24757772, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24757773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24757774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24757775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24757776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24757777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24757778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24757779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24757780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24757781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24757782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24757783, '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 = 24758316 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': 3253525, 'mtr_portfolio_id': 24758316, 'created_at': datetime.datetime(2025, 7, 9, 17, 16, 59), 'result': '0.045851490825170135', 'result_long': None, 'result_double': None}] Qualite : 0.045851490825170135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24758316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758316_09-07-2025_17_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24758316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758316_09-07-2025_17_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24758391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24758392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24758393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24758394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24758395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24758396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24758397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24758398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24758399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24758400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24758401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24758402, 'pht': 3726}}" where mtr_portfolio_id = 24758316 and dashboard_run_id = 1972383 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`=24758316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328143, 0.045851490825170135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24758316_09-07-2025_17_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24758391, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24758392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24758393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24758394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24758395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24758396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24758397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24758398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24758399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24758400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24758401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24758402, '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 = 24759073 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': 3253580, 'mtr_portfolio_id': 24759073, 'created_at': datetime.datetime(2025, 7, 9, 17, 32, 58), 'result': '0.028068452847881606', 'result_long': None, 'result_double': None}] Qualite : 0.028068452847881606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24759073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759073_09-07-2025_17_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24759073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759073_09-07-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759112, 'pht': 3726}}" where mtr_portfolio_id = 24759073 and dashboard_run_id = 1972383 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`=24759073 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328144, 0.028068452847881606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759073_09-07-2025_17_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759112, '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 = 24759600 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': 3253629, 'mtr_portfolio_id': 24759600, 'created_at': datetime.datetime(2025, 7, 9, 17, 46, 58), 'result': '0.09601933297743641', 'result_long': None, 'result_double': None}] Qualite : 0.09601933297743641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24759600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759600_09-07-2025_17_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24759600 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759600_09-07-2025_17_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759650, 'pht': 3726}}" where mtr_portfolio_id = 24759600 and dashboard_run_id = 1972383 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`=24759600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328145, 0.09601933297743641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24759600_09-07-2025_17_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24759639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24759640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24759641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24759642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24759643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24759644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24759645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24759646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24759647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24759648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24759649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24759650, '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 = 24760213 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': 3253676, 'mtr_portfolio_id': 24760213, 'created_at': datetime.datetime(2025, 7, 9, 19, 31, 31), 'result': '0.10397617204472229', 'result_long': None, 'result_double': None}] Qualite : 0.10397617204472229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24760213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760213_09-07-2025_19_31_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760213_09-07-2025_19_31_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760250, 'pht': 3726}}" where mtr_portfolio_id = 24760213 and dashboard_run_id = 1972383 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`=24760213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328146, 0.10397617204472229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760213_09-07-2025_19_31_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760241, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760250, '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 = 24760837 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': 3253729, 'mtr_portfolio_id': 24760837, 'created_at': datetime.datetime(2025, 7, 9, 18, 16, 29), 'result': '0.04370090205005697', 'result_long': None, 'result_double': None}] Qualite : 0.04370090205005697 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24760837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760837_09-07-2025_18_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760837 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760837_09-07-2025_18_16_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760910, 'pht': 3726}}" where mtr_portfolio_id = 24760837 and dashboard_run_id = 1972383 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`=24760837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328147, 0.04370090205005697, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760837_09-07-2025_18_16_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24760899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24760900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24760901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24760902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24760903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24760904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24760905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24760906, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24760907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24760908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24760909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24760910, '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 = 24761623 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': 3253790, 'mtr_portfolio_id': 24761623, 'created_at': datetime.datetime(2025, 7, 9, 18, 32, 58), 'result': '0.029127455697112357', 'result_long': None, 'result_double': None}] Qualite : 0.029127455697112357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 24761623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24761623_09-07-2025_18_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24761623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24761623_09-07-2025_18_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24761656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24761657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24761658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24761659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24761660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24761661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24761662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24761663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24761664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24761665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24761666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24761667, 'pht': 3726}}" where mtr_portfolio_id = 24761623 and dashboard_run_id = 1972383 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`=24761623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12328148, 0.029127455697112357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24761623_09-07-2025_18_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24761656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24761657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24761658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24761659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24761660, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24761661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24761662, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24761663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24761664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24761665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24761666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24761667, '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 = 24762000 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 = 24762000 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 = 24762000 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762000 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 = 24762000 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 = 24762000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762000_09-07-2025_18_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24762000 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762000_09-07-2025_18_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762018, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762020, 'pht': 3726}}" where mtr_portfolio_id = 24762000 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762104 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 = 24762104 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 = 24762104 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762104 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 = 24762104 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 = 24762104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762104_09-07-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24762104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762104_09-07-2025_19_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762147, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762149, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762154, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762158, 'pht': 3726}}" where mtr_portfolio_id = 24762104 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762397 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 = 24762397 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 = 24762397 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762397 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 = 24762397 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 = 24762397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762397_09-07-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24762397 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762397_09-07-2025_19_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24762419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762420, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762430, 'pht': 3726}}" where mtr_portfolio_id = 24762397 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762861 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 = 24762861 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 = 24762861 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24762861 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 = 24762861 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 = 24762861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762861_09-07-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24762861 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24762861_09-07-2025_19_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24762874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24762875, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24762876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24762877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24762878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24762879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24762880, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24762881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24762882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24762883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24762884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24762885, 'pht': 3726}}" where mtr_portfolio_id = 24762861 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24763310 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 = 24763310 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 = 24763310 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24763310 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 = 24763310 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 = 24763310 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24763310_09-07-2025_19_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24763310 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24763310_09-07-2025_19_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 24763339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24763340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24763341, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24763342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24763343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24763344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24763345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24763346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24763347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24763348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24763349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24763350, 'pht': 3726}}" where mtr_portfolio_id = 24763310 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24763861 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 = 24763861 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 = 24763861 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24763861 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 = 24763861 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 = 24763861 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24763861_09-07-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24763861 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24763861_09-07-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 24763878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24763879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24763880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24763881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24763882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24763883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24763884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24763885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24763886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24763887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24763888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24763889, 'pht': 3726}}" where mtr_portfolio_id = 24763861 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764316 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 = 24764316 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 = 24764316 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764316 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 = 24764316 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 = 24764316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764316_09-07-2025_21_31_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24764316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764316_09-07-2025_21_31_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764349, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764350, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764351, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764352, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764358, 'pht': 3726}}" where mtr_portfolio_id = 24764316 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764877 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 = 24764877 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 = 24764877 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24764877 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 = 24764877 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 = 24764877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764877_09-07-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24764877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24764877_09-07-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24764892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24764893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24764894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24764895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24764896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24764897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24764898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24764899, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24764900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24764901, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24764902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24764903, 'pht': 3726}}" where mtr_portfolio_id = 24764877 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24765303 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 = 24765303 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 = 24765303 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24765303 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 = 24765303 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 = 24765303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24765303_09-07-2025_20_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24765303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24765303_09-07-2025_20_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24765333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24765334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24765335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24765336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24765337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24765338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24765339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24765340, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24765341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24765342, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24765343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24765344, 'pht': 3726}}" where mtr_portfolio_id = 24765303 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24765765 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 = 24765765 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 = 24765765 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24765765 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 = 24765765 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 = 24765765 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24765765_09-07-2025_21_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24765765 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24765765_09-07-2025_21_02_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24765817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24765818, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24765819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24765820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24765821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24765822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24765823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24765824, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24765825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24765826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24765827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24765828, 'pht': 3726}}" where mtr_portfolio_id = 24765765 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24766271 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 = 24766271 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 = 24766271 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24766271 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 = 24766271 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 = 24766271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766271_09-07-2025_21_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24766271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766271_09-07-2025_21_17_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24766300, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24766301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24766302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24766303, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24766304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24766305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24766306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24766307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24766308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24766309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24766310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24766311, 'pht': 3726}}" where mtr_portfolio_id = 24766271 and dashboard_run_id = 1972383 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24766878 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 = 24766878 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 = 24766878 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24766878 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 = 24766878 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 = 24766878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766878_09-07-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24766878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24766878_09-07-2025_21_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24766896, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24766897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24766898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24766899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24766900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24766901, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24766902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24766903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24766904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24766905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24766906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24766907, 'pht': 3726}}" where mtr_portfolio_id = 24766878 and dashboard_run_id = 1972385 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24767347 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 = 24767347 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 = 24767347 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24767347 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 = 24767347 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 = 24767347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24767347_09-07-2025_21_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24767347 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24767347_09-07-2025_21_46_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 24767378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24767379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24767380, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24767381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24767382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24767383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24767384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24767385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24767386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24767387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24767388, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24767389, 'pht': 3726}}" where mtr_portfolio_id = 24767347 and dashboard_run_id = 1972385 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24767839 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 = 24767839 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 = 24767839 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24767839 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 = 24767839 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 = 24767839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24767839_09-07-2025_22_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24767839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24767839_09-07-2025_22_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24767856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24767857, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24767858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24767859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24767860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24767861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24767862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24767863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24767864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24767865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24767866, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24767867, 'pht': 3726}}" where mtr_portfolio_id = 24767839 and dashboard_run_id = 1972385 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24768366 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 = 24768366 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 = 24768366 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 24768366 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 = 24768366 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 = 24768366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24768366_09-07-2025_22_08_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24768366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24768366_09-07-2025_22_08_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 24768398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 24768399, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 24768400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 24768401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 24768402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 24768403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 24768404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 24768405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 24768406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 24768407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 24768408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 24768409, 'pht': 3726}}" where mtr_portfolio_id = 24768366 and dashboard_run_id = 1972385 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (24766390,24766394,24764437,24764440,24764443,24762753,24762755,24762758,24760661,24760662,24758877,24758878,24758879,24756651,24756653,24752646,24749394,24747504,24747262,24747707,24748269,24748870,24749521,24750323,24750998,24751671,24752250,24752968,24753569,24754577,24755771,24756490,24757131,24757745,24758316,24759073,24759600,24760213,24760837,24761623,24762000,24762104,24762397,24762861,24763310,24763861,24764316,24764877,24765303,24765765,24766271,24766878,24767347,24767839,24768366) result : ((1371368493,), (1371368499,), (1371368500,), (1371368521,), (1371368524,), (1371368527,), (1371368547,), (1371368550,), (1371368554,), (1371368564,), (1371368566,), (1371368567,), (1371368578,), (1371368582,), (1371368592,), (1371368594,), (1371368597,), (1371368600,), (1371368615,), (1371368623,), (1371368625,), (1371368628,), (1371368630,), (1371368634,), (1371368654,), (1371368659,), (1371368662,), (1371368664,), (1371368671,), (1371368672,), (1371368684,), (1371368687,), (1371368690,), (1371368709,), (1371368713,), (1371368714,), (1371368726,), (1371368729,), (1371368745,), (1371368753,), (1371368755,), (1371368757,), (1371368770,), (1371368778,), (1371368780,), (1371368783,), (1371368785,), (1371368793,), (1371368819,), (1371368827,), (1371368829,), (1371368830,), (1371368838,), (1371368840,), (1371368885,), (1371368919,), (1371368929,), (1371368937,), (1371368944,), (1371368960,), (1371368961,), (1371368965,), (1371368966,), (1371368975,), (1371368976,), (1371368979,), (1371368980,), (1371368982,), (1371368983,), (1371368984,), (1371368986,), (1371369014,), (1371369023,), (1371369027,), (1371369031,), (1371369036,), (1371369053,), (1371369066,), (1371369074,), (1371369076,), (1371369078,), (1371369086,), (1371369088,), (1371369215,), (1371369250,), (1371369303,), (1371369343,), (1371369376,), (1371369377,), (1371369426,), (1371369468,), (1371369486,), (1371369489,), (1371369511,), (1371369539,), (1371368945,), (1371369106,), (1371369109,), (1371369111,), (1371369113,), (1371369121,), (1371369122,), (1371369689,), (1371369693,), (1371369695,), (1371369704,), (1371369708,), (1371369711,), (1371369873,), (1371369877,), (1371369879,), (1371369891,), (1371369917,), (1371369935,), (1371370089,), (1371370105,), (1371370116,), (1371370117,), (1371370119,), (1371370128,), (1371370299,), (1371370308,), (1371370312,), (1371370314,), (1371370323,), (1371370332,), (1371370483,), (1371370497,), (1371370513,), (1371370516,), (1371370518,), (1371370526,), (1371370775,), (1371370778,), (1371370791,), (1371370796,), (1371370797,), (1371370804,), (1371370959,), (1371370964,), (1371370968,), (1371370986,), (1371370997,), (1371370998,), (1371371179,), (1371371194,), (1371371196,), (1371371198,), (1371371206,), (1371371207,), (1371371332,), (1371371334,), (1371371342,), (1371371344,), (1371371345,), (1371371347,), (1371371534,), (1371371537,), (1371371549,), (1371371567,), (1371371569,), (1371371572,), (1371371698,), (1371371702,), (1371371705,), (1371371714,), (1371371715,), (1371371718,), (1371371833,), (1371371842,), (1371371845,), (1371371848,), (1371371851,), (1371371858,), (1371372003,), (1371372011,), (1371372023,), (1371372027,), (1371372044,), (1371369582,), (1371369623,), (1371369652,), (1371369657,), (1371369666,), (1371369669,), (1371369722,), (1371369725,), (1371369735,), (1371369739,), (1371369743,), (1371369753,), (1371369770,), (1371369772,), (1371369783,), (1371369788,), (1371369790,), (1371369802,), (1371369827,), (1371369839,), (1371369843,), (1371369846,), (1371369854,), (1371369856,), (1371369955,), (1371369958,), (1371369968,), (1371370010,), (1371370038,), (1371370040,), (1371370051,), (1371370053,), (1371370061,), (1371370069,), (1371370073,), (1371370077,), (1371370152,), (1371370161,), (1371370163,), (1371370164,), (1371370172,), (1371370175,), (1371370187,), (1371370192,), (1371370196,), (1371370206,), (1371370210,), (1371370214,), (1371370244,), (1371370252,), (1371370261,), (1371370263,), (1371370267,), (1371370271,), (1371370350,), (1371370354,), (1371370356,), (1371370357,), (1371370375,), (1371370388,), (1371370400,), (1371370403,), (1371370407,), (1371370417,), (1371370430,), (1371370438,), (1371370448,), (1371370450,), (1371370458,), (1371370461,), (1371370465,), (1371370468,), (1371370550,), (1371370568,), (1371370572,), (1371370576,), (1371370587,), (1371370592,), (1371370604,), (1371370606,), (1371370608,), (1371370618,), (1371370620,), (1371370622,), (1371370655,), (1371370657,), (1371370666,), (1371370668,), (1371370673,), (1371370676,), (1371370811,), (1371370821,), (1371370825,), (1371370829,), (1371370847,), (1371370865,), (1371370875,), (1371370877,), (1371370880,), (1371370883,), (1371370900,), (1371370911,), (1371370915,), (1371370925,), (1371370929,), (1371370931,), (1371370939,), (1371370941,), (1371371007,), (1371371008,), (1371371011,), (1371371012,), (1371371020,), (1371371029,), (1371371033,), (1371371042,), (1371371043,), (1371371046,), (1371371047,), (1371371050,), (1371371062,), (1371371070,), (1371371072,), (1371371074,), (1371371077,), (1371371086,), (1371371118,), (1371371128,), (1371371135,), (1371371141,), (1371371150,), (1371371153,), (1371371219,), (1371371223,), (1371371226,), (1371371242,), (1371371245,), (1371371248,), (1371371295,), (1371371298,), (1371371299,), (1371371308,), (1371371312,), (1371371316,), (1371371365,), (1371371368,), (1371371382,), (1371371383,), (1371371384,), (1371371385,), (1371371407,), (1371371410,), (1371371414,), (1371371416,), (1371371426,), (1371371480,), (1371371503,), (1371371506,), (1371371509,), (1371371516,), (1371371517,), (1371371521,), (1371371581,), (1371371585,), (1371371596,), (1371371599,), (1371371601,), (1371371603,), (1371371617,), (1371371625,), (1371371633,), (1371371635,), (1371371636,), (1371371645,), (1371371652,), (1371371664,), (1371371666,), (1371371668,), (1371371676,), (1371371679,), (1371371729,), (1371371730,), (1371371734,), (1371371735,), (1371371750,), (1371371751,), (1371371753,), (1371371754,), (1371371755,), (1371371756,), (1371371763,), (1371371764,), (1371371794,), (1371371797,), (1371371806,), (1371371808,), (1371371810,), (1371371828,), (1371371864,), (1371371873,), (1371371882,), (1371371885,), (1371371895,), (1371371898,), (1371371908,), (1371371910,), (1371371912,), (1371371927,), (1371371939,), (1371371948,), (1371371968,), (1371371971,), (1371371979,), (1371371987,), (1371371990,), (1371371992,), (1371372061,), (1371372074,), (1371372105,), (1371372109,), (1371372113,), (1371372116,), (1371372137,), (1371372139,), (1371372144,), (1371372146,), (1371372156,), (1371372159,), (1371372186,), (1371372188,), (1371372189,), (1371372191,), (1371372199,), (1371372201,), (1371372258,), (1371372266,), (1371372275,), (1371372277,), (1371372281,), (1371372286,), (1371372302,), (1371372309,), (1371372311,), (1371372314,), (1371372321,), (1371372338,), (1371372428,), (1371372441,), (1371372444,), (1371372446,), (1371372454,), (1371372456,), (1371372472,), (1371372476,), (1371372480,), (1371372494,), (1371372497,), (1371372499,), (1371372539,), (1371372542,), (1371372552,), (1371372562,), (1371372567,), (1371372571,), (1371372789,), (1371372837,), (1371372877,), (1371372929,), (1371372963,), (1371372999,), (1371373688,), (1371373762,), (1371373831,), (1371373911,), (1371374020,), (1371374116,), (1371372046,), (1371372228,), (1371372230,), (1371372232,), (1371372242,), (1371372245,), (1371372247,), (1371372349,), (1371372365,), (1371372379,), (1371372381,), (1371372386,), (1371372399,), (1371372588,), (1371372599,), (1371372613,), (1371372624,), (1371372627,), (1371372656,), (1371374422,), (1371374513,), (1371374558,), (1371374595,), (1371374670,), (1371374716,), (1371375215,), (1371375220,), (1371375696,), (1371375730,), (1371375738,), (1371375743,), (1371375754,), (1371375760,), (1371376029,), (1371376032,), (1371376034,), (1371376044,), (1371376058,), (1371376069,), (1371376160,), (1371376162,), (1371376165,), (1371376175,), (1371376185,), (1371376187,), (1371376390,), (1371376395,), (1371376398,), (1371376405,), (1371376408,), (1371376410,), (1371376570,), (1371376572,), (1371376573,), (1371376580,), (1371376583,), (1371376588,), (1371376734,), (1371376736,), (1371376737,), (1371376738,), (1371376747,), (1371376759,), (1371377001,), (1371377003,), (1371377004,), (1371377040,), (1371377043,), (1371377051,), (1371377153,), (1371377155,), (1371377165,), (1371377167,), (1371377170,), (1371377179,), (1371377347,), (1371377354,), (1371377371,), (1371377395,), (1371377399,), (1371377402,), (1371377648,), (1371377649,), (1371377657,), (1371377662,), (1371377664,), (1371377666,), (1371377838,), (1371377847,), (1371377849,), (1371377851,), (1371374878,), (1371374881,), (1371374954,), (1371374957,), (1371375029,), (1371375030,), (1371375097,), (1371375100,), (1371375164,), (1371375166,), (1371375357,), (1371375386,), (1371375393,), (1371375396,), (1371375399,), (1371375410,), (1371375497,), (1371375539,), (1371375574,), (1371375608,), (1371375639,), (1371375643,), (1371375773,), (1371375775,), (1371375781,), (1371375783,), (1371375793,), (1371375795,), (1371375812,), (1371375816,), (1371375824,), (1371375825,), (1371375834,), (1371375839,), (1371375871,), (1371375885,), (1371375907,), (1371375913,), (1371375917,), (1371375948,), (1371375985,), (1371375994,), (1371375997,), (1371375999,), (1371376008,), (1371376012,), (1371376078,), (1371376083,), (1371376088,), (1371376099,), (1371376103,), (1371376108,), (1371376124,), (1371376125,), (1371376133,), (1371376135,), (1371376144,), (1371376147,), (1371376199,), (1371376200,), (1371376202,), (1371376203,), (1371376211,), (1371376212,), (1371376213,), (1371376214,), (1371376216,), (1371376217,), (1371376225,), (1371376226,), (1371376244,), (1371376251,), (1371376253,), (1371376259,), (1371376268,), (1371376309,), (1371376326,), (1371376327,), (1371376328,), (1371376346,), (1371376365,), (1371376368,), (1371376428,), (1371376429,), (1371376433,), (1371376434,), (1371376454,), (1371376455,), (1371376461,), (1371376462,), (1371376466,), (1371376467,), (1371376468,), (1371376470,), (1371376482,), (1371376489,), (1371376491,), (1371376495,), (1371376498,), (1371376508,), (1371376525,), (1371376527,), (1371376529,), (1371376530,), (1371376539,), (1371376542,), (1371376608,), (1371376609,), (1371376614,), (1371376615,), (1371376625,), (1371376626,), (1371376629,), (1371376630,), (1371376634,), (1371376635,), (1371376637,), (1371376639,), (1371376655,), (1371376663,), (1371376664,), (1371376668,), (1371376673,), (1371376687,), (1371376700,), (1371376702,), (1371376703,), (1371376705,), (1371376714,), (1371376717,), (1371376778,), (1371376782,), (1371376789,), (1371376796,), (1371376799,), (1371376804,), (1371376817,), (1371376820,), (1371376830,), (1371376835,), (1371376839,), (1371376846,), (1371376876,), (1371376878,), (1371376880,), (1371376912,), (1371376922,), (1371376942,), (1371377069,), (1371377070,), (1371377075,), (1371377076,), (1371377087,), (1371377088,), (1371377092,), (1371377093,), (1371377095,), (1371377096,), (1371377097,), (1371377098,), (1371377116,), (1371377124,), (1371377128,), (1371377132,), (1371377135,), (1371377146,), (1371377203,), (1371377207,), (1371377211,), (1371377217,), (1371377228,), (1371377238,), (1371377251,), (1371377255,), (1371377259,), (1371377271,), (1371377275,), (1371377283,), (1371377307,), (1371377310,), (1371377318,), (1371377321,), (1371377326,), (1371377335,), (1371377468,), (1371377474,), (1371377504,), (1371377514,), (1371377516,), (1371377542,), (1371377552,), (1371377556,), (1371377561,), (1371377566,), (1371377577,), (1371377581,), (1371377597,), (1371377599,), (1371377600,), (1371377608,), (1371377612,), (1371377617,), (1371377690,), (1371377694,), (1371377698,), (1371377709,), (1371377720,), (1371377724,), (1371377735,), (1371377738,), (1371377745,), (1371377779,), (1371377793,), (1371377796,), (1371377807,), (1371377809,), (1371377818,), (1371377821,), (1371377825,), (1371377828,), (1371377880,), (1371377883,), (1371377887,), (1371377889,), (1371377898,), (1371377902,), (1371377912,), (1371377920,), (1371377922,), (1371377925,), (1371377935,), (1371377938,), (1371377952,), (1371377962,), (1371377963,), (1371377965,), (1371377974,), (1371377983,), (1371378032,), (1371378035,), (1371378037,), (1371378038,), (1371378047,), (1371378048,), (1371378050,), (1371378051,), (1371378053,), (1371378054,), (1371378055,), (1371378056,), (1371378086,), (1371378095,), (1371378098,), (1371378108,), (1371378111,), (1371378127,), (1371378150,), (1371378160,), (1371378174,), (1371378176,), (1371378184,), (1371378187,), (1371378372,), (1371378377,), (1371378392,), (1371378394,), (1371378397,), (1371378399,), (1371378418,), (1371378427,), (1371378431,), (1371378435,), (1371378438,), (1371378454,), (1371378547,), (1371378573,), (1371378577,), (1371378580,), (1371378583,), (1371378593,), (1371378606,), (1371378609,), (1371378612,), (1371378616,), (1371378626,), (1371378636,), (1371378667,), (1371378670,), (1371378672,), (1371378681,), (1371378684,), (1371378689,), (1371378848,), (1371378854,), (1371378861,), (1371378864,), (1371378867,), (1371378881,), (1371378898,), (1371378906,), (1371378908,), (1371378912,), (1371378916,), (1371378934,), (1371378946,), (1371378952,), (1371378956,), (1371378967,), (1371378973,), (1371378978,), (1371379036,), (1371379048,), (1371379058,), (1371379060,), (1371379061,), (1371379068,), (1371379078,), (1371379081,), (1371379085,), (1371379088,), (1371379097,), (1371379098,), (1371379106,), (1371379108,), (1371379110,), (1371379117,), (1371379120,), (1371379124,), (1371379176,), (1371379179,), (1371379187,), (1371379188,), (1371379189,), (1371379192,), (1371379209,), (1371379218,), (1371379221,), (1371379225,), (1371379230,), (1371379270,), (1371379316,), (1371379321,), (1371379322,), (1371379324,), (1371379327,), (1371379329,), (1371379337,), (1371379346,), (1371379351,), (1371379359,), (1371379370,), (1371379376,), (1371379385,), (1371379389,), (1371379391,), (1371379392,), (1371379399,), (1371379401,), (1371379449,), (1371379450,), (1371379456,), (1371379457,), (1371379462,), (1371379463,), (1371379465,), (1371379466,), (1371379474,), (1371379475,), (1371379477,), (1371379478,), (1371379484,), (1371379492,), (1371379494,), (1371379496,), (1371379498,), (1371379503,), (1371379519,), (1371379522,), (1371379523,), (1371379525,), (1371379534,), (1371379536,), (1371379579,), (1371379581,), (1371379585,), (1371379592,), (1371379596,), (1371379598,), (1371379601,), (1371379603,), (1371379605,), (1371379606,), (1371379616,), (1371379617,), (1371379720,), (1371379762,), (1371379798,), (1371379836,), (1371379871,), (1371379913,), (1371380609,), (1371380666,), (1371380738,), (1371380821,), (1371380895,), (1371380932,), (1371381128,), (1371381180,), (1371381199,), (1371381238,), (1371381257,), (1371381289,), (1371381313,), (1371381344,), (1371381376,), (1371381410,), (1371381445,), (1371381526,), (1371381551,), (1371381560,), (1371381584,), (1371381595,), (1371381630,), (1371381754,), (1371381787,), (1371381820,), (1371381852,), (1371381894,), (1371381929,), (1371382390,), (1371382437,), (1371382478,), (1371382519,), (1371382555,), (1371382591,), (1371382712,), (1371382748,), (1371382775,), (1371382778,), (1371382788,), (1371382792,), (1371383034,), (1371383067,), (1371383099,), (1371383118,), (1371383126,), (1371383128,), (1371383198,), (1371383222,), (1371383225,), (1371383236,), (1371383270,), (1371383286,), (1371383309,), (1371383311,), (1371383314,), (1371383320,), (1371383322,), (1371383324,), (1371383365,), (1371383373,), (1371383377,), (1371383379,), (1371383380,), (1371383385,), (1371383396,), (1371383405,), (1371383408,), (1371383412,), (1371383421,), (1371383458,), (1371383476,), (1371383478,), (1371383479,), (1371383481,), (1371383490,), (1371383493,), (1371383540,), (1371383542,), (1371383546,), (1371383560,), (1371383575,), (1371383587,), (1371383606,), (1371383615,), (1371383618,), (1371383621,), (1371383625,), (1371383630,), (1371383662,), (1371383678,), (1371383682,), (1371383688,), (1371383690,), (1371383693,), (1371383766,), (1371383769,), (1371383772,), (1371383774,), (1371383778,), (1371383787,), (1371377854,), (1371377863,), (1371378004,), (1371378006,), (1371378007,), (1371378008,), (1371378017,), (1371378019,), (1371378238,), (1371378243,), (1371378250,), (1371378259,), (1371378261,), (1371378295,), (1371378463,), (1371378474,), (1371378487,), (1371378489,), (1371378491,), (1371378499,), (1371378753,), (1371378755,), (1371378763,), (1371378796,), (1371378802,), (1371378804,), (1371378994,), (1371379002,), (1371379003,), (1371379013,), (1371379018,), (1371379020,), (1371379147,), (1371379148,), (1371379155,), (1371379162,), (1371379164,), (1371379166,), (1371379287,), (1371379290,), (1371379293,), (1371379295,), (1371379298,), (1371379305,), (1371379416,), (1371379418,), (1371379426,), (1371379431,), (1371379435,), (1371379437,), (1371379557,), (1371379559,), (1371379560,), (1371379562,), (1371379565,), (1371379566,), (1371381268,), (1371382055,), (1371382091,), (1371382140,), (1371382181,), (1371382234,), (1371382270,), (1371382804,), (1371382805,), (1371382807,), (1371382808,), (1371382841,), (1371382879,), (1371383338,), (1371383346,), (1371383349,), (1371383351,), (1371383353,), (1371383355,), (1371383504,), (1371383505,), (1371383512,), (1371383515,), (1371383519,), (1371383521,), (1371383729,), (1371383742,), (1371383746,), (1371383751,), (1371383753,), (1371383754,), (1371383848,), (1371383856,), (1371383870,), (1371383796,), (1371383798,), (1371383801,), (1371383805,), (1371383810,), (1371383813,), (1371383824,), (1371383826,), (1371383828,), (1371383835,), (1371383837,), (1371383841,), (1371383889,), (1371383897,), (1371383900,), (1371383902,), (1371383904,), (1371383907,), (1371383917,), (1371383919,), (1371383922,), (1371383925,), (1371383928,), (1371383936,), (1371383956,), (1371383967,), (1371383968,), (1371383970,), (1371383979,), (1371383989,), (1371384096,), (1371384101,), (1371384106,), (1371384108,), (1371384116,), (1371384118,), (1371384139,), (1371384141,), (1371384147,), (1371384149,), (1371384151,), (1371384156,), (1371384196,), (1371384200,), (1371384203,), (1371384209,), (1371384213,), (1371384216,), (1371384227,), (1371384229,), (1371384232,), (1371384237,), (1371384242,), (1371384247,), (1371384255,), (1371384259,), (1371384261,), (1371384264,), (1371384273,), (1371384282,), (1371384326,), (1371384327,), (1371384334,), (1371384336,), (1371384341,), (1371384345,), (1371384346,), (1371384349,), (1371384350,), (1371384351,), (1371384358,), (1371384359,), (1371384361,), (1371384365,), (1371384371,), (1371384376,), (1371384381,), (1371384385,), (1371384395,), (1371384396,), (1371384397,), (1371384398,), (1371384402,), (1371384407,), (1371384469,), (1371384470,), (1371384473,), (1371384474,), (1371384478,), (1371384479,), (1371384482,), (1371384483,), (1371384485,), (1371384486,), (1371384487,), (1371384489,), (1371384509,), (1371384519,), (1371384521,), (1371384525,), (1371384530,), (1371384570,), (1371384611,), (1371384623,), (1371384626,), (1371384629,), (1371384632,), (1371384636,), (1371384692,), (1371384693,), (1371384698,), (1371384702,), (1371384708,), (1371384710,), (1371384716,), (1371384717,), (1371384721,), (1371384722,), (1371384724,), (1371384725,), (1371384730,), (1371384732,), (1371384742,), (1371384745,), (1371384750,), (1371384757,), (1371384808,), (1371384817,), (1371384823,), (1371384827,), (1371384830,), (1371384839,), (1371384845,), (1371384847,), (1371384861,), (1371384894,), (1371384926,), (1371384963,), (1371385067,), (1371385094,), (1371385107,), (1371385135,), (1371385183,), (1371385247,), (1371385658,), (1371385693,), (1371385752,), (1371385822,), (1371385894,), (1371385960,), (1371386063,), (1371386087,), (1371386115,), (1371386123,), (1371386157,), (1371386189,), (1371386655,), (1371386690,), (1371386724,), (1371386760,), (1371386824,), (1371386864,), (1371386972,), (1371386977,), (1371386982,), (1371387022,), (1371387080,), (1371387168,), (1371387381,), (1371387453,), (1371387550,), (1371387639,), (1371387661,), (1371387669,), (1371387970,), (1371388029,), (1371388092,), (1371388119,), (1371388134,), (1371388139,), (1371388613,), (1371388656,), (1371388725,), (1371388836,), (1371388940,), (1371389024,), (1371389266,), (1371389302,), (1371389337,), (1371389385,), (1371389458,), (1371389555,), (1371390631,), (1371390731,), (1371390832,), (1371390879,), (1371390943,), (1371390998,), (1371391259,), (1371391326,), (1371391403,), (1371391472,), (1371391494,), (1371391516,), (1371391690,), (1371391806,), (1371391920,), (1371392090,), (1371392267,), (1371392368,), (1371393818,), (1371393825,), (1371393954,), (1371393988,), (1371394111,), (1371394129,), (1371394208,), (1371394223,), (1371394287,), (1371394301,), (1371394383,), (1371394416,), (1371394943,), (1371395040,), (1371395132,), (1371395217,), (1371395338,), (1371395445,), (1371395947,), (1371396100,), (1371396177,), (1371396231,), (1371396287,), (1371396365,), (1371396885,), (1371396907,), (1371396974,), (1371397027,), (1371397078,), (1371397118,), (1371397233,), (1371397275,), (1371397309,), (1371397395,), (1371397451,), (1371397508,), (1371397820,), (1371397945,), (1371398038,), (1371398090,), (1371398168,), (1371398239,), (1371399173,), (1371399178,), (1371399222,), (1371399229,), (1371399282,), (1371399303,), (1371399359,), (1371399394,), (1371399491,), (1371399523,), (1371399634,), (1371399663,), (1371400168,), (1371400179,), (1371400206,), (1371400255,), (1371400317,), (1371400381,), (1371400540,), (1371400649,), (1371400782,), (1371400953,), (1371401083,), (1371401198,), (1371401796,), (1371401997,), (1371402202,), (1371402312,), (1371402404,), (1371402495,), (1371402734,), (1371402809,), (1371402879,), (1371402927,), (1371402978,), (1371403015,), (1371403718,), (1371403788,), (1371403873,), (1371403926,), (1371403966,), (1371403979,), (1371404043,), (1371404080,), (1371404116,), (1371404163,), (1371404229,), (1371404554,), (1371404556,), (1371404624,), (1371404631,), (1371404691,), (1371404694,), (1371404760,), (1371404768,), (1371404838,), (1371404846,), (1371404910,), (1371404918,), (1371405117,), (1371405184,), (1371405250,), (1371405268,), (1371405321,), (1371405363,), (1371405731,), (1371405825,), (1371405933,), (1371406038,), (1371406080,), (1371406149,), (1371406766,), (1371406829,), (1371406877,), (1371406918,), (1371406958,), (1371406971,), (1371407013,), (1371407075,), (1371407122,), (1371407158,), (1371407194,), (1371407218,), (1371407245,), (1371407277,), (1371407312,), (1371407327,), (1371407331,), (1371407335,), (1371407679,), (1371407680,), (1371407685,), (1371407686,), (1371407691,), (1371407692,), (1371407696,), (1371407697,), (1371407705,), (1371407706,), (1371407712,), (1371407713,), (1371407729,), (1371407732,), (1371407735,), (1371407753,), (1371407757,), (1371407769,), (1371407839,), (1371407844,), (1371407847,), (1371407849,), (1371407850,), (1371407852,), (1371407898,), (1371407902,), (1371407912,), (1371407916,), (1371407918,), (1371407925,), (1371407930,), (1371407932,), (1371407942,), (1371407945,), (1371407949,), (1371407954,), (1371407988,), (1371407992,), (1371407996,), (1371408011,), (1371408017,), (1371408020,), (1371408025,), (1371408034,), (1371408036,), (1371408039,), (1371408042,), (1371408045,), (1371408128,), (1371408161,), (1371408196,), (1371408222,), (1371408248,), (1371408275,), (1371408491,), (1371408500,), (1371408503,), (1371408508,), (1371408511,), (1371408512,), (1371408545,), (1371408572,), (1371408597,), (1371408633,), (1371408660,), (1371408690,), (1371409007,), (1371409031,), (1371409056,), (1371409083,), (1371409117,), (1371409147,), (1371409468,), (1371409496,), (1371409527,), (1371409556,), (1371409583,), (1371409610,), (1371409777,), (1371409780,), (1371409782,), (1371409784,), (1371409785,), (1371409787,), (1371409790,), (1371409793,), (1371409795,), (1371409799,), (1371409802,), (1371409805,), (1371410146,), (1371410171,), (1371410198,), (1371410230,), (1371410257,), (1371410271,), (1371410390,), (1371410411,), (1371410444,), (1371410492,), (1371410533,), (1371410569,), (1371410689,), (1371410693,), (1371410698,), (1371410700,), (1371410702,), (1371410704,), (1371410798,), (1371410823,), (1371410848,), (1371410873,), (1371410900,), (1371410927,), (1371411106,), (1371411109,), (1371411118,), (1371411122,), (1371411125,), (1371411128,), (1371411141,), (1371411148,), (1371411153,), (1371411154,), (1371411156,), (1371411160,), (1371411199,), (1371411201,), (1371411205,), (1371411207,), (1371411211,), (1371411215,), (1371411237,), (1371411240,), (1371411249,), (1371411254,), (1371411261,), (1371411266,), (1371411272,), (1371411275,), (1371411276,), (1371411278,), (1371411280,), (1371411282,), (1371411332,), (1371411341,), (1371411343,), (1371411348,), (1371411350,), (1371411355,), (1371403344,), (1371403397,), (1371403426,), (1371403433,), (1371404307,), (1371406349,), (1371406384,), (1371406418,), (1371406452,), (1371406493,), (1371406543,), (1371407413,), (1371407449,), (1371407502,), (1371407544,), (1371407577,), (1371407608,), (1371407858,), (1371407860,), (1371407866,), (1371407875,), (1371407878,), (1371407881,), (1371407960,), (1371407967,), (1371407971,), (1371407973,), (1371407978,), (1371407979,), (1371408056,), (1371408061,), (1371408066,), (1371408069,), (1371408073,), (1371408076,), (1371408377,), (1371408403,), (1371408430,), (1371408458,), (1371408473,), (1371408479,), (1371408785,), (1371408812,), (1371408845,), (1371408875,), (1371408901,), (1371408926,), (1371409240,), (1371409270,), (1371409294,), (1371409319,), (1371409344,), (1371409367,), (1371409696,), (1371409720,), (1371409746,), (1371409762,), (1371409763,), (1371409765,), (1371409903,), (1371409939,), (1371409972,), (1371409998,), (1371410022,), (1371410050,), (1371410308,), (1371410317,), (1371410324,), (1371410338,), (1371410343,), (1371410351,), (1371410712,), (1371410714,), (1371410716,), (1371410718,), (1371410719,), (1371410724,), (1371411064,), (1371411074,), (1371411078,), (1371411095,), (1371411098,), (1371411101,), (1371411172,), (1371383874,), (1371383875,), (1371383878,), (1371384034,), (1371384060,), (1371384067,), (1371384069,), (1371384072,), (1371384076,), (1371384171,), (1371384174,), (1371384178,), (1371384180,), (1371384181,), (1371384189,), (1371384291,), (1371384298,), (1371384302,), (1371384310,), (1371384311,), (1371384313,), (1371384440,), (1371384445,), (1371384447,), (1371384451,), (1371384454,), (1371384455,), (1371384646,), (1371384655,), (1371384657,), (1371384661,), (1371384665,), (1371384673,), (1371384772,), (1371384783,), (1371384788,), (1371384791,), (1371384792,), (1371384794,), (1371385393,), (1371385462,), (1371385500,), (1371385536,), (1371385595,), (1371385635,), (1371386339,), (1371386388,), (1371386450,), (1371386467,), (1371386469,), (1371386476,), (1371388234,), (1371388271,), (1371388305,), (1371388360,), (1371388431,), (1371388484,), (1371389920,), (1371390015,), (1371390113,), (1371390207,), (1371390321,), (1371390361,), (1371392641,), (1371392781,), (1371392972,), (1371393153,), (1371393260,), (1371393374,), (1371396597,), (1371396672,), (1371396769,), (1371396857,), (1371396874,), (1371396875,), (1371398479,), (1371398530,), (1371398601,), (1371398681,), (1371398777,), (1371398892,), (1371401517,), (1371401519,), (1371401522,), (1371401559,), (1371401585,), (1371401587,), (1371403201,), (1371403280,), (1371411405,), (1371411408,), (1371411412,), (1371411417,), (1371411420,), (1371411424,), (1371411449,), (1371411450,), (1371411454,), (1371411455,), (1371411457,), (1371411459,), (1371411468,), (1371411469,), (1371411476,), (1371411477,), (1371411481,), (1371411482,), (1371411489,), (1371411491,), (1371411507,), (1371411534,), (1371411559,), (1371411584,), (1371411847,), (1371411851,), (1371411854,), (1371411857,), (1371411861,), (1371411864,), (1371411889,), (1371411890,), (1371411893,), (1371411894,), (1371411897,), (1371411898,), (1371411900,), (1371411902,), (1371411904,), (1371411905,), (1371411908,), (1371411909,), (1371411928,), (1371411929,), (1371411931,), (1371411933,), (1371411935,), (1371411937,), (1371411976,), (1371411980,), (1371411982,), (1371411983,), (1371411990,), (1371411992,), (1371412013,), (1371412016,), (1371412019,), (1371412023,), (1371412026,), (1371412029,), (1371412073,), (1371412076,), (1371412078,), (1371412081,), (1371412083,), (1371412085,), (1371412101,), (1371412105,), (1371412108,), (1371412111,), (1371412120,), (1371412123,), (1371412168,), (1371412170,), (1371412172,), (1371412191,), (1371412195,), (1371412198,), (1371412282,), (1371412297,), (1371412324,), (1371412350,), (1371412383,), (1371412414,), (1371412538,), (1371412539,), (1371412543,), (1371412545,), (1371412548,), (1371412549,), (1371412554,), (1371412555,), (1371412558,), (1371412559,), (1371412562,), (1371412564,), (1371412645,), (1371412673,), (1371412681,), (1371412684,), (1371412692,), (1371412696,), (1371412737,), (1371412739,), (1371412746,), (1371412749,), (1371412758,), (1371412762,), (1371412810,), (1371412821,), (1371412829,), (1371412836,), (1371412840,), (1371412843,), (1371412845,), (1371412849,), (1371412852,), (1371412855,), (1371412866,), (1371412871,), (1371412912,), (1371412916,), (1371412922,), (1371412926,), (1371412930,), (1371412934,), (1371412985,), (1371412989,), (1371412992,), (1371413002,), (1371413006,), (1371413009,), (1371413045,), (1371413046,), (1371413050,), (1371413051,), (1371413058,), (1371413059,), (1371413062,), (1371413063,), (1371413067,), (1371413068,), (1371413070,), (1371413072,), (1371413078,), (1371413081,), (1371413084,), (1371413087,), (1371413091,), (1371413095,), (1371413343,), (1371413371,), (1371413398,), (1371413401,), (1371413412,), (1371413417,), (1371413543,), (1371413568,), (1371413594,), (1371413621,), (1371413645,), (1371413688,), (1371413778,), (1371413798,), (1371413800,), (1371413807,), (1371413810,), (1371413817,), (1371413847,), (1371413849,), (1371413852,), (1371413854,), (1371413858,), (1371413862,), (1371413956,), (1371413959,), (1371413961,), (1371413963,), (1371413977,), (1371414003,), (1371414032,), (1371414034,), (1371414036,), (1371414037,), (1371414039,), (1371414040,), (1371414162,), (1371414200,), (1371414246,), (1371414293,), (1371414337,), (1371414385,), (1371415415,), (1371415493,), (1371415568,), (1371415642,), (1371415679,), (1371415705,), (1371415843,), (1371415880,), (1371415913,), (1371415961,), (1371416020,), (1371416207,), (1371416232,), (1371416260,), (1371416287,), (1371416310,), (1371416312,), (1371416392,), (1371416417,), (1371416441,), (1371416467,), (1371416493,), (1371416518,), (1371416629,), (1371416639,), (1371416640,), (1371416665,), (1371416668,), (1371416670,), (1371416743,), (1371416746,), (1371416748,), (1371416750,), (1371416753,), (1371416756,), (1371416798,), (1371416800,), (1371416802,), (1371416803,), (1371416807,), (1371416808,), (1371416819,), (1371416823,), (1371416826,), (1371416829,), (1371416832,), (1371416834,), (1371416866,), (1371416867,), (1371416869,), (1371416871,), (1371416873,), (1371416880,), (1371416909,), (1371416915,), (1371416918,), (1371416921,), (1371416927,), (1371416949,), (1371416976,), (1371416977,), (1371416979,), (1371416980,), (1371416981,), (1371416982,), (1371416985,), (1371416986,), (1371416989,), (1371416990,), (1371416994,), (1371416995,), (1371417013,), (1371417017,), (1371417019,), (1371417020,), (1371417021,), (1371417023,), (1371417078,), (1371417080,), (1371417084,), (1371417088,), (1371417090,), (1371417094,), (1371417137,), (1371417141,), (1371417145,), (1371417150,), (1371417156,), (1371417183,), (1371417279,), (1371417305,), (1371417330,), (1371417359,), (1371417387,), (1371417416,), (1371417523,), (1371417524,), (1371417526,), (1371417528,), (1371417531,), (1371417534,), (1371417565,), (1371417570,), (1371417573,), (1371417575,), (1371417579,), (1371417581,), (1371417100,), (1371417101,), (1371417102,), (1371417104,), (1371417107,), (1371417108,), (1371417491,), (1371417500,), (1371417504,), (1371417508,), (1371417511,), (1371417513,), (1371417545,), (1371417546,), (1371417548,), (1371417549,), (1371417551,), (1371417554,), (1371417624,), (1371417631,), (1371417644,), (1371417653,), (1371417655,), (1371417657,), (1371417700,), (1371417713,), (1371417718,), (1371417721,), (1371417725,), (1371417727,), (1371417833,), (1371417834,), (1371417837,), (1371417838,), (1371417840,), (1371417844,), (1371417892,), (1371417894,), (1371417896,), (1371417898,), (1371417900,), (1371417901,), (1371417935,), (1371417944,), (1371417947,), (1371417950,), (1371417952,), (1371417954,), (1371418010,), (1371418014,), (1371418016,), (1371418018,), (1371418020,), (1371418029,), (1371418062,), (1371418065,), (1371418067,), (1371418069,), (1371418072,), (1371418075,), (1371418104,), (1371418106,), (1371418109,), (1371418112,), (1371418114,), (1371418116,), (1371418174,), (1371418179,), (1371418184,), (1371418201,), (1371418216,), (1371418233,), (1371418308,), (1371418310,), (1371418313,), (1371418316,), (1371418319,), (1371418320,), (1371418397,), (1371418405,), (1371418409,), (1371418411,), (1371418413,), (1371418416,), (1371418443,), (1371418447,), (1371418448,), (1371418451,), (1371418453,), (1371418454,), (1371412956,), (1371412958,), (1371412959,), (1371412963,), (1371412973,), (1371413018,), (1371413020,), (1371413022,), (1371413026,), (1371413029,), (1371413032,), (1371413126,), (1371413145,), (1371413177,), (1371413205,), (1371413233,), (1371413257,), (1371413428,), (1371413430,), (1371413433,), (1371413436,), (1371413439,), (1371413448,), (1371413830,), (1371413833,), (1371413837,), (1371413838,), (1371413842,), (1371413844,), (1371413879,), (1371413882,), (1371413883,), (1371413885,), (1371413887,), (1371413888,), (1371414044,), (1371414045,), (1371414049,), (1371414052,), (1371414054,), (1371414070,), (1371414576,), (1371414635,), (1371414686,), (1371414741,), (1371414794,), (1371414844,), (1371416051,), (1371416315,), (1371416318,), (1371416320,), (1371416330,), (1371416336,), (1371416340,), (1371416726,), (1371416728,), (1371416731,), (1371416734,), (1371416736,), (1371416739,), (1371416774,), (1371416778,), (1371416779,), (1371416782,), (1371416785,), (1371416793,), (1371416841,), (1371416843,), (1371416853,), (1371416857,), (1371416858,), (1371416860,), (1371416884,), (1371416886,), (1371416889,), (1371416891,), (1371416893,), (1371416895,), (1371416957,), (1371416959,), (1371416961,), (1371416964,), (1371416968,), (1371416970,), (1371417045,), (1371417053,), (1371417057,), (1371417060,), (1371417063,), (1371417071,), (1371411182,), (1371411189,), (1371411191,), (1371411193,), (1371411195,), (1371411221,), (1371411224,), (1371411226,), (1371411227,), (1371411230,), (1371411232,), (1371411291,), (1371411293,), (1371411296,), (1371411298,), (1371411299,), (1371411301,), (1371411378,), (1371411380,), (1371411382,), (1371411383,), (1371411384,), (1371411385,), (1371411432,), (1371411433,), (1371411435,), (1371411438,), (1371411439,), (1371411441,), (1371411688,), (1371411713,), (1371411739,), (1371411766,), (1371411796,), (1371411821,), (1371411871,), (1371411872,), (1371411875,), (1371411879,), (1371411880,), (1371411882,), (1371411948,), (1371411950,), (1371411951,), (1371411957,), (1371411963,), (1371411967,), (1371412054,), (1371412056,), (1371412057,), (1371412059,), (1371412062,), (1371412066,), (1371412130,), (1371412136,), (1371412144,), (1371412152,), (1371412159,), (1371412161,), (1371412251,), (1371412255,), (1371412259,), (1371412265,), (1371412269,), (1371412273,), (1371412447,), (1371412453,), (1371412479,), (1371412490,), (1371412498,), (1371412500,), (1371412710,), (1371412718,), (1371412723,), (1371412724,), (1371412725,), (1371412726,), (1371412768,), (1371412771,), (1371412772,), (1371412775,), (1371412777,), (1371412780,), (1371412883,), (1371412886,), (1371412888,), (1371412889,), (1371412890,), (1371412892,), (1371412954,), (1371417590,), (1371417591,), (1371417593,), (1371417594,), (1371417600,), (1371417602,), (1371417665,), (1371417667,), (1371417669,), (1371417671,), (1371417673,), (1371417675,), (1371417732,), (1371417733,), (1371417737,), (1371417739,), (1371417743,), (1371417746,), (1371417757,), (1371417785,), (1371417810,), (1371417819,), (1371417820,), (1371417822,), (1371417868,), (1371417871,), (1371417873,), (1371417875,), (1371417878,), (1371417881,), (1371417911,), (1371417913,), (1371417916,), (1371417919,), (1371417921,), (1371417924,), (1371417958,), (1371417959,), (1371417963,), (1371417964,), (1371417970,), (1371417971,), (1371417974,), (1371417975,), (1371417978,), (1371417979,), (1371417983,), (1371417984,), (1371417993,), (1371417997,), (1371417999,), (1371418002,), (1371418004,), (1371418006,), (1371418042,), (1371418044,), (1371418046,), (1371418048,), (1371418050,), (1371418052,), (1371418082,), (1371418084,), (1371418085,), (1371418087,), (1371418089,), (1371418091,), (1371418122,), (1371418125,), (1371418128,), (1371418130,), (1371418134,), (1371418137,), (1371418141,), (1371418142,), (1371418144,), (1371418148,), (1371418150,), (1371418152,), (1371418264,), (1371418270,), (1371418272,), (1371418290,), (1371418292,), (1371418294,), (1371418326,), (1371418329,), (1371418332,), (1371418336,), (1371418338,), (1371418341,), (1371418344,), (1371418346,), (1371418350,), (1371418356,), (1371418371,), (1371418379,), (1371418423,), (1371418425,), (1371418428,), (1371418431,), (1371418433,), (1371418436,), (1371418459,), (1371418462,), (1371418482,), (1371418512,), (1371418562,), (1371418617,), (1371418870,), (1371418921,), (1371418964,), (1371418991,), (1371419012,), (1371419014,), (1371419329,), (1371419384,), (1371419426,), (1371419433,), (1371419436,), (1371419440,), (1371419545,), (1371419552,), (1371419556,), (1371419558,), (1371419560,), (1371419561,), (1371419575,), (1371419578,), (1371419580,), (1371419582,), (1371419584,), (1371419587,), (1371419624,), (1371419626,), (1371419628,), (1371419632,), (1371419635,), (1371419639,), (1371419675,), (1371419677,), (1371419681,), (1371419683,), (1371419690,), (1371419699,), (1371419748,), (1371419749,), (1371419759,), (1371419760,), (1371419762,), (1371419763,), (1371419767,), (1371419768,), (1371419771,), (1371419772,), (1371419774,), (1371419776,), (1371419790,), (1371419791,), (1371419792,), (1371419794,), (1371419797,), (1371419800,), (1371419838,), (1371419840,), (1371419844,), (1371419849,), (1371419852,), (1371419855,), (1371419896,), (1371419897,), (1371419901,), (1371419902,), (1371419905,), (1371419906,), (1371419910,), (1371419911,), (1371419914,), (1371419915,), (1371419917,), (1371419918,), (1371419936,), (1371419938,), (1371419939,), (1371419940,), (1371419942,), (1371419945,), (1371419991,), (1371419993,), (1371419996,), (1371419998,), (1371420001,), (1371420004,), (1371420035,), (1371420039,), (1371420042,), (1371420046,), (1371420050,), (1371420053,), (1371420069,), (1371420070,), (1371420072,), (1371420073,), (1371420074,), (1371420076,), (1371420128,), (1371420129,), (1371420132,), (1371420135,), (1371420138,), (1371420140,), (1371420380,), (1371420407,), (1371420432,), (1371420460,), (1371420485,), (1371420501,), (1371420702,), (1371420718,), (1371420720,), (1371420722,), (1371420737,), (1371420763,), (1371420792,), (1371420795,), (1371420797,), (1371420799,), (1371420811,), (1371420838,), (1371420989,), (1371420993,), (1371420997,), (1371421001,), (1371421004,), (1371421007,), (1371421035,), (1371421038,), (1371421041,), (1371421047,), (1371421056,), (1371421059,), (1371421064,), (1371421066,), (1371421068,), (1371421070,), (1371421072,), (1371421081,), (1371421113,), (1371421115,), (1371421118,), (1371421120,), (1371421123,), (1371421131,), (1371421181,), (1371421182,), (1371421184,), (1371421185,), (1371421187,), (1371421188,), (1371421189,), (1371421190,), (1371421191,), (1371421193,), (1371421194,), (1371421195,), (1371421206,), (1371421209,), (1371421210,), (1371421213,), (1371421215,), (1371421217,), (1371421320,), (1371421345,), (1371421370,), (1371421399,), (1371421424,), (1371421451,), (1371421789,), (1371421844,), (1371421906,), (1371421951,), (1371421983,), (1371422024,), (1371422343,), (1371422347,), (1371422380,), (1371422421,), (1371422470,), (1371422517,), (1371422634,), (1371422658,), (1371422683,), (1371422707,), (1371422732,), (1371421103,), (1371421145,), (1371421148,), (1371421158,), (1371421161,), (1371421165,), (1371421167,), (1371421224,), (1371421229,), (1371421235,), (1371421237,), (1371421239,), (1371421242,), (1371421546,), (1371421571,), (1371421600,), (1371421625,), (1371421654,), (1371421682,), (1371422757,), (1371423112,), (1371423137,), (1371423167,), (1371423194,), (1371423226,), (1371423255,), (1371423874,), (1371423903,), (1371423927,), (1371423969,), (1371424016,), (1371424069,), (1371424267,), (1371424269,), (1371424270,), (1371424272,), (1371424276,), (1371424279,), (1371424327,), (1371424329,), (1371424333,), (1371424335,), (1371424336,), (1371424338,), (1371424367,), (1371424369,), (1371424375,), (1371424399,), (1371424416,), (1371424426,), (1371424547,), (1371424549,), (1371424560,), (1371424584,), (1371424608,), (1371424616,), (1371424819,), (1371424822,), (1371424824,), (1371424826,), (1371424828,), (1371424829,), (1371425059,), (1371425087,), (1371425114,), (1371425118,), (1371425120,), (1371425128,), (1371425195,), (1371425203,), (1371425205,), (1371425208,), (1371425211,), (1371425216,), (1371425287,), (1371425288,), (1371425290,), (1371425291,), (1371425293,), (1371425302,), (1371425345,), (1371425350,), (1371425353,), (1371425364,), (1371425367,), (1371425370,), (1371425627,), (1371425630,), (1371425635,), (1371425650,), (1371419088,), (1371419101,), (1371419140,), (1371419197,), (1371419244,), (1371419269,), (1371419524,), (1371419526,), (1371419528,), (1371419533,), (1371419535,), (1371419538,), (1371419602,), (1371419610,), (1371419614,), (1371419617,), (1371419618,), (1371419620,), (1371419645,), (1371419647,), (1371419650,), (1371419653,), (1371419662,), (1371419664,), (1371419710,), (1371419732,), (1371419734,), (1371419738,), (1371419740,), (1371419741,), (1371419818,), (1371419822,), (1371419825,), (1371419827,), (1371419829,), (1371419830,), (1371419864,), (1371419871,), (1371419875,), (1371419877,), (1371419886,), (1371419887,), (1371419956,), (1371419960,), (1371419964,), (1371419966,), (1371419968,), (1371419981,), (1371420020,), (1371420022,), (1371420023,), (1371420024,), (1371420026,), (1371420028,), (1371420091,), (1371420101,), (1371420113,), (1371420116,), (1371420118,), (1371420119,), (1371420150,), (1371420164,), (1371420195,), (1371420218,), (1371420246,), (1371420278,), (1371420526,), (1371420529,), (1371420532,), (1371420554,), (1371420578,), (1371420603,), (1371420940,), (1371420958,), (1371420970,), (1371420972,), (1371420974,), (1371420976,), (1371421013,), (1371421014,), (1371421022,), (1371421025,), (1371421026,), (1371421028,), (1371421089,), (1371421092,), (1371421094,), (1371421096,), (1371421098,), (1371422867,), (1371422893,), (1371422919,), (1371422944,), (1371422967,), (1371422993,), (1371423406,), (1371423456,), (1371423504,), (1371423551,), (1371423578,), (1371423607,), (1371423648,), (1371423651,), (1371423668,), (1371423694,), (1371423719,), (1371423747,), (1371424141,), (1371424147,), (1371424175,), (1371424192,), (1371424194,), (1371424201,), (1371424284,), (1371424287,), (1371424290,), (1371424292,), (1371424295,), (1371424298,), (1371424308,), (1371424311,), (1371424314,), (1371424315,), (1371424318,), (1371424321,), (1371424343,), (1371424345,), (1371424348,), (1371424351,), (1371424354,), (1371424359,), (1371424449,), (1371424452,), (1371424455,), (1371424457,), (1371424461,), (1371424463,), (1371424641,), (1371424642,), (1371424646,), (1371424647,), (1371424653,), (1371424659,), (1371424683,), (1371424689,), (1371424693,), (1371424694,), (1371424697,), (1371424699,), (1371424716,), (1371424717,), (1371424736,), (1371424753,), (1371424776,), (1371424784,), (1371424912,), (1371424938,), (1371424956,), (1371424983,), (1371425007,), (1371425018,), (1371425156,), (1371425158,), (1371425161,), (1371425164,), (1371425170,), (1371425174,), (1371425222,), (1371425223,), (1371425226,), (1371425227,), (1371425230,), (1371425231,), (1371425236,), (1371425237,), (1371425239,), (1371425240,), (1371425243,), (1371425245,), (1371425259,), (1371425262,), (1371425264,), (1371425265,), (1371425274,), (1371425275,), (1371425312,), (1371425314,), (1371425319,), (1371425322,), (1371425332,), (1371425337,), (1371425427,), (1371425431,), (1371425435,), (1371425439,), (1371425456,), (1371425464,), (1371425497,), (1371425522,), (1371425550,), (1371425575,), (1371425578,), (1371425579,), (1371425691,), (1371425692,), (1371425694,), (1371425700,), (1371425728,), (1371425759,), (1371425848,), (1371425851,), (1371425854,), (1371425856,), (1371425859,), (1371425861,), (1371425889,), (1371425891,), (1371425894,), (1371425895,), (1371425898,), (1371425900,), (1371425905,), (1371425908,), (1371425921,), (1371425922,), (1371425925,), (1371425926,), (1371425961,), (1371425989,), (1371426025,), (1371426063,), (1371426112,), (1371426147,), (1371426370,), (1371426372,), (1371426375,), (1371426378,), (1371426380,), (1371426383,), (1371426422,), (1371426425,), (1371426428,), (1371426430,), (1371426439,), (1371426443,), (1371426456,), (1371426459,), (1371426460,), (1371426462,), (1371426464,), (1371426467,), (1371426514,), (1371426520,), (1371426523,), (1371426528,), (1371426532,), (1371426534,), (1371426572,), (1371426574,), (1371426580,), (1371426582,), (1371426585,), (1371426588,), (1371426606,), (1371426610,), (1371426613,), (1371426615,), (1371426617,), (1371426619,), (1371426665,), (1371426667,), (1371426669,), (1371426671,), (1371426673,), (1371426675,), (1371426700,), (1371426701,), (1371426703,), (1371426704,), (1371426706,), (1371426707,), (1371426709,), (1371426710,), (1371426712,), (1371426713,), (1371426734,), (1371426735,), (1371426737,), (1371426739,), (1371426740,), (1371426742,), (1371426744,), (1371426746,), (1371426757,), (1371426759,), (1371426761,), (1371426763,), (1371426765,), (1371426767,), (1371426781,), (1371426783,), (1371426785,), (1371426786,), (1371426788,), (1371426789,), (1371426790,), (1371426791,), (1371426793,), (1371426794,), (1371426795,), (1371426797,), (1371426818,), (1371426819,), (1371426821,), (1371426823,), (1371426825,), (1371426827,), (1371426838,), (1371426841,), (1371426842,), (1371426844,), (1371426846,), (1371426848,), (1371426862,), (1371426863,), (1371426865,), (1371426866,), (1371426868,), (1371426869,), (1371426871,), (1371426872,), (1371426873,), (1371426874,), (1371426875,), (1371426876,), (1371426878,), (1371426880,), (1371426881,), (1371426883,), (1371426885,), (1371426886,), (1371426902,), (1371426904,), (1371426906,), (1371426908,), (1371426910,), (1371426912,), (1371426925,), (1371426927,), (1371426929,), (1371426931,), (1371426933,), (1371426935,), (1371426937,), (1371426939,), (1371426940,), (1371426941,), (1371426943,), (1371426945,), (1371426956,), (1371426957,), (1371426959,), (1371426961,), (1371426963,), (1371426965,), (1371426979,), (1371426981,), (1371426983,), (1371426985,), (1371426987,), (1371426989,), (1371427002,), (1371427004,), (1371427006,), (1371427008,), (1371427010,), (1371427011,), (1371427012,), (1371427014,), (1371427015,), (1371427017,), (1371427019,), (1371427021,), (1371427033,), (1371427035,), (1371427037,), (1371427039,), (1371427041,), (1371427043,), (1371427057,), (1371427059,), (1371427061,), (1371427063,), (1371427065,), (1371427066,), (1371427067,), (1371427068,), (1371427070,), (1371427071,), (1371427072,), (1371427075,), (1371427096,), (1371427099,), (1371427109,), (1371427111,), (1371427113,), (1371427127,), (1371427138,), (1371427140,), (1371427142,), (1371427144,), (1371427146,), (1371427149,), (1371427162,), (1371427163,), (1371427165,), (1371427166,), (1371427167,), (1371427168,), (1371427171,), (1371427172,), (1371427174,), (1371427175,), (1371427176,), (1371427177,), (1371427178,), (1371427180,), (1371427181,), (1371427183,), (1371427185,), (1371427187,), (1371427201,), (1371427203,), (1371427205,), (1371427207,), (1371427209,), (1371427211,), (1371427214,), (1371427222,), (1371427224,), (1371427226,), (1371427228,), (1371427230,), (1371427252,), (1371427253,), (1371427256,), (1371427257,), (1371427260,), (1371427261,), (1371427262,), (1371427263,), (1371427281,), (1371427282,), (1371427288,), (1371427289,), (1371427314,), (1371427316,), (1371427317,), (1371427336,), (1371427338,), (1371427340,), (1371427354,), (1371427355,), (1371427357,), (1371427359,), (1371427361,), (1371427363,), (1371427372,), (1371427374,), (1371427376,), (1371427378,), (1371427380,), (1371427383,), (1371427395,), (1371427397,), (1371427399,), (1371427401,), (1371427403,), (1371427404,), (1371427411,), (1371427413,), (1371427415,), (1371427417,), (1371427419,), (1371427421,), (1371427423,), (1371427424,), (1371427426,), (1371427429,), (1371427431,), (1371427438,), (1371427439,), (1371427440,), (1371427441,), (1371427442,), (1371427443,), (1371427720,), (1371427724,), (1371427751,), (1371427764,), (1371427766,), (1371427768,), (1371427783,), (1371427785,), (1371427787,), (1371427789,), (1371427790,), (1371427791,), (1371427792,), (1371427794,), (1371427796,), (1371427797,), (1371427799,), (1371427801,), (1371427815,), (1371427817,), (1371427818,), (1371427820,), (1371427822,), (1371427824,), (1371427837,), (1371427839,), (1371427841,), (1371427843,), (1371427845,), (1371427847,), (1371427861,), (1371427863,), (1371427865,), (1371427885,), (1371427969,), (1371428052,), (1371428223,), (1371428224,), (1371428225,), (1371428226,), (1371428272,), (1371428344,), (1371428398,), (1371428399,), (1371428401,), (1371428403,), (1371428405,), (1371428407,), (1371428417,), (1371428419,), (1371428421,), (1371428423,), (1371428426,), (1371428428,), (1371428443,), (1371428444,), (1371428446,), (1371428447,), (1371428449,), (1371428450,), (1371428452,), (1371428453,), (1371428454,), (1371428455,), (1371428456,), (1371428457,), (1371428682,), (1371428684,), (1371428686,), (1371428757,), (1371428771,), (1371428785,), (1371428799,), (1371428801,), (1371428803,), (1371428805,), (1371428806,), (1371428807,), (1371428808,), (1371428810,), (1371428811,), (1371428812,), (1371428814,), (1371428816,), (1371428829,), (1371428830,), (1371428832,), (1371428834,), (1371428838,), (1371428840,), (1371427409,), (1371427410,), (1371427433,), (1371427448,), (1371427451,), (1371427453,), (1371427455,), (1371427488,), (1371427577,), (1371427773,), (1371427774,), (1371427775,), (1371427776,), (1371427778,), (1371427779,), (1371427805,), (1371427807,), (1371427808,), (1371427810,), (1371427811,), (1371427812,), (1371427828,), (1371427829,), (1371427830,), (1371427831,), (1371427832,), (1371427833,), (1371427851,), (1371427852,), (1371427854,), (1371427855,), (1371427856,), (1371427857,), (1371428389,), (1371428391,), (1371428393,), (1371428395,), (1371428396,), (1371428397,), (1371428411,), (1371428412,), (1371428413,), (1371428414,), (1371428415,), (1371428416,), (1371428431,), (1371428432,), (1371428434,), (1371428436,), (1371428437,), (1371428439,), (1371428789,), (1371428790,), (1371428791,), (1371428793,), (1371428794,), (1371428795,), (1371428821,), (1371428822,), (1371428824,), (1371428826,), (1371428827,), (1371428828,), (1371428843,), (1371428844,), (1371428845,), (1371428846,), (1371428847,), (1371428848,), (1371428863,), (1371428864,), (1371428865,), (1371428866,), (1371428867,), (1371428868,), (1371428901,), (1371428903,), (1371428905,), (1371428906,), (1371428907,), (1371428908,), (1371428922,), (1371428923,), (1371428924,), (1371428925,), (1371428926,), (1371428927,), (1371428966,), (1371428968,), (1371426919,), (1371426921,), (1371426949,), (1371426951,), (1371426952,), (1371426953,), (1371426954,), (1371426955,), (1371426970,), (1371426971,), (1371426972,), (1371426973,), (1371426974,), (1371426975,), (1371426991,), (1371426992,), (1371426993,), (1371426994,), (1371426996,), (1371426997,), (1371427026,), (1371427027,), (1371427028,), (1371427029,), (1371427030,), (1371427031,), (1371427047,), (1371427048,), (1371427049,), (1371427050,), (1371427051,), (1371427053,), (1371427079,), (1371427081,), (1371427083,), (1371427085,), (1371427086,), (1371427087,), (1371427130,), (1371427131,), (1371427132,), (1371427133,), (1371427134,), (1371427136,), (1371427151,), (1371427152,), (1371427154,), (1371427155,), (1371427156,), (1371427157,), (1371427191,), (1371427193,), (1371427195,), (1371427196,), (1371427197,), (1371427198,), (1371427215,), (1371427216,), (1371427217,), (1371427218,), (1371427219,), (1371427232,), (1371427234,), (1371427235,), (1371427236,), (1371427237,), (1371427238,), (1371427240,), (1371427345,), (1371427347,), (1371427349,), (1371427350,), (1371427351,), (1371427352,), (1371427366,), (1371427367,), (1371427368,), (1371427369,), (1371427370,), (1371427371,), (1371427386,), (1371427387,), (1371427388,), (1371427389,), (1371427390,), (1371427391,), (1371427405,), (1371427406,), (1371427407,), (1371427408,), (1371425668,), (1371425678,), (1371425823,), (1371425830,), (1371425834,), (1371425837,), (1371425838,), (1371425841,), (1371425869,), (1371425871,), (1371425872,), (1371425873,), (1371425875,), (1371425882,), (1371426240,), (1371426288,), (1371426318,), (1371426346,), (1371426353,), (1371426358,), (1371426401,), (1371426403,), (1371426405,), (1371426407,), (1371426409,), (1371426410,), (1371426473,), (1371426476,), (1371426479,), (1371426480,), (1371426483,), (1371426493,), (1371426545,), (1371426550,), (1371426554,), (1371426556,), (1371426559,), (1371426562,), (1371426632,), (1371426637,), (1371426644,), (1371426652,), (1371426656,), (1371426660,), (1371426676,), (1371426678,), (1371426679,), (1371426680,), (1371426681,), (1371426683,), (1371426750,), (1371426752,), (1371426753,), (1371426754,), (1371426755,), (1371426756,), (1371426771,), (1371426772,), (1371426773,), (1371426774,), (1371426776,), (1371426777,), (1371426803,), (1371426805,), (1371426808,), (1371426811,), (1371426814,), (1371426815,), (1371426830,), (1371426831,), (1371426832,), (1371426833,), (1371426834,), (1371426835,), (1371426851,), (1371426852,), (1371426853,), (1371426854,), (1371426856,), (1371426857,), (1371426891,), (1371426892,), (1371426894,), (1371426895,), (1371426896,), (1371426897,), (1371426915,), (1371426916,), (1371426917,), (1371426918,), (1371428850,), (1371428853,), (1371428855,), (1371428857,), (1371428859,), (1371428860,), (1371428873,), (1371428874,), (1371428876,), (1371428877,), (1371428878,), (1371428880,), (1371428881,), (1371428882,), (1371428884,), (1371428885,), (1371428886,), (1371428887,), (1371428888,), (1371428890,), (1371428891,), (1371428893,), (1371428895,), (1371428897,), (1371428909,), (1371428912,), (1371428914,), (1371428916,), (1371428918,), (1371428920,), (1371428933,), (1371428934,), (1371428936,), (1371428937,), (1371428941,), (1371428942,), (1371428946,), (1371428947,), (1371428950,), (1371428951,), (1371428953,), (1371428954,), (1371428955,), (1371428956,), (1371428957,), (1371428959,), (1371428960,), (1371428962,), (1371428975,), (1371428976,), (1371428978,), (1371428980,), (1371428982,), (1371428984,), (1371428997,), (1371428999,), (1371429001,), (1371429003,), (1371429005,), (1371429006,), (1371429017,), (1371429019,), (1371429021,), (1371429023,), (1371429025,), (1371429026,), (1371429027,), (1371429028,), (1371429029,), (1371429031,), (1371429033,), (1371429035,), (1371429047,), (1371429049,), (1371429051,), (1371429053,), (1371429055,), (1371429057,), (1371429070,), (1371429072,), (1371429074,), (1371429076,), (1371429078,), (1371429079,), (1371429080,), (1371429081,), (1371429082,), (1371429083,), (1371429085,), (1371429087,), (1371429108,), (1371429109,), (1371429111,), (1371429113,), (1371429127,), (1371429138,), (1371429180,), (1371429182,), (1371429184,), (1371429186,), (1371429187,), (1371429189,), (1371429201,), (1371429203,), (1371429204,), (1371429206,), (1371429207,), (1371429209,), (1371429215,), (1371429216,), (1371429219,), (1371429220,), (1371429221,), (1371429222,), (1371429223,), (1371429224,), (1371429225,), (1371429227,), (1371429229,), (1371429231,), (1371429244,), (1371429246,), (1371429248,), (1371429250,), (1371429252,), (1371429254,), (1371429267,), (1371429269,), (1371429271,), (1371429272,), (1371429275,), (1371429277,), (1371429279,), (1371429282,), (1371429284,), (1371429287,), (1371429290,), (1371429292,), (1371429304,), (1371429306,), (1371429308,), (1371429310,), (1371429313,), (1371429315,), (1371429329,), (1371429330,), (1371429332,), (1371429334,), (1371429337,), (1371429338,), (1371429339,), (1371429340,), (1371429341,), (1371429342,), (1371429344,), (1371429346,), (1371429362,), (1371429363,), (1371429365,), (1371429367,), (1371429369,), (1371429371,), (1371429383,), (1371429385,), (1371429387,), (1371429389,), (1371429391,), (1371429392,), (1371429406,), (1371429407,), (1371429409,), (1371429410,), (1371429412,), (1371429414,), (1371429416,), (1371429417,), (1371429418,), (1371429419,), (1371429420,), (1371429421,), (1371429422,), (1371429424,), (1371429425,), (1371429427,), (1371429429,), (1371429430,), (1371429471,), (1371429476,), (1371429478,), (1371429480,), (1371429482,), (1371429484,), (1371429496,), (1371429498,), (1371429500,), (1371429502,), (1371429503,), (1371429504,), (1371429505,), (1371429507,), (1371429508,), (1371429509,), (1371429510,), (1371429512,), (1371429526,), (1371429527,), (1371429529,), (1371429530,), (1371429532,), (1371429540,), (1371429554,), (1371429555,), (1371429557,), (1371429559,), (1371429561,), (1371429563,), (1371429574,), (1371429577,), (1371429579,), (1371429581,), (1371429583,), (1371429584,), (1371429585,), (1371429586,), (1371429587,), (1371429588,), (1371429590,), (1371429592,), (1371429607,), (1371429608,), (1371429610,), (1371429612,), (1371429614,), (1371429616,), (1371429627,), (1371429629,), (1371429632,), (1371429634,), (1371429636,), (1371429638,), (1371429650,), (1371429651,), (1371429653,), (1371429654,), (1371429656,), (1371429657,), (1371429659,), (1371429660,), (1371429661,), (1371429662,), (1371429663,), (1371429664,), (1371429666,), (1371429667,), (1371429668,), (1371429670,), (1371429672,), (1371429673,), (1371429687,), (1371429688,), (1371429690,), (1371429693,), (1371429695,), (1371429696,), (1371429722,), (1371429744,), (1371429746,), (1371429748,), (1371429749,), (1371429750,), (1371429752,), (1371429753,), (1371429754,), (1371429755,), (1371429757,), (1371429759,), (1371429773,), (1371429774,), (1371429776,), (1371429778,), (1371429780,), (1371429782,), (1371429793,), (1371429795,), (1371429797,), (1371429799,), (1371429801,), (1371429803,), (1371429812,), (1371429813,), (1371429814,), (1371429815,), (1371429817,), (1371429819,), (1371429837,), (1371429838,), (1371429840,), (1371429842,), (1371429844,), (1371429871,), (1371429872,), (1371429873,), (1371429875,), (1371429877,), (1371429880,), (1371429895,), (1371429897,), (1371429899,), (1371429901,), (1371429902,), (1371429903,), (1371429904,), (1371429906,), (1371429907,), (1371429909,), (1371429911,), (1371429913,), (1371429926,), (1371429929,), (1371429931,), (1371429933,), (1371429935,), (1371429937,), (1371429949,), (1371429951,), (1371429953,), (1371429955,), (1371429957,), (1371429959,), (1371429960,), (1371429961,), (1371429963,), (1371429964,), (1371429966,), (1371429968,), (1371429980,), (1371429981,), (1371429983,), (1371429985,), (1371429987,), (1371429989,), (1371430002,), (1371430004,), (1371430006,), (1371430008,), (1371430010,), (1371430011,), (1371430024,), (1371430026,), (1371430028,), (1371430030,), (1371430032,), (1371430033,), (1371430035,), (1371430037,), (1371430038,), (1371430039,), (1371430041,), (1371430043,), (1371430056,), (1371430058,), (1371430060,), (1371430062,), (1371430064,), (1371430067,), (1371430079,), (1371430081,), (1371430083,), (1371430085,), (1371430086,), (1371430087,), (1371430088,), (1371430089,), (1371430090,), (1371430091,), (1371430093,), (1371430095,), (1371430108,), (1371430109,), (1371430111,), (1371430113,), (1371430115,), (1371430117,), (1371429885,), (1371429886,), (1371429887,), (1371429889,), (1371429890,), (1371429917,), (1371429919,), (1371429921,), (1371429922,), (1371429923,), (1371429924,), (1371429939,), (1371429940,), (1371429942,), (1371429943,), (1371429944,), (1371429945,), (1371429973,), (1371429974,), (1371429976,), (1371429977,), (1371429978,), (1371429979,), (1371429994,), (1371429995,), (1371429996,), (1371429997,), (1371429998,), (1371429999,), (1371430013,), (1371430014,), (1371430015,), (1371430017,), (1371430018,), (1371430019,), (1371430048,), (1371430050,), (1371430051,), (1371430052,), (1371430053,), (1371430054,), (1371430070,), (1371430071,), (1371430072,), (1371430073,), (1371430074,), (1371430075,), (1371430100,), (1371430101,), (1371430102,), (1371430103,), (1371430104,), (1371430105,), (1371430121,), (1371430122,), (1371430123,), (1371430124,), (1371430125,), (1371430126,), (1371430140,), (1371430141,), (1371430142,), (1371430143,), (1371430144,), (1371430145,), (1371430174,), (1371430177,), (1371430180,), (1371430182,), (1371430183,), (1371430184,), (1371430197,), (1371430198,), (1371430199,), (1371430200,), (1371430201,), (1371430202,), (1371430231,), (1371430232,), (1371430234,), (1371430235,), (1371430236,), (1371430237,), (1371430253,), (1371430254,), (1371430255,), (1371430256,), (1371430258,), (1371430259,), (1371429441,), (1371429443,), (1371429444,), (1371429450,), (1371429486,), (1371429487,), (1371429488,), (1371429489,), (1371429491,), (1371429492,), (1371429517,), (1371429519,), (1371429521,), (1371429522,), (1371429523,), (1371429524,), (1371429546,), (1371429547,), (1371429548,), (1371429549,), (1371429550,), (1371429551,), (1371429565,), (1371429566,), (1371429567,), (1371429568,), (1371429569,), (1371429570,), (1371429596,), (1371429598,), (1371429600,), (1371429601,), (1371429602,), (1371429603,), (1371429619,), (1371429620,), (1371429621,), (1371429622,), (1371429623,), (1371429624,), (1371429639,), (1371429640,), (1371429641,), (1371429643,), (1371429644,), (1371429645,), (1371429678,), (1371429680,), (1371429681,), (1371429682,), (1371429683,), (1371429684,), (1371429697,), (1371429698,), (1371429699,), (1371429701,), (1371429702,), (1371429706,), (1371429763,), (1371429765,), (1371429766,), (1371429768,), (1371429769,), (1371429770,), (1371429786,), (1371429787,), (1371429788,), (1371429789,), (1371429790,), (1371429791,), (1371429806,), (1371429807,), (1371429808,), (1371429809,), (1371429810,), (1371429811,), (1371429823,), (1371429825,), (1371429827,), (1371429829,), (1371429831,), (1371429832,), (1371429848,), (1371429858,), (1371429860,), (1371429862,), (1371429864,), (1371429866,), (1371429868,), (1371429884,), (1371428970,), (1371428971,), (1371428972,), (1371428973,), (1371428989,), (1371428990,), (1371428991,), (1371428992,), (1371428993,), (1371428994,), (1371429007,), (1371429008,), (1371429009,), (1371429010,), (1371429011,), (1371429012,), (1371429039,), (1371429041,), (1371429042,), (1371429043,), (1371429044,), (1371429045,), (1371429061,), (1371429062,), (1371429063,), (1371429064,), (1371429065,), (1371429066,), (1371429091,), (1371429093,), (1371429095,), (1371429097,), (1371429098,), (1371429099,), (1371429155,), (1371429156,), (1371429174,), (1371429175,), (1371429176,), (1371429177,), (1371429192,), (1371429193,), (1371429194,), (1371429195,), (1371429196,), (1371429197,), (1371429235,), (1371429237,), (1371429239,), (1371429240,), (1371429241,), (1371429242,), (1371429257,), (1371429258,), (1371429259,), (1371429260,), (1371429261,), (1371429263,), (1371429297,), (1371429298,), (1371429299,), (1371429300,), (1371429301,), (1371429302,), (1371429319,), (1371429320,), (1371429321,), (1371429322,), (1371429323,), (1371429325,), (1371429352,), (1371429354,), (1371429356,), (1371429358,), (1371429359,), (1371429360,), (1371429375,), (1371429376,), (1371429377,), (1371429378,), (1371429379,), (1371429380,), (1371429396,), (1371429397,), (1371429398,), (1371429400,), (1371429401,), (1371429402,), (1371429435,), (1371429437,), (1371430128,), (1371430131,), (1371430132,), (1371430134,), (1371430136,), (1371430138,), (1371430150,), (1371430152,), (1371430154,), (1371430156,), (1371430157,), (1371430158,), (1371430159,), (1371430161,), (1371430162,), (1371430163,), (1371430165,), (1371430167,), (1371430185,), (1371430187,), (1371430189,), (1371430190,), (1371430192,), (1371430194,), (1371430205,), (1371430208,), (1371430209,), (1371430211,), (1371430214,), (1371430216,), (1371430218,), (1371430219,), (1371430221,), (1371430222,), (1371430224,), (1371430225,), (1371430239,), (1371430240,), (1371430242,), (1371430244,), (1371430246,), (1371430248,), (1371430262,), (1371430264,), (1371430266,), (1371430269,), (1371430271,), (1371430272,), (1371430284,), (1371430286,), (1371430289,), (1371430293,), (1371430296,), (1371430297,), (1371430299,), (1371430301,), (1371430302,), (1371430304,), (1371430306,), (1371430308,), (1371430320,), (1371430322,), (1371430324,), (1371430326,), (1371430328,), (1371430330,), (1371430345,), (1371430347,), (1371430349,), (1371430351,), (1371430352,), (1371430353,), (1371430363,), (1371430368,), (1371430370,), (1371430374,), (1371430375,), (1371430377,), (1371430420,), (1371430421,), (1371430423,), (1371430425,), (1371430427,), (1371430429,), (1371430440,), (1371430442,), (1371430444,), (1371430446,), (1371430448,), (1371430450,), (1371430462,), (1371430464,), (1371430466,), (1371430468,), (1371430470,), (1371430471,), (1371430472,), (1371430473,), (1371430474,), (1371430475,), (1371430477,), (1371430479,), (1371430492,), (1371430493,), (1371430495,), (1371430497,), (1371430499,), (1371430501,), (1371430512,), (1371430514,), (1371430516,), (1371430518,), (1371430519,), (1371430520,), (1371430530,), (1371430531,), (1371430532,), (1371430533,), (1371430534,), (1371430535,), (1371430537,), (1371430538,), (1371430539,), (1371430540,), (1371430541,), (1371430542,), (1371430544,), (1371430545,), (1371430546,), (1371430547,), (1371430548,), (1371430549,), (1371430558,), (1371430560,), (1371430563,), (1371430564,), (1371430566,), (1371430567,), (1371430578,), (1371430580,), (1371430581,), (1371430582,), (1371430584,), (1371430586,), (1371430588,), (1371430589,), (1371430590,), (1371430592,), (1371430594,), (1371430596,), (1371430606,), (1371430607,), (1371430609,), (1371430611,), (1371430613,), (1371430615,), (1371430627,), (1371430629,), (1371430631,), (1371430632,), (1371430633,), (1371430634,), (1371430666,), (1371430668,), (1371430670,), (1371430672,), (1371430674,), (1371430675,), (1371430676,), (1371430678,), (1371430680,), (1371430682,), (1371430684,), (1371430686,), (1371430697,), (1371430699,), (1371430701,), (1371430703,), (1371430705,), (1371430706,), (1371430718,), (1371430720,), (1371430722,), (1371430723,), (1371430725,), (1371430726,), (1371430727,), (1371430728,), (1371430730,), (1371430731,), (1371430733,), (1371430735,), (1371430761,), (1371430762,), (1371430764,), (1371430766,), (1371430768,), (1371430771,), (1371430782,), (1371430783,), (1371430786,), (1371430788,), (1371430789,), (1371430790,), (1371430804,), (1371430805,), (1371430806,), (1371430807,), (1371430808,), (1371430809,), (1371430811,), (1371430812,), (1371430813,), (1371430814,), (1371430815,), (1371430816,), (1371430817,), (1371430819,), (1371430820,), (1371430822,), (1371430824,), (1371430826,), (1371430843,), (1371430846,), (1371430849,), (1371430851,), (1371430852,), (1371430854,), (1371430867,), (1371430869,), (1371430870,), (1371430872,), (1371430874,), (1371430875,), (1371430876,), (1371430877,), (1371430878,), (1371430879,), (1371430880,), (1371430882,), (1371430894,), (1371430896,), (1371430897,), (1371430899,), (1371430901,), (1371430902,), (1371430915,), (1371430917,), (1371430919,), (1371430921,), (1371430923,), (1371430924,), (1371430935,), (1371430937,), (1371430939,), (1371430941,), (1371430943,), (1371430944,), (1371430957,), (1371430958,), (1371430959,), (1371430960,), (1371430961,), (1371430962,), (1371430964,), (1371430965,), (1371430966,), (1371430967,), (1371430968,), (1371430969,), (1371430971,), (1371430972,), (1371430973,), (1371430975,), (1371430977,), (1371430979,), (1371430992,), (1371430994,), (1371430995,), (1371430996,), (1371430998,), (1371431000,), (1371431004,), (1371431005,), (1371431007,), (1371431009,), (1371431010,), (1371431012,), (1371431013,), (1371431015,), (1371431017,), (1371431019,), (1371431021,), (1371431032,), (1371431034,), (1371431035,), (1371431036,), (1371431037,), (1371431039,), (1371431109,), (1371431111,), (1371431113,), (1371431115,), (1371431117,), (1371431118,), (1371431119,), (1371431121,), (1371431122,), (1371431124,), (1371431126,), (1371431128,), (1371431141,), (1371431143,), (1371431144,), (1371431146,), (1371431147,), (1371431148,), (1371431162,), (1371431163,), (1371431165,), (1371431166,), (1371431167,), (1371431168,), (1371431170,), (1371431171,), (1371431172,), (1371431173,), (1371431174,), (1371431175,), (1371431176,), (1371431177,), (1371431178,), (1371431180,), (1371431182,), (1371431184,), (1371431194,), (1371431196,), (1371431199,), (1371431201,), (1371431202,), (1371431203,), (1371431214,), (1371431216,), (1371431217,), (1371431218,), (1371431220,), (1371431222,), (1371431223,), (1371431225,), (1371431227,), (1371431228,), (1371431230,), (1371431232,), (1371431243,), (1371431244,), (1371431246,), (1371431248,), (1371431250,), (1371431252,), (1371431266,), (1371431268,), (1371431270,), (1371431272,), (1371431273,), (1371431274,), (1371431288,), (1371431293,), (1371431298,), (1371431303,), (1371431307,), (1371431308,), (1371431323,), (1371431337,), (1371431338,), (1371431353,), (1371431355,), (1371431357,), (1371431367,), (1371431370,), (1371431372,), (1371431374,), (1371431375,), (1371431376,), (1371430690,), (1371430691,), (1371430692,), (1371430693,), (1371430694,), (1371430695,), (1371430708,), (1371430709,), (1371430710,), (1371430711,), (1371430712,), (1371430714,), (1371430747,), (1371430755,), (1371430756,), (1371430757,), (1371430758,), (1371430759,), (1371430773,), (1371430774,), (1371430775,), (1371430776,), (1371430777,), (1371430778,), (1371430793,), (1371430794,), (1371430795,), (1371430796,), (1371430798,), (1371430799,), (1371430830,), (1371430833,), (1371430835,), (1371430836,), (1371430837,), (1371430838,), (1371430856,), (1371430857,), (1371430858,), (1371430859,), (1371430861,), (1371430862,), (1371430887,), (1371430888,), (1371430890,), (1371430891,), (1371430892,), (1371430893,), (1371430908,), (1371430910,), (1371430911,), (1371430912,), (1371430913,), (1371430914,), (1371430926,), (1371430927,), (1371430929,), (1371430930,), (1371430931,), (1371430932,), (1371430947,), (1371430948,), (1371430949,), (1371430951,), (1371430952,), (1371430954,), (1371430982,), (1371430983,), (1371430984,), (1371430985,), (1371430986,), (1371430987,), (1371431011,), (1371431024,), (1371431025,), (1371431026,), (1371431027,), (1371431028,), (1371431029,), (1371431040,), (1371431041,), (1371431042,), (1371431044,), (1371431045,), (1371431046,), (1371431132,), (1371431133,), (1371431134,), (1371431135,), (1371431136,), (1371430273,), (1371430274,), (1371430275,), (1371430276,), (1371430278,), (1371430279,), (1371430312,), (1371430314,), (1371430315,), (1371430316,), (1371430317,), (1371430318,), (1371430334,), (1371430335,), (1371430336,), (1371430338,), (1371430339,), (1371430341,), (1371430406,), (1371430410,), (1371430412,), (1371430415,), (1371430417,), (1371430418,), (1371430433,), (1371430434,), (1371430435,), (1371430436,), (1371430437,), (1371430438,), (1371430453,), (1371430454,), (1371430455,), (1371430456,), (1371430457,), (1371430458,), (1371430483,), (1371430486,), (1371430488,), (1371430489,), (1371430490,), (1371430491,), (1371430504,), (1371430505,), (1371430506,), (1371430507,), (1371430508,), (1371430509,), (1371430523,), (1371430524,), (1371430525,), (1371430526,), (1371430527,), (1371430528,), (1371430551,), (1371430553,), (1371430554,), (1371430555,), (1371430556,), (1371430557,), (1371430569,), (1371430570,), (1371430571,), (1371430572,), (1371430573,), (1371430574,), (1371430598,), (1371430599,), (1371430601,), (1371430602,), (1371430603,), (1371430604,), (1371430618,), (1371430619,), (1371430620,), (1371430621,), (1371430622,), (1371430623,), (1371430647,), (1371430651,), (1371430658,), (1371430659,), (1371430660,), (1371430661,), (1371431390,), (1371431392,), (1371431394,), (1371431395,), (1371431397,), (1371431398,), (1371431400,), (1371431401,), (1371431403,), (1371431404,), (1371431406,), (1371431408,), (1371431448,), (1371431449,), (1371431451,), (1371431453,), (1371431455,), (1371431457,), (1371431471,), (1371431473,), (1371431475,), (1371431476,), (1371431477,), (1371431478,), (1371431490,), (1371431491,), (1371431493,), (1371431494,), (1371431495,), (1371431496,), (1371431498,), (1371431499,), (1371431500,), (1371431501,), (1371431502,), (1371431503,), (1371431504,), (1371431506,), (1371431507,), (1371431508,), (1371431509,), (1371431512,), (1371431529,), (1371431531,), (1371431533,), (1371431535,), (1371431537,), (1371431538,), (1371431548,), (1371431550,), (1371431552,), (1371431553,), (1371431555,), (1371431557,), (1371431560,), (1371431561,), (1371431562,), (1371431563,), (1371431565,), (1371431567,), (1371431578,), (1371431579,), (1371431581,), (1371431583,), (1371431585,), (1371431587,), (1371431599,), (1371431601,), (1371431603,), (1371431606,), (1371431608,), (1371431610,), (1371431623,), (1371431624,), (1371431626,), (1371431629,), (1371431632,), (1371431634,), (1371431638,), (1371431640,), (1371431641,), (1371431643,), (1371431645,), (1371431647,), (1371431656,), (1371431658,), (1371431662,), (1371431670,), (1371431675,), (1371431676,), (1371431740,), (1371431742,), (1371431744,), (1371431747,), (1371431749,), (1371431750,), (1371431752,), (1371431753,), (1371431754,), (1371431755,), (1371431757,), (1371431759,), (1371431771,), (1371431772,), (1371431774,), (1371431776,), (1371431777,), (1371431778,), (1371431788,), (1371431790,), (1371431792,), (1371431794,), (1371431796,), (1371431798,), (1371431810,), (1371431811,), (1371431813,), (1371431814,), (1371431815,), (1371431816,), (1371431818,), (1371431819,), (1371431820,), (1371431821,), (1371431822,), (1371431823,), (1371431824,), (1371431826,), (1371431827,), (1371431829,), (1371431831,), (1371431833,), (1371431844,), (1371431846,), (1371431848,), (1371431850,), (1371431852,), (1371431853,), (1371431863,), (1371431865,), (1371431867,), (1371431869,), (1371431870,), (1371431871,), (1371431884,), (1371431886,), (1371431887,), (1371431889,), (1371431890,), (1371431891,), (1371431892,), (1371431894,), (1371431895,), (1371431896,), (1371431898,), (1371431900,), (1371431913,), (1371431915,), (1371431917,), (1371431918,), (1371431920,), (1371431922,), (1371431935,), (1371431937,), (1371431939,), (1371431941,), (1371431943,), (1371431945,), (1371431946,), (1371431952,), (1371431953,), (1371431954,), (1371431956,), (1371431958,), (1371431969,), (1371431970,), (1371431972,), (1371431974,), (1371431976,), (1371431978,), (1371431992,), (1371431995,), (1371431998,), (1371432000,), (1371432002,), (1371432005,), (1371432018,), (1371432019,), (1371432020,), (1371432021,), (1371432022,), (1371432023,), (1371432025,), (1371432026,), (1371432028,), (1371432029,), (1371432030,), (1371432031,), (1371432032,), (1371432034,), (1371432035,), (1371432037,), (1371432039,), (1371432041,), (1371432051,), (1371432053,), (1371432055,), (1371432057,), (1371432058,), (1371432059,), (1371432071,), (1371432072,), (1371432073,), (1371432074,), (1371432076,), (1371432077,), (1371432088,), (1371432089,), (1371432102,), (1371432112,), (1371432123,), (1371432126,), (1371432173,), (1371432174,), (1371432176,), (1371432178,), (1371432180,), (1371432182,), (1371432194,), (1371432196,), (1371432198,), (1371432201,), (1371432203,), (1371432205,), (1371432222,), (1371432223,), (1371432226,), (1371432227,), (1371432228,), (1371432229,), (1371432231,), (1371432232,), (1371432233,), (1371432234,), (1371432235,), (1371432236,), (1371432237,), (1371432239,), (1371432240,), (1371432241,), (1371432243,), (1371432245,), (1371432259,), (1371432260,), (1371432262,), (1371432265,), (1371432266,), (1371432267,), (1371432278,), (1371432280,), (1371432282,), (1371432284,), (1371432285,), (1371432287,), (1371432324,), (1371432347,), (1371432350,), (1371432354,), (1371432374,), (1371432377,), (1371432398,), (1371432401,), (1371432402,), (1371432404,), (1371432406,), (1371432408,), (1371432456,), (1371432458,), (1371432460,), (1371432462,), (1371432463,), (1371432464,), (1371432473,), (1371432476,), (1371432480,), (1371432482,), (1371432485,), (1371432487,), (1371432488,), (1371432489,), (1371432491,), (1371432493,), (1371432495,), (1371432500,), (1371432501,), (1371432503,), (1371432505,), (1371432507,), (1371432509,), (1371432523,), (1371432525,), (1371432527,), (1371432529,), (1371432535,), (1371432617,), (1371433056,), (1371433057,), (1371433059,), (1371433060,), (1371433062,), (1371433063,), (1371433065,), (1371433066,), (1371433067,), (1371433068,), (1371433069,), (1371433070,), (1371433071,), (1371433073,), (1371433074,), (1371433076,), (1371433078,), (1371433081,), (1371433095,), (1371433097,), (1371433099,), (1371433102,), (1371433104,), (1371433106,), (1371433118,), (1371433120,), (1371433122,), (1371433123,), (1371433126,), (1371433128,), (1371433130,), (1371433131,), (1371433133,), (1371433134,), (1371433135,), (1371433137,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09072025': {'nb_upload': 48, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([24768366]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] map_info['map_portfolio_photo'] : {24768366: [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118, 1371433106, 1371433104, 1371433102, 1371433099, 1371433097, 1371433095, 1371433081, 1371433078, 1371433076, 1371433074, 1371433073, 1371433071, 1371433070, 1371433069, 1371433068, 1371433067, 1371433066, 1371433065, 1371433063, 1371433062, 1371433060, 1371433059, 1371433057, 1371433056, 1371432617, 1371432535, 1371432529, 1371432527, 1371432525, 1371432523, 1371432509, 1371432507, 1371432505, 1371432503, 1371432501, 1371432500]} final : True mtd_id 4302 list_pids : [1371433137, 1371433135, 1371433134, 1371433133, 1371433131, 1371433130, 1371433128, 1371433126, 1371433123, 1371433122, 1371433120, 1371433118] Looping around the photos to save general results len do output : 1 /24768366Didn'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, '3259335') ('4302', '24768366', '1371433137', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433135', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433134', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433133', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433131', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433130', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433128', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433126', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433123', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433122', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433120', None, None, None, None, None, '3259335') ('4302', None, None, None, None, None, None, None, '3259335') ('4302', '24768366', '1371433118', None, None, None, None, None, '3259335') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '24768366', 'None', None, None, None, None, '3259335'), ('4302', '24768366', '1371433137', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433135', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433134', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433133', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433131', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433130', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433128', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433126', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433123', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433122', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433120', None, None, None, None, None, '3259335'), ('4302', '24768366', '1371433118', None, None, None, None, None, '3259335')] time used for this insertion : 0.014817237854003906 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5307328701019287 time spend to save output : 0.015045166015625 total time spend for step 5 : 2.5457780361175537 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 (3259335) 2.14user 2.53system 0:07.10elapsed 65%CPU (0avgtext+0avgdata 161620maxresident)k 0inputs+7216outputs (2major+64241minor)pagefaults 0swaps