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 : 216158 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 (3302263) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3302263) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017204 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3302263'] with mtr_portfolio_ids : ['25017204'] and first list_photo_ids : [] new path : /proc/216158/ Name: python3 Umask: 0002 State: R (running) Tgid: 216158 Ngid: 0 Pid: 216158 PPid: 216156 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 216158 NSpid: 216158 NSpgid: 214986 NSsid: 214986 VmPeak: 1106960 kB VmSize: 1106960 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99004 kB VmRSS: 99004 kB RssAnon: 59796 kB RssFile: 39208 kB RssShmem: 0 kB VmData: 865712 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 532 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 44 nonvoluntary_ctxt_switches: 110 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '216158', 'Ngid': '0', 'Pid': '216158', 'PPid': '216156', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '216158', 'NSpid': '216158', 'NSpgid': '214986', 'NSsid': '214986', 'VmPeak': '1106960 kB', 'VmSize': '1106960 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99004 kB', 'VmRSS': '99004 kB', 'RssAnon': '59796 kB', 'RssFile': '39208 kB', 'RssShmem': '0 kB', 'VmData': '865712 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '532 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '44', 'nonvoluntary_ctxt_switches': '110'} ('datou_batch_current', '216158', '1106960', '0', '1106960', '865712', '99004', b'', 'marlene', '3302263') 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 (25017204) 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 (3302263 ) ) 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 (25017204) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1372404589, 'portfolio_id': 25017204}, {'photo_id': 1372404585, 'portfolio_id': 25017204}, {'photo_id': 1372404580, 'portfolio_id': 25017204}, {'photo_id': 1372404576, 'portfolio_id': 25017204}, {'photo_id': 1372404570, 'portfolio_id': 25017204}, {'photo_id': 1372404562, 'portfolio_id': 25017204}, {'photo_id': 1372404535, 'portfolio_id': 25017204}, {'photo_id': 1372404530, 'portfolio_id': 25017204}, {'photo_id': 1372404526, 'portfolio_id': 25017204}, {'photo_id': 1372404523, 'portfolio_id': 25017204}, {'photo_id': 1372404519, 'portfolio_id': 25017204}, {'photo_id': 1372404516, 'portfolio_id': 25017204}, {'photo_id': 1372404502, 'portfolio_id': 25017204}, {'photo_id': 1372404498, 'portfolio_id': 25017204}, {'photo_id': 1372404496, 'portfolio_id': 25017204}, {'photo_id': 1372404492, 'portfolio_id': 25017204}, {'photo_id': 1372404489, 'portfolio_id': 25017204}, {'photo_id': 1372404485, 'portfolio_id': 25017204}, {'photo_id': 1372404439, 'portfolio_id': 25017204}, {'photo_id': 1372404435, 'portfolio_id': 25017204}, {'photo_id': 1372404432, 'portfolio_id': 25017204}, {'photo_id': 1372404429, 'portfolio_id': 25017204}, {'photo_id': 1372404426, 'portfolio_id': 25017204}, {'photo_id': 1372404425, 'portfolio_id': 25017204}, {'photo_id': 1372404402, 'portfolio_id': 25017204}, {'photo_id': 1372404397, 'portfolio_id': 25017204}, {'photo_id': 1372404394, 'portfolio_id': 25017204}, {'photo_id': 1372404392, 'portfolio_id': 25017204}, {'photo_id': 1372404391, 'portfolio_id': 25017204}, {'photo_id': 1372404383, 'portfolio_id': 25017204}, {'photo_id': 1372404353, 'portfolio_id': 25017204}, {'photo_id': 1372404347, 'portfolio_id': 25017204}, {'photo_id': 1372404343, 'portfolio_id': 25017204}, {'photo_id': 1372404338, 'portfolio_id': 25017204}, {'photo_id': 1372404335, 'portfolio_id': 25017204}, {'photo_id': 1372404333, 'portfolio_id': 25017204}, {'photo_id': 1372404296, 'portfolio_id': 25017204}, {'photo_id': 1372404292, 'portfolio_id': 25017204}, {'photo_id': 1372404290, 'portfolio_id': 25017204}, {'photo_id': 1372404287, 'portfolio_id': 25017204}, {'photo_id': 1372404285, 'portfolio_id': 25017204}, {'photo_id': 1372404277, 'portfolio_id': 25017204}, {'photo_id': 1372404219, 'portfolio_id': 25017204}, {'photo_id': 1372404215, 'portfolio_id': 25017204}, {'photo_id': 1372404212, 'portfolio_id': 25017204}, {'photo_id': 1372404208, 'portfolio_id': 25017204}, {'photo_id': 1372404204, 'portfolio_id': 25017204}, {'photo_id': 1372404201, 'portfolio_id': 25017204}, {'photo_id': 1372404162, 'portfolio_id': 25017204}, {'photo_id': 1372404137, 'portfolio_id': 25017204}, {'photo_id': 1372404116, 'portfolio_id': 25017204}, {'photo_id': 1372404113, 'portfolio_id': 25017204}, {'photo_id': 1372404107, 'portfolio_id': 25017204}, {'photo_id': 1372404096, 'portfolio_id': 25017204}, {'photo_id': 1372404072, 'portfolio_id': 25017204}, {'photo_id': 1372404067, 'portfolio_id': 25017204}, {'photo_id': 1372404063, 'portfolio_id': 25017204}, {'photo_id': 1372404059, 'portfolio_id': 25017204}, {'photo_id': 1372404056, 'portfolio_id': 25017204}, {'photo_id': 1372404055, 'portfolio_id': 25017204}, {'photo_id': 1372404018, 'portfolio_id': 25017204}, {'photo_id': 1372404015, 'portfolio_id': 25017204}, {'photo_id': 1372404011, 'portfolio_id': 25017204}, {'photo_id': 1372404006, 'portfolio_id': 25017204}, {'photo_id': 1372404002, 'portfolio_id': 25017204}, {'photo_id': 1372403999, 'portfolio_id': 25017204}, {'photo_id': 1372403982, 'portfolio_id': 25017204}, {'photo_id': 1372403978, 'portfolio_id': 25017204}, {'photo_id': 1372403974, 'portfolio_id': 25017204}, {'photo_id': 1372403968, 'portfolio_id': 25017204}, {'photo_id': 1372403961, 'portfolio_id': 25017204}, {'photo_id': 1372403957, 'portfolio_id': 25017204}, {'photo_id': 1372403923, 'portfolio_id': 25017204}, {'photo_id': 1372403921, 'portfolio_id': 25017204}, {'photo_id': 1372403917, 'portfolio_id': 25017204}, {'photo_id': 1372403913, 'portfolio_id': 25017204}, {'photo_id': 1372403909, 'portfolio_id': 25017204}, {'photo_id': 1372403897, 'portfolio_id': 25017204}, {'photo_id': 1372403870, 'portfolio_id': 25017204}, {'photo_id': 1372403861, 'portfolio_id': 25017204}, {'photo_id': 1372403821, 'portfolio_id': 25017204}, {'photo_id': 1372403816, 'portfolio_id': 25017204}, {'photo_id': 1372403813, 'portfolio_id': 25017204}, {'photo_id': 1372403810, 'portfolio_id': 25017204}, {'photo_id': 1372403784, 'portfolio_id': 25017204}, {'photo_id': 1372403781, 'portfolio_id': 25017204}, {'photo_id': 1372403778, 'portfolio_id': 25017204}, {'photo_id': 1372403767, 'portfolio_id': 25017204}, {'photo_id': 1372403761, 'portfolio_id': 25017204}, {'photo_id': 1372403752, 'portfolio_id': 25017204}] map_portfolio_id_photo_id: {25017204: [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562, 1372404535, 1372404530, 1372404526, 1372404523, 1372404519, 1372404516, 1372404502, 1372404498, 1372404496, 1372404492, 1372404489, 1372404485, 1372404439, 1372404435, 1372404432, 1372404429, 1372404426, 1372404425, 1372404402, 1372404397, 1372404394, 1372404392, 1372404391, 1372404383, 1372404353, 1372404347, 1372404343, 1372404338, 1372404335, 1372404333, 1372404296, 1372404292, 1372404290, 1372404287, 1372404285, 1372404277, 1372404219, 1372404215, 1372404212, 1372404208, 1372404204, 1372404201, 1372404162, 1372404137, 1372404116, 1372404113, 1372404107, 1372404096, 1372404072, 1372404067, 1372404063, 1372404059, 1372404056, 1372404055, 1372404018, 1372404015, 1372404011, 1372404006, 1372404002, 1372403999, 1372403982, 1372403978, 1372403974, 1372403968, 1372403961, 1372403957, 1372403923, 1372403921, 1372403917, 1372403913, 1372403909, 1372403897, 1372403870, 1372403861, 1372403821, 1372403816, 1372403813, 1372403810, 1372403784, 1372403781, 1372403778, 1372403767, 1372403761, 1372403752]} ##### 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.05429553985595703 #### 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 Thu Jul 17 13:33:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25017204) 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 : 25017204 get user id for portfolio 25017204 get sub ptf for main ptf 25017204, type 3726 and hashtags ['autre_refus', 'Carton_brun', 'papier', 'Carton_gris', 'cartonnette', 'plastique', 'metal', 'mal_croppe', 'kraft', 'environnement', 'flou', '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`=25017204 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','Carton_gris','cartonnette','plastique','metal','mal_croppe','kraft','environnement','flou','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`=25017204 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','Carton_gris','cartonnette','plastique','metal','mal_croppe','kraft','environnement','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 25017204, 'sub_port_id': 25017224, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855788, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 25017204, 'sub_port_id': 25017225, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855789, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'Carton_brun': {'main_port_id': 25017204, 'sub_port_id': 25017226, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855790, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'cartonnette': {'main_port_id': 25017204, 'sub_port_id': 25017227, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855791, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'papier': {'main_port_id': 25017204, 'sub_port_id': 25017228, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855792, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'kraft': {'main_port_id': 25017204, 'sub_port_id': 25017229, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855793, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'flou': {'main_port_id': 25017204, 'sub_port_id': 25017230, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855794, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'autre_refus': {'main_port_id': 25017204, 'sub_port_id': 25017231, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855795, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'plastique': {'main_port_id': 25017204, 'sub_port_id': 25017232, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855796, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'mal_croppe': {'main_port_id': 25017204, 'sub_port_id': 25017233, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855797, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'Carton_gris': {'main_port_id': 25017204, 'sub_port_id': 25017234, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855798, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}, 'metal': {'main_port_id': 25017204, 'sub_port_id': 25017235, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855799, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 18, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017224 , 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=25017204 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 (25017224) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017225 , 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=25017204 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 (25017225) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017226 , 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=25017204 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 (25017226) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017227 , 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=25017204 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 (25017227) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017228 , 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=25017204 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 (25017228) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017229 , 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=25017204 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 (25017229) result : ((1372404042,), (1372404043,), (1372404044,), (1372404046,), (1372404047,), (1372404049,), (1372404102,), (1372404104,), (1372404105,), (1372404106,), (1372404108,), (1372404109,), (1372404187,), (1372404188,), (1372404189,), (1372404190,), (1372404191,), (1372404193,), (1372404278,), (1372404279,), (1372404280,), (1372404281,), (1372404282,), (1372404283,), (1372404314,), (1372404315,), (1372404317,), (1372404318,), (1372404320,), (1372404321,), (1372404384,), (1372404385,), (1372404386,), (1372404387,), (1372404388,), (1372404389,), (1372404413,), (1372404564,), (1372404565,), (1372404566,), (1372404567,), (1372404568,), (1372404569,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017230 , 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=25017204 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 (25017230) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017231 , 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=25017204 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 (25017231) result : ((1372404411,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017232 , 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=25017204 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 (25017232) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017233 , 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=25017204 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 (25017233) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017234 , 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=25017204 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 (25017234) result : ((1372404026,), (1372404028,), (1372404030,), (1372404032,), (1372404035,), (1372404037,), (1372404093,), (1372404094,), (1372404095,), (1372404097,), (1372404098,), (1372404099,), (1372404100,), (1372404101,), (1372404177,), (1372404178,), (1372404179,), (1372404180,), (1372404181,), (1372404182,), (1372404185,), (1372404269,), (1372404270,), (1372404271,), (1372404272,), (1372404273,), (1372404274,), (1372404305,), (1372404306,), (1372404307,), (1372404308,), (1372404310,), (1372404311,), (1372404312,), (1372404375,), (1372404376,), (1372404378,), (1372404379,), (1372404380,), (1372404381,), (1372404382,), (1372404553,), (1372404554,), (1372404555,), (1372404556,), (1372404557,), (1372404558,), (1372404559,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25017235 , 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=25017204 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 (25017235) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25017204) result : ((1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25017204 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','Carton_gris','cartonnette','plastique','metal','mal_croppe','kraft','environnement','flou','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`=25017204 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','papier','Carton_gris','cartonnette','plastique','metal','mal_croppe','kraft','environnement','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 25017204, 'sub_port_id': 25017238, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855800, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'Teint_Dans_La_Masse': {'main_port_id': 25017204, 'sub_port_id': 25017239, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855801, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'Carton_brun': {'main_port_id': 25017204, 'sub_port_id': 25017240, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855802, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'cartonnette': {'main_port_id': 25017204, 'sub_port_id': 25017241, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855803, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'papier': {'main_port_id': 25017204, 'sub_port_id': 25017242, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855804, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'kraft': {'main_port_id': 25017204, 'sub_port_id': 25017243, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855805, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'flou': {'main_port_id': 25017204, 'sub_port_id': 25017244, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855806, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'autre_refus': {'main_port_id': 25017204, 'sub_port_id': 25017245, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855807, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'plastique': {'main_port_id': 25017204, 'sub_port_id': 25017246, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855808, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'mal_croppe': {'main_port_id': 25017204, 'sub_port_id': 25017247, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855809, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'Carton_gris': {'main_port_id': 25017204, 'sub_port_id': 25017248, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855810, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}, 'metal': {'main_port_id': 25017204, 'sub_port_id': 25017249, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 16855811, 'last_updated_at': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_desc': datetime.datetime(2025, 7, 17, 13, 31, 3), 'last_updated_at_asc': datetime.datetime(2025, 7, 17, 13, 19, 4)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017238,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017224 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017239,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017225 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017240,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017226 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017241,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017227 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017242,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017228 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017243,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017229 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017244,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017230 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017245,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017231 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017246,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017232 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017247,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017233 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017248,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017234 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25017249,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25017235 lien utilise dans velours : https://www.fotonower.com/velours/25017238,25017239,25017240,25017241,25017242,25017243,25017244,25017245,25017246,25017247,25017248,25017249?tags=environnement,Teint_Dans_La_Masse,Carton_brun,cartonnette,papier,kraft,flou,autre_refus,plastique,mal_croppe,Carton_gris,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25017204]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] map_info['map_portfolio_photo'] : {25017204: [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562, 1372404535, 1372404530, 1372404526, 1372404523, 1372404519, 1372404516, 1372404502, 1372404498, 1372404496, 1372404492, 1372404489, 1372404485, 1372404439, 1372404435, 1372404432, 1372404429, 1372404426, 1372404425, 1372404402, 1372404397, 1372404394, 1372404392, 1372404391, 1372404383, 1372404353, 1372404347, 1372404343, 1372404338, 1372404335, 1372404333, 1372404296, 1372404292, 1372404290, 1372404287, 1372404285, 1372404277, 1372404219, 1372404215, 1372404212, 1372404208, 1372404204, 1372404201, 1372404162, 1372404137, 1372404116, 1372404113, 1372404107, 1372404096, 1372404072, 1372404067, 1372404063, 1372404059, 1372404056, 1372404055, 1372404018, 1372404015, 1372404011, 1372404006, 1372404002, 1372403999, 1372403982, 1372403978, 1372403974, 1372403968, 1372403961, 1372403957, 1372403923, 1372403921, 1372403917, 1372403913, 1372403909, 1372403897, 1372403870, 1372403861, 1372403821, 1372403816, 1372403813, 1372403810, 1372403784, 1372403781, 1372403778, 1372403767, 1372403761, 1372403752]} final : False mtd_id 4302 list_pids : [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] Looping around the photos to save general results len do output : 1 /25017204. 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, '3302263') ('4302', '25017204', '1372404589', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404585', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404580', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404576', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404570', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404562', None, None, None, None, None, '3302263') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 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, '25017204', "{'environnement': 25017224, 'Teint_Dans_La_Masse': 25017225, 'Carton_brun': 25017226, 'cartonnette': 25017227, 'papier': 25017228, 'kraft': 25017229, 'flou': 25017230, 'autre_refus': 25017231, 'plastique': 25017232, 'mal_croppe': 25017233, 'Carton_gris': 25017234, 'metal': 25017235}", None, None, None, None, '3302263'), ('4302', '25017204', '1372404589', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404585', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404580', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404576', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404570', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404562', None, None, None, None, None, '3302263')] time used for this insertion : 0.029161453247070312 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.303326606750488 time spend to save output : 0.029506206512451172 total time spend for step 1 : 5.3328328132629395 step2:final Thu Jul 17 13:33:34 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 (25017204) 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 25017204 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1372403784,1372403781,1372403778,1372403767,1372403761,1372403752,1372403870,1372403861,1372403821,1372403816,1372403813,1372403810,1372403923,1372403921,1372403917,1372403913,1372403909,1372403897,1372403982,1372403978,1372403974,1372403968,1372403961,1372403957,1372404018,1372404015,1372404011,1372404006,1372404002,1372403999,1372404072,1372404067,1372404063,1372404059,1372404056,1372404055,1372404162,1372404137,1372404116,1372404113,1372404107,1372404096,1372404219,1372404215,1372404212,1372404208,1372404204,1372404201,1372404296,1372404292,1372404290,1372404287,1372404285,1372404277,1372404353,1372404347,1372404343,1372404338,1372404335,1372404333,1372404402,1372404397,1372404394,1372404392,1372404391,1372404383,1372404439,1372404435,1372404432,1372404429,1372404426,1372404425,1372404502,1372404498,1372404496,1372404492,1372404489,1372404485,1372404535,1372404530,1372404526,1372404523,1372404519,1372404516,1372404589,1372404585,1372404580,1372404576,1372404570,1372404562); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25017204]) Inside saveOutput : final : False verbose : True original output for save of step final : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} new output for save of step final : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] map_info['map_portfolio_photo'] : {25017204: [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562, 1372404535, 1372404530, 1372404526, 1372404523, 1372404519, 1372404516, 1372404502, 1372404498, 1372404496, 1372404492, 1372404489, 1372404485, 1372404439, 1372404435, 1372404432, 1372404429, 1372404426, 1372404425, 1372404402, 1372404397, 1372404394, 1372404392, 1372404391, 1372404383, 1372404353, 1372404347, 1372404343, 1372404338, 1372404335, 1372404333, 1372404296, 1372404292, 1372404290, 1372404287, 1372404285, 1372404277, 1372404219, 1372404215, 1372404212, 1372404208, 1372404204, 1372404201, 1372404162, 1372404137, 1372404116, 1372404113, 1372404107, 1372404096, 1372404072, 1372404067, 1372404063, 1372404059, 1372404056, 1372404055, 1372404018, 1372404015, 1372404011, 1372404006, 1372404002, 1372403999, 1372403982, 1372403978, 1372403974, 1372403968, 1372403961, 1372403957, 1372403923, 1372403921, 1372403917, 1372403913, 1372403909, 1372403897, 1372403870, 1372403861, 1372403821, 1372403816, 1372403813, 1372403810, 1372403784, 1372403781, 1372403778, 1372403767, 1372403761, 1372403752]} final : False mtd_id 4302 list_pids : [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] Looping around the photos to save general results len do output : 6 /1372404589.Didn't retrieve data . /1372404585.Didn't retrieve data . /1372404580.Didn't retrieve data . /1372404576.Didn't retrieve data . /1372404570.Didn't retrieve data . /1372404562.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, '3302263') ('4302', '25017204', '1372404589', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404585', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404580', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404576', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404570', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404562', None, None, None, None, None, '3302263') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 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', '25017204', '1372404589', '0.03285215299785539', None, None, None, None, '3302263'), ('4302', '25017204', '1372404585', '0.03285215299785539', None, None, None, None, '3302263'), ('4302', '25017204', '1372404580', '0.03285215299785539', None, None, None, None, '3302263'), ('4302', '25017204', '1372404576', '0.03285215299785539', None, None, None, None, '3302263'), ('4302', '25017204', '1372404570', '0.03285215299785539', None, None, None, None, '3302263'), ('4302', '25017204', '1372404562', '0.03285215299785539', None, None, None, None, '3302263')] time used for this insertion : 0.03125262260437012 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.19085288047790527 time spend to save output : 0.03163599967956543 total time spend for step 2 : 0.2224888801574707 step3:velours_tree Thu Jul 17 13:33:34 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 : {25017204: [{'environnement': 25017224, 'Teint_Dans_La_Masse': 25017225, 'Carton_brun': 25017226, 'cartonnette': 25017227, 'papier': 25017228, 'kraft': 25017229, 'flou': 25017230, 'autre_refus': 25017231, 'plastique': 25017232, 'mal_croppe': 25017233, 'Carton_gris': 25017234, 'metal': 25017235}]} input_args_next_step : {25017204: ()} output_args : {25017204: [{'environnement': 25017224, 'Teint_Dans_La_Masse': 25017225, 'Carton_brun': 25017226, 'cartonnette': 25017227, 'papier': 25017228, 'kraft': 25017229, 'flou': 25017230, 'autre_refus': 25017231, 'plastique': 25017232, 'mal_croppe': 25017233, 'Carton_gris': 25017234, 'metal': 25017235}]} args : 25017204 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 : ({'environnement': 25017224, 'Teint_Dans_La_Masse': 25017225, 'Carton_brun': 25017226, 'cartonnette': 25017227, 'papier': 25017228, 'kraft': 25017229, 'flou': 25017230, 'autre_refus': 25017231, 'plastique': 25017232, 'mal_croppe': 25017233, 'Carton_gris': 25017234, 'metal': 25017235},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25017204) 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([25017204]) 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.3469276428222656 time spend to save output : 5.1021575927734375e-05 total time spend for step 3 : 0.34697866439819336 step4:send_mail_cod Thu Jul 17 13:33:35 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 : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} input_args_next_step : {1372404589: ()} output_args : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} args : 1372404589 depend.output_id : 0 input_args_next_step : {1372404589: ('0.03285215299785539',), 1372404585: ()} output_args : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} args : 1372404585 depend.output_id : 0 input_args_next_step : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ()} output_args : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} args : 1372404580 depend.output_id : 0 input_args_next_step : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ()} output_args : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} args : 1372404576 depend.output_id : 0 input_args_next_step : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ()} output_args : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} args : 1372404570 depend.output_id : 0 input_args_next_step : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ()} output_args : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',)} args : 1372404562 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 : {25017204: [{'environnement': 25017224, 'Teint_Dans_La_Masse': 25017225, 'Carton_brun': 25017226, 'cartonnette': 25017227, 'papier': 25017228, 'kraft': 25017229, 'flou': 25017230, 'autre_refus': 25017231, 'plastique': 25017232, 'mal_croppe': 25017233, 'Carton_gris': 25017234, 'metal': 25017235}]} input_args_next_step : {1372404589: ('0.03285215299785539',), 1372404585: ('0.03285215299785539',), 1372404580: ('0.03285215299785539',), 1372404576: ('0.03285215299785539',), 1372404570: ('0.03285215299785539',), 1372404562: ('0.03285215299785539',), 25017204: ()} output_args : {25017204: [{'environnement': 25017224, 'Teint_Dans_La_Masse': 25017225, 'Carton_brun': 25017226, 'cartonnette': 25017227, 'papier': 25017228, 'kraft': 25017229, 'flou': 25017230, 'autre_refus': 25017231, 'plastique': 25017232, 'mal_croppe': 25017233, 'Carton_gris': 25017234, 'metal': 25017235}]} args : 25017204 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 :7, first value : ('0.03285215299785539',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25017204) 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 (1372404589,1372404585,1372404580,1372404576,1372404570,1372404562) Found this number of photos: 6 ##### Call download_photos : nb_thread : 5 begin to download photo : 1372404562 begin to download photo : 1372404576 begin to download photo : 1372404585 download finish for photo 1372404562 begin to download photo : 1372404570 download finish for photo 1372404576 begin to download photo : 1372404580 download finish for photo 1372404585 begin to download photo : 1372404589 download finish for photo 1372404570 download finish for photo 1372404580 download finish for photo 1372404589 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette250172271752752015/ length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 results_Auto_P25017204_17-07-2025_13_33_35.pdf 25017227 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=25017227 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250172271752752015 25017229 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=25017229 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1372404386: '1752751525_225584_1372404011_6058a2a1b77e6e912473f2c14048c462_rle_crop_3884658705_0.png', 1372404282: '1752751406_222733_1372403961_edaea6e7f34a46492461166cc80b55a4_rle_crop_3884658380_0.png', 1372404283: '1752751406_222733_1372403957_08921a6576eb9d11a3460cd459efd2b8_rle_crop_3884658388_0.png', 1372404314: '1752751445_3734103_1372404072_44b7a08651c35fc36a7fe84f67ce5590_rle_crop_3884658518_0.png', 1372404315: '1752751445_3734103_1372404067_10937b447882351481b1f11acb9226aa_rle_crop_3884658527_0.png', 1372404317: '1752751445_3734103_1372404063_f9e6d9cd27e4cfe6c2b6c0ead59fbc10_rle_crop_3884658538_0.png', 1372404318: '1752751445_3734103_1372404059_432eebc0211364cd8d8a07c68de95472_rle_crop_3884658547_0.png', 1372404320: '1752751445_3734103_1372404056_568b10ad0d8854118ef101afa1d42afd_rle_crop_3884658556_0.png', 1372404321: '1752751445_3734103_1372404055_671a6db8787bada9944dc4484b5dfd0d_rle_crop_3884658565_0.png', 1372404384: '1752751525_225584_1372404018_7e9e5f4cc6f5c9f1423ba1f0826f0ac1_rle_crop_3884658685_0.png', 1372404385: '1752751525_225584_1372404015_5e814617178a2b2ba999f2155f1287f0_rle_crop_3884658696_0.png', 1372404281: '1752751406_222733_1372403968_d85d51994307654a53e24810356f771b_rle_crop_3884658372_0.png', 1372404387: '1752751525_225584_1372404006_7425e6945abcd3ef342936d7b13552cd_rle_crop_3884658714_0.png', 1372404388: '1752751525_225584_1372404002_060e47b32d2e9c4273dc823cf1b509d6_rle_crop_3884658724_0.png', 1372404389: '1752751525_225584_1372403999_3b0e19c492b8a969ec5d461dacd9ee1f_rle_crop_3884658734_0.png', 1372404413: '1752751565_3737915_1372404219_dc31fb8c342c883ec392ce00e8720e3a_rle_crop_3884659189_0.png', 1372404564: '1752751766_232571_1372404162_6ae0a0fb6a766ee8c8627695e1ffb39d_rle_crop_3884659693_0.png', 1372404565: '1752751766_232571_1372404137_7a075f92f4f67cc8711d7f0fb55ac51b_rle_crop_3884659703_0.png', 1372404566: '1752751766_232571_1372404116_86be771c4f68d7e425bfdc80fbc96259_rle_crop_3884659711_0.png', 1372404567: '1752751766_232571_1372404113_b09090c45d4eb3526d30697809e7de4f_rle_crop_3884659720_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/c98441e7b2d1ad5301e0e7f4e02dbfea_65218738.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/3e1d9bc60a9820416a6467bcfdd95c78_31274443.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/c3424348fd0640b0c1126cccba7cc36c_47849480.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/14d000b31fd593d5c01894b3e8609d92_33439916.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/6240ee478052140501417893d7ef9e6d_73610790.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/4e23ce66bcadab7ab8956934655aa4af_66616195.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/47cdd9697f999c63c49b7a2ffed94181_96822725.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/3cbfda8b940e33913eb2169d48092134_86648784.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/059049c50825c0475e97c22946874535_44076531.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/f50134f3973934cf22181a3178b7c037_18783365.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/8d6347350dccc89db55ec54ec0e84ee7_93962050.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/f9f5221555d986ee476cf1ad5580d459_95639622.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/2adea0014d2e3283338f51eb97612ace_6956234.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/5c6a93540fe314c520e690c9258a5613_99166379.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/9f6d820eb18d8b46ff84318d21ee3fd4_58195842.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/e4fdbfdc8e9206be34f71ec6eb441309_73319696.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/640f75568ec1557c5f244f3d82b60808_11278637.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/ce4e7956b13c77d1ddd9424dcd92a406_16174673.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/fb6cc6b6f052d0ed7e78d37a535b72c8_83006832.png change filename to text .imagette250172291752752015/ imagette250172291752752015/1752751445_3734103_1372404055_671a6db8787bada9944dc4484b5dfd0d_rle_crop_3884658565_0.png.png imagette250172291752752015/1752751445_3734103_1372404056_568b10ad0d8854118ef101afa1d42afd_rle_crop_3884658556_0.png.png imagette250172291752752015/1752751525_225584_1372403999_3b0e19c492b8a969ec5d461dacd9ee1f_rle_crop_3884658734_0.png.png imagette250172291752752015/1752751406_222733_1372403968_d85d51994307654a53e24810356f771b_rle_crop_3884658372_0.png.png imagette250172291752752015/1752751766_232571_1372404162_6ae0a0fb6a766ee8c8627695e1ffb39d_rle_crop_3884659693_0.png.png imagette250172291752752015/1752751525_225584_1372404011_6058a2a1b77e6e912473f2c14048c462_rle_crop_3884658705_0.png.png imagette250172291752752015/1752751766_232571_1372404113_b09090c45d4eb3526d30697809e7de4f_rle_crop_3884659720_0.png.png imagette250172291752752015/1752751445_3734103_1372404072_44b7a08651c35fc36a7fe84f67ce5590_rle_crop_3884658518_0.png.png imagette250172291752752015/1752751525_225584_1372404018_7e9e5f4cc6f5c9f1423ba1f0826f0ac1_rle_crop_3884658685_0.png.png imagette250172291752752015/1752751525_225584_1372404015_5e814617178a2b2ba999f2155f1287f0_rle_crop_3884658696_0.png.png imagette250172291752752015/1752751406_222733_1372403957_08921a6576eb9d11a3460cd459efd2b8_rle_crop_3884658388_0.png.png imagette250172291752752015/1752751445_3734103_1372404067_10937b447882351481b1f11acb9226aa_rle_crop_3884658527_0.png.png imagette250172291752752015/1752751525_225584_1372404006_7425e6945abcd3ef342936d7b13552cd_rle_crop_3884658714_0.png.png imagette250172291752752015/1752751406_222733_1372403961_edaea6e7f34a46492461166cc80b55a4_rle_crop_3884658380_0.png.png imagette250172291752752015/1752751525_225584_1372404002_060e47b32d2e9c4273dc823cf1b509d6_rle_crop_3884658724_0.png.png imagette250172291752752015/1752751565_3737915_1372404219_dc31fb8c342c883ec392ce00e8720e3a_rle_crop_3884659189_0.png.png imagette250172291752752015/1752751445_3734103_1372404063_f9e6d9cd27e4cfe6c2b6c0ead59fbc10_rle_crop_3884658538_0.png.png imagette250172291752752015/1752751445_3734103_1372404059_432eebc0211364cd8d8a07c68de95472_rle_crop_3884658547_0.png.png imagette250172291752752015/1752751766_232571_1372404137_7a075f92f4f67cc8711d7f0fb55ac51b_rle_crop_3884659703_0.png.png imagette250172291752752015/1752751766_232571_1372404116_86be771c4f68d7e425bfdc80fbc96259_rle_crop_3884659711_0.png.png imagette250172301752752016/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/95e2b81b456fba2e0d193436bd5cf73c_26029275.png imagette250172291752752015 25017230 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=25017230 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250172301752752016 25017231 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=25017231 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1372404411: '1752751565_3737915_1372404219_dc31fb8c342c883ec392ce00e8720e3a_rle_crop_3884659190_0.png'} change filename to text .imagette250172311752752016/ imagette250172311752752016/1752751565_3737915_1372404219_dc31fb8c342c883ec392ce00e8720e3a_rle_crop_3884659190_0.png.png imagette250172321752752016/ imagette250172331752752016/ imagette250172351752752016/ imagette250172251752752016/ imagette250172261752752016/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/f3eb989698ecccfd8adc274de59baf7e_56764512.png imagette250172311752752016 25017232 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=25017232 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250172321752752016 25017233 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=25017233 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250172331752752016 25017235 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=25017235 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250172351752752016 25017225 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=25017225 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250172251752752016 25017226 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=25017226 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette250172261752752016 25017234 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=25017234 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1372404378: '1752751525_225584_1372404011_6058a2a1b77e6e912473f2c14048c462_rle_crop_3884658704_0.png', 1372404273: '1752751406_222733_1372403961_edaea6e7f34a46492461166cc80b55a4_rle_crop_3884658379_0.png', 1372404274: '1752751406_222733_1372403957_08921a6576eb9d11a3460cd459efd2b8_rle_crop_3884658387_0.png', 1372404305: '1752751445_3734103_1372404072_44b7a08651c35fc36a7fe84f67ce5590_rle_crop_3884658517_0.png', 1372404306: '1752751445_3734103_1372404067_10937b447882351481b1f11acb9226aa_rle_crop_3884658524_0.png', 1372404307: '1752751445_3734103_1372404063_f9e6d9cd27e4cfe6c2b6c0ead59fbc10_rle_crop_3884658533_0.png', 1372404308: '1752751445_3734103_1372404063_f9e6d9cd27e4cfe6c2b6c0ead59fbc10_rle_crop_3884658536_0.png', 1372404310: '1752751445_3734103_1372404059_432eebc0211364cd8d8a07c68de95472_rle_crop_3884658546_0.png', 1372404311: '1752751445_3734103_1372404056_568b10ad0d8854118ef101afa1d42afd_rle_crop_3884658553_0.png', 1372404312: '1752751445_3734103_1372404055_671a6db8787bada9944dc4484b5dfd0d_rle_crop_3884658563_0.png', 1372404375: '1752751525_225584_1372404018_7e9e5f4cc6f5c9f1423ba1f0826f0ac1_rle_crop_3884658683_0.png', 1372404376: '1752751525_225584_1372404015_5e814617178a2b2ba999f2155f1287f0_rle_crop_3884658692_0.png', 1372404272: '1752751406_222733_1372403968_d85d51994307654a53e24810356f771b_rle_crop_3884658369_0.png', 1372404379: '1752751525_225584_1372404006_7425e6945abcd3ef342936d7b13552cd_rle_crop_3884658712_0.png', 1372404380: '1752751525_225584_1372404002_060e47b32d2e9c4273dc823cf1b509d6_rle_crop_3884658719_0.png', 1372404381: '1752751525_225584_1372404002_060e47b32d2e9c4273dc823cf1b509d6_rle_crop_3884658723_0.png', 1372404382: '1752751525_225584_1372403999_3b0e19c492b8a969ec5d461dacd9ee1f_rle_crop_3884658732_0.png', 1372404553: '1752751766_232571_1372404162_6ae0a0fb6a766ee8c8627695e1ffb39d_rle_crop_3884659688_0.png', 1372404554: '1752751766_232571_1372404162_6ae0a0fb6a766ee8c8627695e1ffb39d_rle_crop_3884659691_0.png', 1372404555: '1752751766_232571_1372404137_7a075f92f4f67cc8711d7f0fb55ac51b_rle_crop_3884659699_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/25bd1d4839ab62048a4b14b5eb0bbeb6_5902423.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/d978b7a680c2ad7e30982ae1024240c3_68621587.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/7765613a4a0bc01abc8e27f261389289_97201231.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/9a37a642c511ba88c4e6c6c6c8f8f96b_71200492.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/de8711372e4fe5213cec8c85588a6482_37794500.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/c4238fddf682d69f45da036ee31f2ded_35282597.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/2a1929f1f2d6c991e61a6cd0358e5cc8_33104832.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/0b8391ca7d18165b9081feb786262588_31951417.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/4a861b7d1bb61131927dcd84899820d4_26174510.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/a6d3f5d9806def47430eb0a56686f695_38299072.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/dd4cd2560ac5d34f4184d9ccc9b6c9a1_82690479.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/4645499fcf5c5a20328c7c7ba3fe0e98_13377749.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/cbf767a63f54dc8066a137350d5c295a_29749434.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/a78875d0932e29235dbde354c304a8bf_65951771.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/87809ad2f6674d9670ca39c3f4b2da04_32123750.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/dfaa42a96c67146eb169f6826d459ef8_1992054.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/c364e48e756942a3cc8b4749b8b14bbf_57048682.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/990466f1790d8ee312bfd3ba8096155f_11671241.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/006c04816438b1c3ddf0471e7c567a7e_76480139.png change filename to text .imagette250172341752752016/ imagette250172341752752016/1752751406_222733_1372403957_08921a6576eb9d11a3460cd459efd2b8_rle_crop_3884658387_0.png.png imagette250172341752752016/1752751766_232571_1372404162_6ae0a0fb6a766ee8c8627695e1ffb39d_rle_crop_3884659691_0.png.png imagette250172341752752016/1752751525_225584_1372404002_060e47b32d2e9c4273dc823cf1b509d6_rle_crop_3884658723_0.png.png imagette250172341752752016/1752751406_222733_1372403961_edaea6e7f34a46492461166cc80b55a4_rle_crop_3884658379_0.png.png imagette250172341752752016/1752751445_3734103_1372404067_10937b447882351481b1f11acb9226aa_rle_crop_3884658524_0.png.png imagette250172341752752016/1752751445_3734103_1372404059_432eebc0211364cd8d8a07c68de95472_rle_crop_3884658546_0.png.png imagette250172341752752016/1752751525_225584_1372404015_5e814617178a2b2ba999f2155f1287f0_rle_crop_3884658692_0.png.png imagette250172341752752016/1752751406_222733_1372403968_d85d51994307654a53e24810356f771b_rle_crop_3884658369_0.png.png imagette250172341752752016/1752751445_3734103_1372404063_f9e6d9cd27e4cfe6c2b6c0ead59fbc10_rle_crop_3884658533_0.png.png imagette250172341752752016/1752751525_225584_1372404006_7425e6945abcd3ef342936d7b13552cd_rle_crop_3884658712_0.png.png imagette250172341752752016/1752751445_3734103_1372404063_f9e6d9cd27e4cfe6c2b6c0ead59fbc10_rle_crop_3884658536_0.png.png imagette250172341752752016/1752751445_3734103_1372404055_671a6db8787bada9944dc4484b5dfd0d_rle_crop_3884658563_0.png.png imagette250172341752752016/1752751525_225584_1372404002_060e47b32d2e9c4273dc823cf1b509d6_rle_crop_3884658719_0.png.png imagette250172341752752016/1752751525_225584_1372404018_7e9e5f4cc6f5c9f1423ba1f0826f0ac1_rle_crop_3884658683_0.png.png imagette250172341752752016/1752751766_232571_1372404137_7a075f92f4f67cc8711d7f0fb55ac51b_rle_crop_3884659699_0.png.png imagette250172341752752016/1752751525_225584_1372403999_3b0e19c492b8a969ec5d461dacd9ee1f_rle_crop_3884658732_0.png.png imagette250172341752752016/1752751445_3734103_1372404072_44b7a08651c35fc36a7fe84f67ce5590_rle_crop_3884658517_0.png.png imagette250172341752752016/1752751445_3734103_1372404056_568b10ad0d8854118ef101afa1d42afd_rle_crop_3884658553_0.png.png imagette250172341752752016/1752751766_232571_1372404162_6ae0a0fb6a766ee8c8627695e1ffb39d_rle_crop_3884659688_0.png.png imagette250172341752752016/1752751525_225584_1372404011_6058a2a1b77e6e912473f2c14048c462_rle_crop_3884658704_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/d16540adb872d7ccc539210570f75870_75236861.png imagette250172341752752016 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25017204 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25017238,25017239,25017240,25017241,25017242,25017243,25017244,25017245,25017246,25017247,25017248,25017249?tags=environnement,Teint_Dans_La_Masse,Carton_brun,cartonnette,papier,kraft,flou,autre_refus,plastique,mal_croppe,Carton_gris,metal your option no_mail is active, we will not send the real mail to your client args[1372404589] : ('0.03285215299785539',) no score found for photo 1372404589 We are sending mail with results at report@fotonower.com args[1372404585] : ('0.03285215299785539',) no score found for photo 1372404585 We are sending mail with results at report@fotonower.com args[1372404580] : ('0.03285215299785539',) no score found for photo 1372404580 We are sending mail with results at report@fotonower.com args[1372404576] : ('0.03285215299785539',) no score found for photo 1372404576 We are sending mail with results at report@fotonower.com args[1372404570] : ('0.03285215299785539',) no score found for photo 1372404570 We are sending mail with results at report@fotonower.com args[1372404562] : ('0.03285215299785539',) no score found for photo 1372404562 We are sending mail with results at report@fotonower.com refus_total : 0.03285215299785539 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=25017204 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_P25017204_17-07-2025_13_33_35.pdf results_Auto_P25017204_17-07-2025_13_33_35.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.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','25017204','results_Auto_P25017204_17-07-2025_13_33_35.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf','pdf','','0.16','0.03285215299785539') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25017204]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] map_info['map_portfolio_photo'] : {25017204: [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562, 1372404535, 1372404530, 1372404526, 1372404523, 1372404519, 1372404516, 1372404502, 1372404498, 1372404496, 1372404492, 1372404489, 1372404485, 1372404439, 1372404435, 1372404432, 1372404429, 1372404426, 1372404425, 1372404402, 1372404397, 1372404394, 1372404392, 1372404391, 1372404383, 1372404353, 1372404347, 1372404343, 1372404338, 1372404335, 1372404333, 1372404296, 1372404292, 1372404290, 1372404287, 1372404285, 1372404277, 1372404219, 1372404215, 1372404212, 1372404208, 1372404204, 1372404201, 1372404162, 1372404137, 1372404116, 1372404113, 1372404107, 1372404096, 1372404072, 1372404067, 1372404063, 1372404059, 1372404056, 1372404055, 1372404018, 1372404015, 1372404011, 1372404006, 1372404002, 1372403999, 1372403982, 1372403978, 1372403974, 1372403968, 1372403961, 1372403957, 1372403923, 1372403921, 1372403917, 1372403913, 1372403909, 1372403897, 1372403870, 1372403861, 1372403821, 1372403816, 1372403813, 1372403810, 1372403784, 1372403781, 1372403778, 1372403767, 1372403761, 1372403752]} final : False mtd_id 4302 list_pids : [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] 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, '3302263') ('4302', '25017204', '1372404589', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404585', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404580', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404576', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404570', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404562', None, None, None, None, None, '3302263') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 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', '25017204', '1372404589', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404585', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404580', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404576', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404570', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404562', None, None, None, None, None, '3302263')] time used for this insertion : 0.03327775001525879 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.202173709869385 time spend to save output : 0.03346753120422363 total time spend for step 4 : 4.235641241073608 step5:split_time_score Thu Jul 17 13:33:39 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 : ['25017204'] 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 : [('25017204',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25017204) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1372404562: {'path': 'temp/1752752015_216158_1372404562_c000ce8dcc68965d387e23a0a19ec837.jpg', 'extension': 'jpg'}, 1372404570: {'path': 'temp/1752752015_216158_1372404570_6c1e4a7fb245682b3389cfbce4422717.jpg', 'extension': 'jpg'}, 1372404576: {'path': 'temp/1752752015_216158_1372404576_043c614c442565ad8a31198d410ef058.jpg', 'extension': 'jpg'}, 1372404580: {'path': 'temp/1752752015_216158_1372404580_cb227cade056c2f9b74dfb5cbfc25fec.jpg', 'extension': 'jpg'}, 1372404585: {'path': 'temp/1752752015_216158_1372404585_bc1a749be54908117569837c4afc8c33.jpg', 'extension': 'jpg'}, 1372404589: {'path': 'temp/1752752015_216158_1372404589_272709ff0f0b33e72cfedd241778022d.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 = 25017204; (('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 = 25017204 group by h (('13', 90),) 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=25017204 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 (25017204) 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 (25017204) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17072025 25017204 Nombre de photos uploadées : 90 / 23040 (0%) 17072025 25017204 Nombre de photos taguées (types de déchets): 0 / 90 (0%) 17072025 25017204 Nombre de photos taguées (volume) : 0 / 90 (0%) [{'photo_id': 1372403784, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/38e343afd1a91f13d6a7b89860e02999.jpg', 'username': None, 'uploaded_at': 1752750963, 'text': 'image_17072025_13_15_04_10200.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1372403781, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/c2c362c79818dd204ed0874126a297f7.jpg', 'username': None, 'uploaded_at': 1752750963, 'text': 'image_17072025_13_15_14_10137.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1372403778, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/8fca1305f8eec127ee07fc9f470efa25.jpg', 'username': None, 'uploaded_at': 1752750963, 'text': 'image_17072025_13_15_24_10135.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1372403767, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/17/f71d49e3fe5e6b298ed65d6ba2fd1f7d.jpg', 'username': None, 'uploaded_at': 1752750963, 'text': 'image_17072025_13_15_35_10149.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0038940906524658203 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25017204, '2025-07-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1984281,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.06831836700439453 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= 1984281 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008147, 'dashboard_result_id': 12647966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008147_17-07-2025_10_22_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009992, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008149, 'dashboard_result_id': 12647967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008149_17-07-2025_10_23_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010053, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008152, 'dashboard_result_id': 12647968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008152_17-07-2025_10_22_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009944, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008154, 'dashboard_result_id': 12647969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008154_17-07-2025_10_20_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009839, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008157, 'dashboard_result_id': 12647970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008157_17-07-2025_10_21_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009919, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008161, 'dashboard_result_id': 12647971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008161_17-07-2025_10_20_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009759, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008164, 'dashboard_result_id': 12647972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008164_17-07-2025_10_03_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008454, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008167, 'dashboard_result_id': 12647973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008167_17-07-2025_10_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008434, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008172, 'dashboard_result_id': 12647974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008172_17-07-2025_10_19_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25009718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009729, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008200, 'dashboard_result_id': 12647975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008200_17-07-2025_10_18_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009652, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008205, 'dashboard_result_id': 12647976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008205_17-07-2025_10_16_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009505, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008210, 'dashboard_result_id': 12647977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008210_17-07-2025_10_18_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009602, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008214, 'dashboard_result_id': 12647978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008214_17-07-2025_10_16_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009433, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008219, 'dashboard_result_id': 12647979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008219_17-07-2025_10_14_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009319, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008222, 'dashboard_result_id': 12647980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008222_17-07-2025_10_15_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009406, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008227, 'dashboard_result_id': 12647981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008227_17-07-2025_10_14_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009291, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008232, 'dashboard_result_id': 12647982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008232_17-07-2025_10_12_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009208, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008260, 'dashboard_result_id': 12647983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008260_17-07-2025_10_13_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009265, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008264, 'dashboard_result_id': 12647984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008264_17-07-2025_10_12_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009155, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008267, 'dashboard_result_id': 12647985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008267_17-07-2025_10_11_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009037, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008270, 'dashboard_result_id': 12647986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008270_17-07-2025_10_11_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25009110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009121, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008274, 'dashboard_result_id': 12647987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008274_17-07-2025_10_10_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008960, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008277, 'dashboard_result_id': 12647988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008277_17-07-2025_10_08_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008836, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008280, 'dashboard_result_id': 12647989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008280_17-07-2025_10_09_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008930, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008287, 'dashboard_result_id': 12647990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008287_17-07-2025_10_08_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008808, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008303, 'dashboard_result_id': 12647991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008303_17-07-2025_10_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008678, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008322, 'dashboard_result_id': 12647992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008322_17-07-2025_10_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008779, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008356, 'dashboard_result_id': 12647993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008356_17-07-2025_10_06_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008624, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008391, 'dashboard_result_id': 12647994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008391_17-07-2025_10_05_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25008583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008594, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008413, 'dashboard_result_id': 12647995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008413_17-07-2025_10_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008522, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25002203, 'dashboard_result_id': 12647996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002203_17-07-2025_08_29_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002260, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25002075, 'dashboard_result_id': 12647997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002075_17-07-2025_08_28_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25002145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002156, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25002077, 'dashboard_result_id': 12647998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002077_17-07-2025_08_27_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002093, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25002079, 'dashboard_result_id': 12647999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002079_17-07-2025_08_31_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002125, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25002443, 'dashboard_result_id': 12648000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002494, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25003434, 'dashboard_result_id': 12648001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25003501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25003502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25003503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25003504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25003505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25003506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25003507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25003508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25003509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25003510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25003511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25003512, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25004439, 'dashboard_result_id': 12648002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25004449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25004450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25004451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25004452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25004453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25004454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25004455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25004456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25004457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25004458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25004459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25004460, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25005719, 'dashboard_result_id': 12648003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25005772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25005773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25005774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25005775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25005776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25005778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25005779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25005780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25005781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25005782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25005783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25005784, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25006846, 'dashboard_result_id': 12648004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25006932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25006933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25006934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25006935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25006936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25006937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25006938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25006939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25006940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25006941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25006942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25006943, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25007701, 'dashboard_result_id': 12648005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25007732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25007733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25007734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25007735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25007736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25007737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25007738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25007739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25007740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25007741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25007742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25007743, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25008283, 'dashboard_result_id': 12648006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008334, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25009518, 'dashboard_result_id': 12648007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009569, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25010387, 'dashboard_result_id': 12648008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010432, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25011137, 'dashboard_result_id': 12648009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25011160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011167, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25011663, 'dashboard_result_id': 12648010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25011683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011694, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25012433, 'dashboard_result_id': 12648011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25012455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25012456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25012457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25012458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25012459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25012460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25012461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25012462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25012463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25012464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25012466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25012467, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25013051, 'dashboard_result_id': 12648012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25013070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013082, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25013653, 'dashboard_result_id': 12648013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25013686, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25014147, 'dashboard_result_id': 12648014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014176, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25014813, 'dashboard_result_id': 12648015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014845, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25015429, 'dashboard_result_id': 12648016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25015437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25015438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25015439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25015440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25015441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25015442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25015443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25015444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25015445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25015446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25015447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25015448, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25016032, 'dashboard_result_id': 12648017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25016061, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25016560, 'dashboard_result_id': 12648018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25016574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016586, 'pht': 3726}}"}, {'dashboat_entry_day': 1984281, 'dashboard_run_id': 1992341, 'mtr_portfolio_id': 25017204, 'dashboard_result_id': 12648019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_29_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017235, '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 = 25008147 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 = 25008147 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 = 25008147 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008147 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 = 25008147 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 = 25008147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008147_17-07-2025_10_22_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008147_17-07-2025_10_22_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009992, 'pht': 3726}}" where mtr_portfolio_id = 25008147 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008149 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 = 25008149 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 = 25008149 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008149 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 = 25008149 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 = 25008149 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008149_17-07-2025_10_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008149 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008149_17-07-2025_10_23_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010049, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010052, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010053, 'pht': 3726}}" where mtr_portfolio_id = 25008149 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008152 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 = 25008152 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 = 25008152 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008152 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 = 25008152 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 = 25008152 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008152_17-07-2025_10_22_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008152 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008152_17-07-2025_10_22_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009933, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009944, 'pht': 3726}}" where mtr_portfolio_id = 25008152 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008154 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 = 25008154 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 = 25008154 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008154 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 = 25008154 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 = 25008154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008154_17-07-2025_10_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008154_17-07-2025_10_20_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009832, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009839, 'pht': 3726}}" where mtr_portfolio_id = 25008154 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008157 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 = 25008157 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 = 25008157 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008157 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 = 25008157 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 = 25008157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008157_17-07-2025_10_21_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008157_17-07-2025_10_21_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009908, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009913, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009916, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009917, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009919, 'pht': 3726}}" where mtr_portfolio_id = 25008157 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008161 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 = 25008161 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 = 25008161 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008161 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 = 25008161 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 = 25008161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008161_17-07-2025_10_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008161 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008161_17-07-2025_10_20_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009748, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009755, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009759, 'pht': 3726}}" where mtr_portfolio_id = 25008161 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008164 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 = 25008164 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 = 25008164 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008164 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 = 25008164 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 = 25008164 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008164_17-07-2025_10_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008164 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008164_17-07-2025_10_03_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008435, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008454, 'pht': 3726}}" where mtr_portfolio_id = 25008164 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008167 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 = 25008167 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 = 25008167 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008167 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 = 25008167 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 = 25008167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008167_17-07-2025_10_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008167_17-07-2025_10_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008423, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008434, 'pht': 3726}}" where mtr_portfolio_id = 25008167 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008172 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 = 25008172 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 = 25008172 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008172 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 = 25008172 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 = 25008172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008172_17-07-2025_10_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008172_17-07-2025_10_19_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25009718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009725, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009729, 'pht': 3726}}" where mtr_portfolio_id = 25008172 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008200 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 = 25008200 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 = 25008200 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008200 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 = 25008200 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 = 25008200 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008200_17-07-2025_10_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008200 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008200_17-07-2025_10_18_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009644, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009652, 'pht': 3726}}" where mtr_portfolio_id = 25008200 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008205 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 = 25008205 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 = 25008205 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008205 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 = 25008205 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 = 25008205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008205_17-07-2025_10_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008205 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008205_17-07-2025_10_16_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009505, 'pht': 3726}}" where mtr_portfolio_id = 25008205 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008210 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 = 25008210 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 = 25008210 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008210 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 = 25008210 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 = 25008210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008210_17-07-2025_10_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008210_17-07-2025_10_18_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009602, 'pht': 3726}}" where mtr_portfolio_id = 25008210 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008214 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 = 25008214 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 = 25008214 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008214 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 = 25008214 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 = 25008214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008214_17-07-2025_10_16_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008214_17-07-2025_10_16_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009429, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009433, 'pht': 3726}}" where mtr_portfolio_id = 25008214 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008219 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 = 25008219 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 = 25008219 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008219 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 = 25008219 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 = 25008219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008219_17-07-2025_10_14_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008219 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008219_17-07-2025_10_14_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009319, 'pht': 3726}}" where mtr_portfolio_id = 25008219 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008222 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 = 25008222 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 = 25008222 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008222 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 = 25008222 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 = 25008222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008222_17-07-2025_10_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008222_17-07-2025_10_15_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009405, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009406, 'pht': 3726}}" where mtr_portfolio_id = 25008222 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008227 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 = 25008227 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 = 25008227 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008227 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 = 25008227 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 = 25008227 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008227_17-07-2025_10_14_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008227 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008227_17-07-2025_10_14_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009288, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009291, 'pht': 3726}}" where mtr_portfolio_id = 25008227 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008232 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 = 25008232 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 = 25008232 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008232 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 = 25008232 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 = 25008232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008232_17-07-2025_10_12_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008232_17-07-2025_10_12_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009208, 'pht': 3726}}" where mtr_portfolio_id = 25008232 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008260 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 = 25008260 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 = 25008260 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008260 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 = 25008260 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 = 25008260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008260_17-07-2025_10_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008260_17-07-2025_10_13_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009259, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009262, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009265, 'pht': 3726}}" where mtr_portfolio_id = 25008260 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008264 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 = 25008264 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 = 25008264 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008264 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 = 25008264 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 = 25008264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008264_17-07-2025_10_12_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008264_17-07-2025_10_12_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009155, 'pht': 3726}}" where mtr_portfolio_id = 25008264 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008267 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 = 25008267 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 = 25008267 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008267 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 = 25008267 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 = 25008267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008267_17-07-2025_10_11_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008267_17-07-2025_10_11_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009029, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009036, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009037, 'pht': 3726}}" where mtr_portfolio_id = 25008267 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008270 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 = 25008270 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 = 25008270 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008270 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 = 25008270 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 = 25008270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008270_17-07-2025_10_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008270_17-07-2025_10_11_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25009110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009113, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009116, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009121, 'pht': 3726}}" where mtr_portfolio_id = 25008270 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008274 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 = 25008274 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 = 25008274 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008274 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 = 25008274 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 = 25008274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008274_17-07-2025_10_10_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008274 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008274_17-07-2025_10_10_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008954, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008955, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008960, 'pht': 3726}}" where mtr_portfolio_id = 25008274 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008277 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 = 25008277 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 = 25008277 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008277 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 = 25008277 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 = 25008277 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008277_17-07-2025_10_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008277 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008277_17-07-2025_10_08_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008828, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008836, 'pht': 3726}}" where mtr_portfolio_id = 25008277 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008280 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 = 25008280 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 = 25008280 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008280 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 = 25008280 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 = 25008280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008280_17-07-2025_10_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008280_17-07-2025_10_09_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008923, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008928, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008930, 'pht': 3726}}" where mtr_portfolio_id = 25008280 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008287 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 = 25008287 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 = 25008287 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008287 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 = 25008287 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 = 25008287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008287_17-07-2025_10_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008287_17-07-2025_10_08_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008808, 'pht': 3726}}" where mtr_portfolio_id = 25008287 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008303 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 = 25008303 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 = 25008303 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008303 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 = 25008303 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 = 25008303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008303_17-07-2025_10_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008303_17-07-2025_10_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008678, 'pht': 3726}}" where mtr_portfolio_id = 25008303 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008322 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 = 25008322 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 = 25008322 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008322 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 = 25008322 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 = 25008322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008322_17-07-2025_10_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008322_17-07-2025_10_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008775, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008779, 'pht': 3726}}" where mtr_portfolio_id = 25008322 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008356 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 = 25008356 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 = 25008356 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008356 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 = 25008356 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 = 25008356 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008356_17-07-2025_10_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008356 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008356_17-07-2025_10_06_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008615, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008620, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008623, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008624, 'pht': 3726}}" where mtr_portfolio_id = 25008356 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008391 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 = 25008391 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 = 25008391 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008391 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 = 25008391 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 = 25008391 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008391_17-07-2025_10_05_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008391 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008391_17-07-2025_10_05_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25008583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008592, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008594, 'pht': 3726}}" where mtr_portfolio_id = 25008391 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008413 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 = 25008413 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 = 25008413 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25008413 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 = 25008413 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 = 25008413 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008413_17-07-2025_10_04_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008413 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008413_17-07-2025_10_04_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25008511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008512, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008521, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008522, 'pht': 3726}}" where mtr_portfolio_id = 25008413 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002203 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 = 25002203 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 = 25002203 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002203 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 = 25002203 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 = 25002203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002203_17-07-2025_08_29_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002203 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002203_17-07-2025_08_29_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002249, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002260, 'pht': 3726}}" where mtr_portfolio_id = 25002203 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002075 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 = 25002075 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 = 25002075 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002075 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 = 25002075 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 = 25002075 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002075_17-07-2025_08_28_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002075 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002075_17-07-2025_08_28_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25002145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002156, 'pht': 3726}}" where mtr_portfolio_id = 25002075 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002077 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 = 25002077 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 = 25002077 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002077 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 = 25002077 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 = 25002077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002077_17-07-2025_08_27_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002077_17-07-2025_08_27_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002093, 'pht': 3726}}" where mtr_portfolio_id = 25002077 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002079 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 = 25002079 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 = 25002079 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002079 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 = 25002079 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 = 25002079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002079_17-07-2025_08_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002079 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002079_17-07-2025_08_31_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002117, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002124, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002125, 'pht': 3726}}" where mtr_portfolio_id = 25002079 and dashboard_run_id = 1992341 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25002443 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': 3300133, 'mtr_portfolio_id': 25002443, 'created_at': datetime.datetime(2025, 7, 17, 8, 47), 'result': '0.05916591403407526', 'result_long': None, 'result_double': None}] Qualite : 0.05916591403407526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25002443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002494, 'pht': 3726}}" where mtr_portfolio_id = 25002443 and dashboard_run_id = 1992341 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`=25002443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648000, 0.05916591403407526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002443_17-07-2025_08_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25002482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25002483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25002484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25002485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25002487, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25002488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25002489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25002490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25002491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25002492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25002493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25002494, '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 = 25003434 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': 3300516, 'mtr_portfolio_id': 25003434, 'created_at': datetime.datetime(2025, 7, 17, 9, 0, 57), 'result': '0.023980343794961743', 'result_long': None, 'result_double': None}] Qualite : 0.023980343794961743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25003434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25003434 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25003501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25003502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25003503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25003504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25003505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25003506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25003507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25003508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25003509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25003510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25003511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25003512, 'pht': 3726}}" where mtr_portfolio_id = 25003434 and dashboard_run_id = 1992341 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`=25003434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648001, 0.023980343794961743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25003434_17-07-2025_09_00_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25003501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25003502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25003503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25003504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25003505, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25003506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25003507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25003508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25003509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25003510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25003511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25003512, '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 = 25004439 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': 3300879, 'mtr_portfolio_id': 25004439, 'created_at': datetime.datetime(2025, 7, 17, 9, 16, 59), 'result': '0.011805915452353292', 'result_long': None, 'result_double': None}] Qualite : 0.011805915452353292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25004439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004439 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25004449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25004450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25004451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25004452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25004453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25004454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25004455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25004456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25004457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25004458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25004459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25004460, 'pht': 3726}}" where mtr_portfolio_id = 25004439 and dashboard_run_id = 1992341 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`=25004439 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648002, 0.011805915452353292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004439_17-07-2025_09_17_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25004449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25004450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25004451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25004452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25004453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25004454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25004455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25004456, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25004457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25004458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25004459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25004460, '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 = 25005719 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': 3301011, 'mtr_portfolio_id': 25005719, 'created_at': datetime.datetime(2025, 7, 17, 9, 32, 59), 'result': '0.01694796983891038', 'result_long': None, 'result_double': None}] Qualite : 0.01694796983891038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25005719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25005719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25005772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25005773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25005774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25005775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25005776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25005778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25005779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25005780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25005781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25005782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25005783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25005784, 'pht': 3726}}" where mtr_portfolio_id = 25005719 and dashboard_run_id = 1992341 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`=25005719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648003, 0.01694796983891038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25005719_17-07-2025_09_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25005772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25005773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25005774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25005775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25005776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25005778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25005779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25005780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25005781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25005782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25005783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25005784, '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 = 25006846 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': 3301126, 'mtr_portfolio_id': 25006846, 'created_at': datetime.datetime(2025, 7, 17, 9, 46, 29), 'result': '0.038287588933618305', 'result_long': None, 'result_double': None}] Qualite : 0.038287588933618305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25006846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006846 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25006932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25006933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25006934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25006935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25006936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25006937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25006938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25006939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25006940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25006941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25006942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25006943, 'pht': 3726}}" where mtr_portfolio_id = 25006846 and dashboard_run_id = 1992341 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`=25006846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648004, 0.038287588933618305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006846_17-07-2025_09_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25006932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25006933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25006934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25006935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25006936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25006937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25006938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25006939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25006940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25006941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25006942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25006943, '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 = 25007701 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': 3301228, 'mtr_portfolio_id': 25007701, 'created_at': datetime.datetime(2025, 7, 17, 10, 0, 59), 'result': '0.01982506890539096', 'result_long': None, 'result_double': None}] Qualite : 0.01982506890539096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25007701 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25007701 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25007732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25007733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25007734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25007735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25007736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25007737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25007738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25007739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25007740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25007741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25007742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25007743, 'pht': 3726}}" where mtr_portfolio_id = 25007701 and dashboard_run_id = 1992341 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`=25007701 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648005, 0.01982506890539096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25007701_17-07-2025_10_00_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25007732, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25007733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25007734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25007735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25007736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25007737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25007738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25007739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25007740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25007741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25007742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25007743, '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 = 25008283 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': 3301340, 'mtr_portfolio_id': 25008283, 'created_at': datetime.datetime(2025, 7, 17, 10, 17), 'result': '0.043391708535039736', 'result_long': None, 'result_double': None}] Qualite : 0.043391708535039736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25008283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25008283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008334, 'pht': 3726}}" where mtr_portfolio_id = 25008283 and dashboard_run_id = 1992341 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`=25008283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648006, 0.043391708535039736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25008283_17-07-2025_10_17_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25008323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25008324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25008325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25008326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25008327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25008328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25008329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25008330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25008331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25008332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25008333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25008334, '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 = 25009518 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': 3301459, 'mtr_portfolio_id': 25009518, 'created_at': datetime.datetime(2025, 7, 17, 10, 33, 33), 'result': '0.0457864050311206', 'result_long': None, 'result_double': None}] Qualite : 0.0457864050311206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25009518 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25009518 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009569, 'pht': 3726}}" where mtr_portfolio_id = 25009518 and dashboard_run_id = 1992341 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`=25009518 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648007, 0.0457864050311206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25009518_17-07-2025_10_33_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25009558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25009559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25009560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25009561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25009562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25009563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25009564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25009565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25009566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25009567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25009568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25009569, '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 = 25010387 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': 3301552, 'mtr_portfolio_id': 25010387, 'created_at': datetime.datetime(2025, 7, 17, 10, 47, 4), 'result': '0.04088401981028928', 'result_long': None, 'result_double': None}] Qualite : 0.04088401981028928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25010387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010432, 'pht': 3726}}" where mtr_portfolio_id = 25010387 and dashboard_run_id = 1992341 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`=25010387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648008, 0.04088401981028928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010387_17-07-2025_10_47_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25010412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25010415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25010417, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25010419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25010420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25010422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25010424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25010426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25010427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25010429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25010431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25010432, '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 = 25011137 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': 3301629, 'mtr_portfolio_id': 25011137, 'created_at': datetime.datetime(2025, 7, 17, 11, 0, 59), 'result': '0.048123256636366386', 'result_long': None, 'result_double': None}] Qualite : 0.048123256636366386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25011137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25011160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011167, 'pht': 3726}}" where mtr_portfolio_id = 25011137 and dashboard_run_id = 1992341 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`=25011137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648009, 0.048123256636366386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011137_17-07-2025_11_00_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25011160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011167, '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 = 25011663 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': 3301695, 'mtr_portfolio_id': 25011663, 'created_at': datetime.datetime(2025, 7, 17, 11, 17, 2), 'result': '0.04866505297927631', 'result_long': None, 'result_double': None}] Qualite : 0.04866505297927631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25011663 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011663 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25011683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011694, 'pht': 3726}}" where mtr_portfolio_id = 25011663 and dashboard_run_id = 1992341 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`=25011663 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648010, 0.04866505297927631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011663_17-07-2025_11_17_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25011683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25011684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25011685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25011686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25011687, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25011688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25011689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25011690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25011691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25011692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25011693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25011694, '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 = 25012433 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': 3301770, 'mtr_portfolio_id': 25012433, 'created_at': datetime.datetime(2025, 7, 17, 11, 31), 'result': '0.056582050956695', 'result_long': None, 'result_double': None}] Qualite : 0.056582050956695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25012433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25012433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25012455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25012456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25012457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25012458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25012459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25012460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25012461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25012462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25012463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25012464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25012466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25012467, 'pht': 3726}}" where mtr_portfolio_id = 25012433 and dashboard_run_id = 1992341 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`=25012433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648011, 0.056582050956695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25012433_17-07-2025_11_31_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25012455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25012456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25012457, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25012458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25012459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25012460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25012461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25012462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25012463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25012464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25012466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25012467, '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 = 25013051 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': 3301832, 'mtr_portfolio_id': 25013051, 'created_at': datetime.datetime(2025, 7, 17, 11, 46, 57), 'result': '0.04811564356903397', 'result_long': None, 'result_double': None}] Qualite : 0.04811564356903397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25013051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25013051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25013070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013082, 'pht': 3726}}" where mtr_portfolio_id = 25013051 and dashboard_run_id = 1992341 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`=25013051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648012, 0.04811564356903397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013051_17-07-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25013070, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013075, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013080, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013082, '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 = 25013653 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': 3301888, 'mtr_portfolio_id': 25013653, 'created_at': datetime.datetime(2025, 7, 17, 12, 1, 1), 'result': '0.04720228267334727', 'result_long': None, 'result_double': None}] Qualite : 0.04720228267334727 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25013653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25013653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25013686, 'pht': 3726}}" where mtr_portfolio_id = 25013653 and dashboard_run_id = 1992341 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`=25013653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648013, 0.04720228267334727, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25013653_17-07-2025_12_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25013675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25013676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25013677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25013678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25013679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25013680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25013681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25013682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25013683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25013684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25013685, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25013686, '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 = 25014147 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': 3301948, 'mtr_portfolio_id': 25014147, 'created_at': datetime.datetime(2025, 7, 17, 12, 16, 59), 'result': '0.040628211381162245', 'result_long': None, 'result_double': None}] Qualite : 0.040628211381162245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25014147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25014147 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014176, 'pht': 3726}}" where mtr_portfolio_id = 25014147 and dashboard_run_id = 1992341 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`=25014147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648014, 0.040628211381162245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014147_17-07-2025_12_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014169, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014176, '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 = 25014813 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': 3301999, 'mtr_portfolio_id': 25014813, 'created_at': datetime.datetime(2025, 7, 17, 12, 33, 4), 'result': '0.041738666267357', 'result_long': None, 'result_double': None}] Qualite : 0.041738666267357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25014813 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25014813 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014845, 'pht': 3726}}" where mtr_portfolio_id = 25014813 and dashboard_run_id = 1992341 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`=25014813 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648015, 0.041738666267357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25014813_17-07-2025_12_33_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25014833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25014834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25014835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25014836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25014837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25014839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25014840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25014841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25014842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25014843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25014844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25014845, '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 = 25015429 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': 3302073, 'mtr_portfolio_id': 25015429, 'created_at': datetime.datetime(2025, 7, 17, 12, 47), 'result': '0.04163784746174679', 'result_long': None, 'result_double': None}] Qualite : 0.04163784746174679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25015429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25015437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25015438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25015439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25015440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25015441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25015442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25015443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25015444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25015445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25015446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25015447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25015448, 'pht': 3726}}" where mtr_portfolio_id = 25015429 and dashboard_run_id = 1992341 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`=25015429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648016, 0.04163784746174679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015429_17-07-2025_12_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25015437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25015438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25015439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25015440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25015441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25015442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25015443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25015444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25015445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25015446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25015447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25015448, '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 = 25016032 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': 3302135, 'mtr_portfolio_id': 25016032, 'created_at': datetime.datetime(2025, 7, 17, 13, 1, 1), 'result': '0.05778000443977504', 'result_long': None, 'result_double': None}] Qualite : 0.05778000443977504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25016032 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25016032 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25016061, 'pht': 3726}}" where mtr_portfolio_id = 25016032 and dashboard_run_id = 1992343 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`=25016032 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648017, 0.05778000443977504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016032_17-07-2025_13_01_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25016061, '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 = 25016560 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': 3302211, 'mtr_portfolio_id': 25016560, 'created_at': datetime.datetime(2025, 7, 17, 13, 16, 59), 'result': '0.04065036524067425', 'result_long': None, 'result_double': None}] Qualite : 0.04065036524067425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25016560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25016560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25016574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016586, 'pht': 3726}}" where mtr_portfolio_id = 25016560 and dashboard_run_id = 1992343 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`=25016560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648018, 0.04065036524067425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25016560_17-07-2025_13_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25016574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25016575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25016576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25016577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25016578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25016580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25016581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25016582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25016583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25016584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25016585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25016586, '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 = 25017204 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': 3302263, 'mtr_portfolio_id': 25017204, 'created_at': datetime.datetime(2025, 7, 17, 13, 33, 34), 'result': '0.03285215299785539', 'result_long': None, 'result_double': None}] Qualite : 0.03285215299785539 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25017204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017235, 'pht': 3726}}" where mtr_portfolio_id = 25017204 and dashboard_run_id = 1992343 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`=25017204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (12648019, 0.03285215299785539, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017204_17-07-2025_13_33_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25017224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25017225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25017226, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25017227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25017228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25017229, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25017230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25017231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25017232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25017233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25017234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25017235, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25008147,25008149,25008152,25008154,25008157,25008161,25008164,25008167,25008172,25008200,25008205,25008210,25008214,25008219,25008222,25008227,25008232,25008260,25008264,25008267,25008270,25008274,25008277,25008280,25008287,25008303,25008322,25008356,25008391,25008413,25002203,25002075,25002077,25002079,25002443,25003434,25004439,25005719,25006846,25007701,25008283,25009518,25010387,25011137,25011663,25012433,25013051,25013653,25014147,25014813,25015429,25016032,25016560,25017204) result : ((1372350974,), (1372350976,), (1372350978,), (1372350981,), (1372350984,), (1372350986,), (1372351019,), (1372351021,), (1372351023,), (1372351026,), (1372351028,), (1372351030,), (1372351056,), (1372351061,), (1372351065,), (1372351068,), (1372351071,), (1372351074,), (1372351097,), (1372351101,), (1372351104,), (1372351106,), (1372351110,), (1372351113,), (1372351139,), (1372351141,), (1372351144,), (1372351148,), (1372351150,), (1372351152,), (1372351181,), (1372351184,), (1372351187,), (1372351188,), (1372351190,), (1372351193,), (1372351226,), (1372351229,), (1372351231,), (1372351235,), (1372351237,), (1372351239,), (1372351261,), (1372351262,), (1372351264,), (1372351266,), (1372351268,), (1372351269,), (1372351297,), (1372351299,), (1372351302,), (1372351304,), (1372351306,), (1372351308,), (1372351329,), (1372351331,), (1372351332,), (1372351334,), (1372351335,), (1372351338,), (1372351369,), (1372351372,), (1372351374,), (1372351376,), (1372351377,), (1372351379,), (1372351401,), (1372351403,), (1372351406,), (1372351409,), (1372351411,), (1372351415,), (1372351444,), (1372351447,), (1372351449,), (1372351453,), (1372351455,), (1372351457,), (1372351531,), (1372351542,), (1372351545,), (1372351547,), (1372351549,), (1372351551,), (1372351573,), (1372351576,), (1372351578,), (1372351580,), (1372351583,), (1372351586,), (1372351609,), (1372351611,), (1372351612,), (1372351614,), (1372351615,), (1372351619,), (1372351642,), (1372351643,), (1372351647,), (1372351662,), (1372351666,), (1372351670,), (1372351688,), (1372351690,), (1372351692,), (1372351694,), (1372351696,), (1372351698,), (1372351724,), (1372351727,), (1372351730,), (1372351733,), (1372351735,), (1372351737,), (1372351761,), (1372351762,), (1372351765,), (1372351768,), (1372351770,), (1372351772,), (1372351795,), (1372351798,), (1372351801,), (1372351804,), (1372351807,), (1372351811,), (1372351831,), (1372351834,), (1372351835,), (1372351838,), (1372351840,), (1372351842,), (1372351877,), (1372351879,), (1372351880,), (1372351882,), (1372351883,), (1372351885,), (1372351913,), (1372351915,), (1372351918,), (1372351921,), (1372351923,), (1372351926,), (1372351948,), (1372351950,), (1372351954,), (1372351960,), (1372351965,), (1372351968,), (1372351995,), (1372351998,), (1372352000,), (1372352002,), (1372352004,), (1372352007,), (1372352038,), (1372352039,), (1372352041,), (1372352043,), (1372352046,), (1372352048,), (1372352068,), (1372352070,), (1372352072,), (1372352074,), (1372352077,), (1372352079,), (1372352098,), (1372352100,), (1372352103,), (1372352105,), (1372352109,), (1372352114,), (1372352143,), (1372352145,), (1372352146,), (1372352148,), (1372352150,), (1372352152,), (1372352183,), (1372352185,), (1372352188,), (1372352190,), (1372352191,), (1372352193,), (1372352223,), (1372352225,), (1372352229,), (1372352234,), (1372352235,), (1372352239,), (1372352267,), (1372352270,), (1372352272,), (1372352274,), (1372352276,), (1372352278,), (1372352303,), (1372352305,), (1372352308,), (1372352311,), (1372352314,), (1372352316,), (1372352351,), (1372352354,), (1372352357,), (1372352359,), (1372352361,), (1372352363,), (1372352390,), (1372352392,), (1372352393,), (1372352395,), (1372352397,), (1372352399,), (1372352429,), (1372352431,), (1372352433,), (1372352436,), (1372352437,), (1372352439,), (1372352466,), (1372352470,), (1372352472,), (1372352475,), (1372352478,), (1372352480,), (1372352506,), (1372352507,), (1372352509,), (1372352511,), (1372352512,), (1372352515,), (1372352547,), (1372352548,), (1372352549,), (1372352550,), (1372352551,), (1372352554,), (1372352586,), (1372352587,), (1372352589,), (1372352591,), (1372352593,), (1372352595,), (1372352620,), (1372352623,), (1372352626,), (1372352629,), (1372352631,), (1372352633,), (1372352653,), (1372352656,), (1372352657,), (1372352661,), (1372352662,), (1372352664,), (1372350406,), (1372350408,), (1372350411,), (1372350415,), (1372350418,), (1372350422,), (1372350445,), (1372350448,), (1372350450,), (1372350452,), (1372350455,), (1372350458,), (1372350477,), (1372350481,), (1372350483,), (1372350486,), (1372350491,), (1372350495,), (1372350515,), (1372350519,), (1372350522,), (1372350524,), (1372350527,), (1372350530,), (1372350555,), (1372350558,), (1372350562,), (1372350564,), (1372350567,), (1372350569,), (1372350588,), (1372350589,), (1372350592,), (1372350595,), (1372350596,), (1372350598,), (1372350617,), (1372350620,), (1372350623,), (1372350629,), (1372350632,), (1372350635,), (1372350659,), (1372350661,), (1372350663,), (1372350666,), (1372350668,), (1372350672,), (1372350698,), (1372350701,), (1372350706,), (1372350708,), (1372350710,), (1372350712,), (1372350742,), (1372350744,), (1372350746,), (1372350749,), (1372350751,), (1372350753,), (1372350777,), (1372350778,), (1372350781,), (1372350784,), (1372350786,), (1372350789,), (1372350818,), (1372350823,), (1372350827,), (1372350829,), (1372350833,), (1372350836,), (1372350852,), (1372350855,), (1372350856,), (1372350859,), (1372350862,), (1372350865,), (1372350896,), (1372350897,), (1372350900,), (1372350902,), (1372350904,), (1372350909,), (1372350934,), (1372350936,), (1372350938,), (1372350940,), (1372350942,), (1372350944,), (1372352706,), (1372352727,), (1372352731,), (1372352734,), (1372352736,), (1372352740,), (1372352785,), (1372352789,), (1372352791,), (1372352794,), (1372352795,), (1372352798,), (1372352824,), (1372352827,), (1372352830,), (1372352833,), (1372352837,), (1372352839,), (1372352899,), (1372352902,), (1372352907,), (1372352911,), (1372352916,), (1372352921,), (1372352954,), (1372352968,), (1372352971,), (1372352975,), (1372352979,), (1372352982,), (1372353112,), (1372353118,), (1372353120,), (1372353149,), (1372353178,), (1372353187,), (1372353208,), (1372353212,), (1372353214,), (1372353217,), (1372353219,), (1372353223,), (1372353305,), (1372353310,), (1372353337,), (1372353345,), (1372353347,), (1372353349,), (1372353430,), (1372353432,), (1372353434,), (1372353437,), (1372353438,), (1372353441,), (1372353469,), (1372353472,), (1372353474,), (1372353478,), (1372353479,), (1372353482,), (1372353539,), (1372353541,), (1372353545,), (1372353549,), (1372353551,), (1372353553,), (1372353608,), (1372353631,), (1372353635,), (1372353637,), (1372353640,), (1372353643,), (1372353772,), (1372353775,), (1372353784,), (1372353811,), (1372353824,), (1372353828,), (1372354106,), (1372354144,), (1372354172,), (1372354188,), (1372354210,), (1372354217,), (1372354391,), (1372354662,), (1372354666,), (1372354667,), (1372354669,), (1372354670,), (1372354675,), (1372354795,), (1372354797,), (1372354799,), (1372354802,), (1372354803,), (1372354805,), (1372354833,), (1372354836,), (1372354840,), (1372354843,), (1372354845,), (1372354847,), (1372354883,), (1372354886,), (1372354889,), (1372354892,), (1372354893,), (1372354910,), (1372354977,), (1372355023,), (1372355051,), (1372355077,), (1372355085,), (1372355088,), (1372355313,), (1372355352,), (1372355363,), (1372355373,), (1372355378,), (1372355384,), (1372355444,), (1372355453,), (1372355458,), (1372355461,), (1372355464,), (1372355467,), (1372355509,), (1372355511,), (1372355512,), (1372355514,), (1372355517,), (1372355525,), (1372355694,), (1372355696,), (1372355704,), (1372355732,), (1372355746,), (1372355749,), (1372355781,), (1372355782,), (1372355784,), (1372355786,), (1372355787,), (1372355789,), (1372355819,), (1372355821,), (1372355822,), (1372355824,), (1372355826,), (1372355828,), (1372355856,), (1372355859,), (1372355862,), (1372355866,), (1372355868,), (1372355870,), (1372356076,), (1372356103,), (1372356132,), (1372356159,), (1372356185,), (1372356213,), (1372356877,), (1372358007,), (1372358062,), (1372358118,), (1372358170,), (1372358225,), (1372358716,), (1372358747,), (1372358776,), (1372358810,), (1372358819,), (1372358854,), (1372359555,), (1372360296,), (1372360323,), (1372360352,), (1372360379,), (1372360386,), (1372360389,), (1372360623,), (1372360654,), (1372360683,), (1372360705,), (1372360750,), (1372360787,), (1372361022,), (1372361056,), (1372361084,), (1372361112,), (1372361167,), (1372361233,), (1372361804,), (1372361856,), (1372361901,), (1372361940,), (1372361987,), (1372362025,), (1372362250,), (1372362278,), (1372362297,), (1372362304,), (1372362317,), (1372362341,), (1372362907,), (1372362982,), (1372363076,), (1372363174,), (1372363282,), (1372363363,), (1372364141,), (1372364232,), (1372364310,), (1372364337,), (1372364375,), (1372364408,), (1372364847,), (1372364887,), (1372364926,), (1372364971,), (1372365026,), (1372365095,), (1372365411,), (1372365417,), (1372365429,), (1372365436,), (1372365442,), (1372365445,), (1372365767,), (1372365794,), (1372365841,), (1372365897,), (1372365968,), (1372366028,), (1372366843,), (1372366915,), (1372366990,), (1372367070,), (1372367162,), (1372367260,), (1372368221,), (1372368297,), (1372368384,), (1372368467,), (1372368567,), (1372368660,), (1372369298,), (1372369357,), (1372369404,), (1372369423,), (1372369426,), (1372369439,), (1372369733,), (1372369759,), (1372369786,), (1372369813,), (1372369839,), (1372369876,), (1372370285,), (1372370337,), (1372370387,), (1372370437,), (1372370491,), (1372370542,), (1372371155,), (1372371254,), (1372371341,), (1372371422,), (1372371499,), (1372371558,), (1372372023,), (1372372025,), (1372372027,), (1372372072,), (1372372153,), (1372372215,), (1372372612,), (1372372640,), (1372372661,), (1372372673,), (1372372722,), (1372372757,), (1372373287,), (1372373338,), (1372373398,), (1372373447,), (1372373478,), (1372373485,), (1372373630,), (1372373632,), (1372373635,), (1372373637,), (1372373656,), (1372373682,), (1372373954,), (1372373980,), (1372374007,), (1372374035,), (1372374061,), (1372374089,), (1372374662,), (1372374711,), (1372374769,), (1372374816,), (1372374857,), (1372374883,), (1372375103,), (1372375105,), (1372375129,), (1372375149,), (1372375153,), (1372375175,), (1372375210,), (1372375211,), (1372375212,), (1372375213,), (1372375215,), (1372375217,), (1372375268,), (1372375297,), (1372375322,), (1372375353,), (1372375406,), (1372375455,), (1372376155,), (1372376223,), (1372376296,), (1372376380,), (1372376453,), (1372376538,), (1372377096,), (1372377124,), (1372377144,), (1372377174,), (1372377202,), (1372377257,), (1372377424,), (1372377427,), (1372377435,), (1372377439,), (1372377442,), (1372377445,), (1372377471,), (1372377475,), (1372377479,), (1372377480,), (1372377483,), (1372377485,), (1372377518,), (1372377519,), (1372377521,), (1372377523,), (1372377524,), (1372377527,), (1372377553,), (1372377554,), (1372377558,), (1372377559,), (1372377563,), (1372377567,), (1372377602,), (1372377606,), (1372377611,), (1372377613,), (1372377628,), (1372377643,), (1372377742,), (1372377751,), (1372377764,), (1372377790,), (1372377817,), (1372377826,), (1372377938,), (1372377941,), (1372377949,), (1372377976,), (1372378000,), (1372378002,), (1372378120,), (1372378125,), (1372378128,), (1372378130,), (1372378131,), (1372378137,), (1372378167,), (1372378169,), (1372378173,), (1372378177,), (1372378178,), (1372378181,), (1372378245,), (1372378273,), (1372378309,), (1372378342,), (1372378377,), (1372378407,), (1372378694,), (1372378710,), (1372378751,), (1372378776,), (1372378779,), (1372378782,), (1372378855,), (1372378859,), (1372378862,), (1372378864,), (1372378866,), (1372378868,), (1372378890,), (1372378893,), (1372378897,), (1372378900,), (1372378902,), (1372378904,), (1372378957,), (1372378959,), (1372378961,), (1372378963,), (1372378965,), (1372378967,), (1372378995,), (1372378997,), (1372378999,), (1372379002,), (1372379003,), (1372379005,), (1372379041,), (1372379045,), (1372379048,), (1372379050,), (1372379051,), (1372379053,), (1372379083,), (1372379084,), (1372379087,), (1372379090,), (1372379092,), (1372379094,), (1372379130,), (1372379131,), (1372379134,), (1372379137,), (1372379138,), (1372379143,), (1372379170,), (1372379171,), (1372379173,), (1372379175,), (1372379176,), (1372379179,), (1372379315,), (1372379341,), (1372379368,), (1372379395,), (1372379421,), (1372379447,), (1372379599,), (1372379601,), (1372379604,), (1372379606,), (1372379608,), (1372379611,), (1372379640,), (1372379643,), (1372379645,), (1372379647,), (1372379649,), (1372379651,), (1372379680,), (1372379682,), (1372379683,), (1372379685,), (1372379687,), (1372379690,), (1372379722,), (1372379723,), (1372379725,), (1372379726,), (1372379729,), (1372379732,), (1372379768,), (1372379769,), (1372379770,), (1372379771,), (1372379772,), (1372379774,), (1372379809,), (1372379811,), (1372379813,), (1372379814,), (1372379815,), (1372379819,), (1372379850,), (1372379853,), (1372379856,), (1372379858,), (1372379859,), (1372379861,), (1372380004,), (1372380029,), (1372380060,), (1372380086,), (1372380114,), (1372380161,), (1372381349,), (1372336273,), (1372336295,), (1372336297,), (1372336298,), (1372336300,), (1372336302,), (1372336305,), (1372336321,), (1372336325,), (1372336327,), (1372336330,), (1372336333,), (1372336335,), (1372336355,), (1372336357,), (1372336359,), (1372336361,), (1372336364,), (1372336367,), (1372336394,), (1372336423,), (1372336425,), (1372336428,), (1372336430,), (1372336433,), (1372336437,), (1372336454,), (1372336458,), (1372336461,), (1372336464,), (1372336467,), (1372336470,), (1372336488,), (1372336491,), (1372336493,), (1372336495,), (1372336499,), (1372336503,), (1372336516,), (1372336518,), (1372336519,), (1372336522,), (1372336523,), (1372336527,), (1372336549,), (1372336552,), (1372336556,), (1372336557,), (1372336561,), (1372336565,), (1372336580,), (1372336582,), (1372336585,), (1372336587,), (1372336589,), (1372336592,), (1372336614,), (1372336617,), (1372336618,), (1372336620,), (1372336621,), (1372336623,), (1372336644,), (1372336647,), (1372336649,), (1372336650,), (1372336651,), (1372336653,), (1372336680,), (1372336684,), (1372336688,), (1372336690,), (1372336692,), (1372336694,), (1372336713,), (1372336716,), (1372336721,), (1372336723,), (1372336726,), (1372336729,), (1372339918,), (1372336744,), (1372336745,), (1372336746,), (1372336747,), (1372336748,), (1372336751,), (1372336773,), (1372336775,), (1372336776,), (1372336777,), (1372336779,), (1372336781,), (1372336805,), (1372336807,), (1372336808,), (1372336810,), (1372336812,), (1372336814,), (1372336835,), (1372336838,), (1372336841,), (1372336842,), (1372336844,), (1372336846,), (1372336867,), (1372336869,), (1372336871,), (1372336873,), (1372336875,), (1372336878,), (1372336901,), (1372336903,), (1372336905,), (1372336906,), (1372336908,), (1372336910,), (1372336940,), (1372336943,), (1372336945,), (1372336948,), (1372336949,), (1372336952,), (1372336969,), (1372336973,), (1372336974,), (1372336978,), (1372336981,), (1372336984,), (1372336998,), (1372337000,), (1372337002,), (1372337005,), (1372337007,), (1372337009,), (1372337027,), (1372337031,), (1372337033,), (1372337035,), (1372337038,), (1372337041,), (1372337047,), (1372337048,), (1372337050,), (1372337051,), (1372337054,), (1372337057,), (1372337083,), (1372337084,), (1372337086,), (1372337088,), (1372337090,), (1372337092,), (1372337116,), (1372337118,), (1372337120,), (1372337122,), (1372337124,), (1372337127,), (1372337148,), (1372337151,), (1372337154,), (1372337155,), (1372337157,), (1372337159,), (1372337179,), (1372337181,), (1372337182,), (1372337184,), (1372337186,), (1372337188,), (1372337209,), (1372337210,), (1372337212,), (1372337214,), (1372337215,), (1372337217,), (1372337234,), (1372337237,), (1372337240,), (1372337243,), (1372337245,), (1372337248,), (1372337264,), (1372337268,), (1372337270,), (1372337272,), (1372337274,), (1372337276,), (1372337303,), (1372337306,), (1372337307,), (1372337309,), (1372337311,), (1372337313,), (1372337330,), (1372337333,), (1372337336,), (1372337338,), (1372337340,), (1372337343,), (1372337365,), (1372337367,), (1372337370,), (1372337372,), (1372337374,), (1372337378,), (1372337395,), (1372337396,), (1372337398,), (1372337400,), (1372337402,), (1372337404,), (1372337423,), (1372337426,), (1372337429,), (1372337433,), (1372337437,), (1372337440,), (1372337458,), (1372337459,), (1372337461,), (1372337463,), (1372337467,), (1372337470,), (1372337489,), (1372337494,), (1372337496,), (1372337499,), (1372337503,), (1372337505,), (1372337526,), (1372337529,), (1372337532,), (1372337535,), (1372337537,), (1372337539,), (1372337560,), (1372337561,), (1372337564,), (1372337567,), (1372337570,), (1372337572,), (1372337589,), (1372337619,), (1372337622,), (1372337625,), (1372337626,), (1372337628,), (1372337631,), (1372337649,), (1372337653,), (1372337656,), (1372337659,), (1372337664,), (1372337667,), (1372337686,), (1372337688,), (1372337690,), (1372337691,), (1372337694,), (1372337697,), (1372337712,), (1372337715,), (1372337718,), (1372337721,), (1372337723,), (1372337728,), (1372337752,), (1372337757,), (1372337761,), (1372337763,), (1372337767,), (1372337770,), (1372337787,), (1372337792,), (1372337793,), (1372337796,), (1372337799,), (1372337801,), (1372337816,), (1372337820,), (1372337821,), (1372337826,), (1372337829,), (1372337831,), (1372337843,), (1372337845,), (1372337848,), (1372337852,), (1372337854,), (1372337857,), (1372337871,), (1372337874,), (1372337875,), (1372337877,), (1372337879,), (1372337882,), (1372337898,), (1372337901,), (1372337903,), (1372337906,), (1372337910,), (1372337913,), (1372337927,), (1372337930,), (1372337932,), (1372337937,), (1372337942,), (1372337946,), (1372337963,), (1372337965,), (1372337967,), (1372337968,), (1372337970,), (1372337972,), (1372337994,), (1372337995,), (1372337996,), (1372337997,), (1372337998,), (1372338000,), (1372338020,), (1372338022,), (1372338024,), (1372338025,), (1372338027,), (1372338030,), (1372338057,), (1372338059,), (1372338061,), (1372338062,), (1372338064,), (1372338066,), (1372338096,), (1372338100,), (1372338103,), (1372338106,), (1372338110,), (1372338114,), (1372338133,), (1372338136,), (1372338140,), (1372338143,), (1372338146,), (1372338148,), (1372338167,), (1372338169,), (1372338170,), (1372338172,), (1372338174,), (1372338176,), (1372338187,), (1372338217,), (1372338234,), (1372338236,), (1372338238,), (1372338239,), (1372338241,), (1372338244,), (1372338258,), (1372338259,), (1372338261,), (1372338263,), (1372338264,), (1372338267,), (1372338287,), (1372338291,), (1372338293,), (1372338296,), (1372338299,), (1372338301,), (1372338320,), (1372338323,), (1372338324,), (1372338328,), (1372338331,), (1372338333,), (1372338354,), (1372338379,), (1372338381,), (1372338382,), (1372338384,), (1372338387,), (1372338389,), (1372338403,), (1372338405,), (1372338407,), (1372338408,), (1372338411,), (1372338414,), (1372338433,), (1372338434,), (1372338435,), (1372338437,), (1372338439,), (1372338443,), (1372338465,), (1372338466,), (1372338467,), (1372338468,), (1372338469,), (1372338471,), (1372338497,), (1372338498,), (1372338500,), (1372338502,), (1372338504,), (1372338508,), (1372338535,), (1372338564,), (1372338566,), (1372338568,), (1372338570,), (1372338572,), (1372338575,), (1372338596,), (1372338597,), (1372338600,), (1372338603,), (1372338605,), (1372338607,), (1372338628,), (1372338630,), (1372338632,), (1372338633,), (1372338636,), (1372338638,), (1372338652,), (1372338655,), (1372338658,), (1372338659,), (1372338662,), (1372338665,), (1372338678,), (1372338680,), (1372338681,), (1372338683,), (1372338685,), (1372338687,), (1372338703,), (1372338705,), (1372338706,), (1372338708,), (1372338710,), (1372338713,), (1372338734,), (1372338738,), (1372338741,), (1372338743,), (1372338746,), (1372338749,), (1372338756,), (1372338758,), (1372338760,), (1372338761,), (1372338762,), (1372338764,), (1372338784,), (1372338787,), (1372338790,), (1372338792,), (1372338796,), (1372338798,), (1372338816,), (1372338820,), (1372338821,), (1372338824,), (1372338826,), (1372338827,), (1372338838,), (1372338841,), (1372338843,), (1372338847,), (1372338850,), (1372338853,), (1372338868,), (1372338870,), (1372338872,), (1372338873,), (1372338875,), (1372338877,), (1372338899,), (1372338901,), (1372338903,), (1372338907,), (1372338909,), (1372338911,), (1372338924,), (1372338928,), (1372338930,), (1372338933,), (1372338935,), (1372338937,), (1372338954,), (1372338957,), (1372338958,), (1372338962,), (1372338965,), (1372338968,), (1372338979,), (1372338982,), (1372338986,), (1372338989,), (1372338993,), (1372338997,), (1372339014,), (1372339018,), (1372339021,), (1372339023,), (1372339026,), (1372339029,), (1372339049,), (1372339052,), (1372339056,), (1372339058,), (1372339060,), (1372339063,), (1372339092,), (1372339093,), (1372339096,), (1372339098,), (1372339100,), (1372339103,), (1372339127,), (1372339157,), (1372339159,), (1372339160,), (1372339162,), (1372339164,), (1372339166,), (1372339180,), (1372339181,), (1372339184,), (1372339187,), (1372339189,), (1372339191,), (1372339210,), (1372339212,), (1372339213,), (1372339215,), (1372339216,), (1372339219,), (1372339244,), (1372339246,), (1372339248,), (1372339249,), (1372339251,), (1372339253,), (1372339276,), (1372339279,), (1372339281,), (1372339283,), (1372339286,), (1372339288,), (1372339306,), (1372339308,), (1372339310,), (1372339312,), (1372339314,), (1372339316,), (1372339337,), (1372339340,), (1372339343,), (1372339344,), (1372339347,), (1372339350,), (1372339369,), (1372339371,), (1372339372,), (1372339374,), (1372339376,), (1372339380,), (1372339404,), (1372339431,), (1372339432,), (1372339434,), (1372339435,), (1372339437,), (1372339440,), (1372339461,), (1372339462,), (1372339464,), (1372339466,), (1372339468,), (1372339470,), (1372339494,), (1372339496,), (1372339498,), (1372339499,), (1372339501,), (1372339504,), (1372339524,), (1372339527,), (1372339528,), (1372339531,), (1372339534,), (1372339536,), (1372339558,), (1372339560,), (1372339561,), (1372339563,), (1372339564,), (1372339567,), (1372339592,), (1372339594,), (1372339596,), (1372339597,), (1372339598,), (1372339600,), (1372339623,), (1372339625,), (1372339627,), (1372339629,), (1372339630,), (1372339633,), (1372339650,), (1372339654,), (1372339658,), (1372339660,), (1372339664,), (1372339667,), (1372339685,), (1372339686,), (1372339689,), (1372339692,), (1372339694,), (1372339697,), (1372339716,), (1372339718,), (1372339719,), (1372339722,), (1372339724,), (1372339726,), (1372339743,), (1372339745,), (1372339747,), (1372339749,), (1372339752,), (1372339754,), (1372339771,), (1372339773,), (1372339775,), (1372339777,), (1372339778,), (1372339780,), (1372339806,), (1372339808,), (1372339810,), (1372339812,), (1372339814,), (1372339816,), (1372339833,), (1372339835,), (1372339837,), (1372339838,), (1372339840,), (1372339842,), (1372339865,), (1372339899,), (1372339904,), (1372339908,), (1372339910,), (1372339914,), (1372339934,), (1372339936,), (1372339939,), (1372339941,), (1372339944,), (1372339949,), (1372339968,), (1372340003,), (1372340035,), (1372340037,), (1372340039,), (1372340042,), (1372340044,), (1372340046,), (1372340064,), (1372340065,), (1372340066,), (1372340067,), (1372340068,), (1372340070,), (1372340094,), (1372340095,), (1372340096,), (1372340097,), (1372340098,), (1372340100,), (1372340125,), (1372340126,), (1372340129,), (1372340132,), (1372340134,), (1372340136,), (1372340162,), (1372340165,), (1372340167,), (1372340169,), (1372340171,), (1372340173,), (1372340197,), (1372340199,), (1372340201,), (1372340202,), (1372340204,), (1372340207,), (1372340227,), (1372340229,), (1372340232,), (1372340235,), (1372340237,), (1372340240,), (1372340265,), (1372340267,), (1372340269,), (1372340272,), (1372340273,), (1372340275,), (1372340290,), (1372340291,), (1372340293,), (1372340295,), (1372340296,), (1372340298,), (1372340320,), (1372340322,), (1372340324,), (1372340325,), (1372340327,), (1372340329,), (1372340350,), (1372340353,), (1372340356,), (1372340358,), (1372340359,), (1372340361,), (1372347610,), (1372340374,), (1372340378,), (1372340381,), (1372340384,), (1372340387,), (1372340391,), (1372340408,), (1372340412,), (1372340416,), (1372340419,), (1372340424,), (1372340427,), (1372340449,), (1372340451,), (1372340454,), (1372340458,), (1372340462,), (1372340465,), (1372340477,), (1372340506,), (1372340510,), (1372340512,), (1372340516,), (1372340518,), (1372340520,), (1372340538,), (1372340540,), (1372340542,), (1372340544,), (1372340546,), (1372340549,), (1372340573,), (1372340576,), (1372340578,), (1372340579,), (1372340581,), (1372340583,), (1372340600,), (1372340601,), (1372340602,), (1372340603,), (1372340604,), (1372340606,), (1372340635,), (1372340638,), (1372340639,), (1372340641,), (1372340642,), (1372340644,), (1372340664,), (1372340669,), (1372340674,), (1372340676,), (1372340679,), (1372340682,), (1372340696,), (1372340698,), (1372340701,), (1372340704,), (1372340706,), (1372340710,), (1372340726,), (1372340728,), (1372340729,), (1372340731,), (1372340733,), (1372340734,), (1372340759,), (1372340761,), (1372340765,), (1372340767,), (1372340770,), (1372340772,), (1372340791,), (1372340794,), (1372340798,), (1372340799,), (1372340802,), (1372340804,), (1372340819,), (1372340820,), (1372340822,), (1372340825,), (1372340826,), (1372340828,), (1372340854,), (1372340857,), (1372340860,), (1372340862,), (1372340864,), (1372340868,), (1372340893,), (1372340896,), (1372340898,), (1372340900,), (1372340901,), (1372340904,), (1372340919,), (1372340921,), (1372340922,), (1372340924,), (1372340926,), (1372340928,), (1372340949,), (1372340951,), (1372340953,), (1372340955,), (1372340956,), (1372340958,), (1372340975,), (1372340977,), (1372340978,), (1372340980,), (1372340981,), (1372340983,), (1372340991,), (1372340995,), (1372340996,), (1372341000,), (1372341004,), (1372341008,), (1372341021,), (1372341023,), (1372341024,), (1372341026,), (1372341028,), (1372341031,), (1372341055,), (1372341059,), (1372341061,), (1372341064,), (1372341067,), (1372341068,), (1372341087,), (1372341123,), (1372341127,), (1372341130,), (1372341134,), (1372341136,), (1372341138,), (1372341154,), (1372341157,), (1372341163,), (1372341166,), (1372341171,), (1372341174,), (1372341187,), (1372341190,), (1372341192,), (1372341194,), (1372341197,), (1372341200,), (1372341216,), (1372341219,), (1372341220,), (1372341222,), (1372341224,), (1372341226,), (1372341245,), (1372341248,), (1372341250,), (1372341253,), (1372341255,), (1372341259,), (1372341274,), (1372341309,), (1372341312,), (1372341314,), (1372341316,), (1372341317,), (1372341320,), (1372341341,), (1372341342,), (1372341344,), (1372341346,), (1372341348,), (1372341351,), (1372341375,), (1372341378,), (1372341381,), (1372341383,), (1372341384,), (1372341385,), (1372341408,), (1372341411,), (1372341414,), (1372341416,), (1372341418,), (1372341420,), (1372341445,), (1372341448,), (1372341450,), (1372341451,), (1372341452,), (1372341454,), (1372341475,), (1372341478,), (1372341481,), (1372341485,), (1372341487,), (1372341489,), (1372341511,), (1372341514,), (1372341515,), (1372341518,), (1372341519,), (1372341521,), (1372341540,), (1372341542,), (1372341546,), (1372341547,), (1372341550,), (1372341551,), (1372341568,), (1372341570,), (1372341572,), (1372341573,), (1372341576,), (1372341580,), (1372341598,), (1372341600,), (1372341602,), (1372341603,), (1372341605,), (1372341606,), (1372341632,), (1372341636,), (1372341638,), (1372341640,), (1372341641,), (1372341643,), (1372341657,), (1372341660,), (1372341662,), (1372341664,), (1372341666,), (1372341667,), (1372341682,), (1372341686,), (1372341687,), (1372341691,), (1372341693,), (1372341695,), (1372341728,), (1372341731,), (1372341737,), (1372341738,), (1372341742,), (1372341746,), (1372341771,), (1372341796,), (1372341798,), (1372341801,), (1372341805,), (1372341807,), (1372341812,), (1372341825,), (1372341826,), (1372341827,), (1372341828,), (1372341830,), (1372341832,), (1372341852,), (1372341854,), (1372341855,), (1372341857,), (1372341858,), (1372341861,), (1372341884,), (1372341886,), (1372341889,), (1372341890,), (1372341893,), (1372341895,), (1372341905,), (1372341906,), (1372341907,), (1372341908,), (1372341909,), (1372341911,), (1372341927,), (1372341929,), (1372341931,), (1372341933,), (1372341935,), (1372341937,), (1372341958,), (1372341959,), (1372341961,), (1372341963,), (1372341964,), (1372341966,), (1372341994,), (1372341998,), (1372342001,), (1372342003,), (1372342005,), (1372342009,), (1372342029,), (1372342031,), (1372342033,), (1372342034,), (1372342036,), (1372342039,), (1372342060,), (1372342062,), (1372342063,), (1372342065,), (1372342067,), (1372342068,), (1372342092,), (1372342095,), (1372342097,), (1372342099,), (1372342101,), (1372342103,), (1372342118,), (1372342120,), (1372342122,), (1372342123,), (1372342125,), (1372342129,), (1372342145,), (1372342147,), (1372342150,), (1372342152,), (1372342156,), (1372342159,), (1372342182,), (1372342185,), (1372342187,), (1372342190,), (1372342195,), (1372342198,), (1372342212,), (1372342214,), (1372342216,), (1372342217,), (1372342219,), (1372342223,), (1372342246,), (1372342248,), (1372342250,), (1372342252,), (1372342253,), (1372342256,), (1372342280,), (1372342282,), (1372342284,), (1372342286,), (1372342288,), (1372342291,), (1372342314,), (1372342347,), (1372342349,), (1372342351,), (1372342352,), (1372342353,), (1372342355,), (1372342377,), (1372342379,), (1372342382,), (1372342384,), (1372342386,), (1372342387,), (1372342410,), (1372342412,), (1372342413,), (1372342415,), (1372342416,), (1372342419,), (1372342434,), (1372342435,), (1372342436,), (1372342437,), (1372342438,), (1372342440,), (1372342465,), (1372342467,), (1372342468,), (1372342470,), (1372342471,), (1372342472,), (1372342497,), (1372342500,), (1372342503,), (1372342507,), (1372342509,), (1372342511,), (1372342533,), (1372342536,), (1372342539,), (1372342540,), (1372342542,), (1372342543,), (1372342565,), (1372342566,), (1372342569,), (1372342572,), (1372342574,), (1372342576,), (1372342600,), (1372342604,), (1372342608,), (1372342611,), (1372342613,), (1372342616,), (1372342640,), (1372342668,), (1372342672,), (1372342673,), (1372342677,), (1372342679,), (1372342682,), (1372342700,), (1372342703,), (1372342705,), (1372342709,), (1372342711,), (1372342714,), (1372342734,), (1372342738,), (1372342741,), (1372342744,), (1372342748,), (1372342752,), (1372342763,), (1372342765,), (1372342766,), (1372342768,), (1372342769,), (1372342771,), (1372342791,), (1372342794,), (1372342797,), (1372342799,), (1372342801,), (1372342805,), (1372342821,), (1372342823,), (1372342824,), (1372342827,), (1372342830,), (1372342833,), (1372342854,), (1372342857,), (1372342858,), (1372342861,), (1372342863,), (1372342865,), (1372342879,), (1372342882,), (1372342885,), (1372342887,), (1372342890,), (1372342893,), (1372342912,), (1372342914,), (1372342915,), (1372342918,), (1372342919,), (1372342923,), (1372342944,), (1372342947,), (1372342949,), (1372342951,), (1372342952,), (1372342953,), (1372342975,), (1372342979,), (1372342982,), (1372342983,), (1372342985,), (1372342987,), (1372343007,), (1372343012,), (1372343015,), (1372343018,), (1372343020,), (1372343023,), (1372343041,), (1372343044,), (1372343047,), (1372343048,), (1372343050,), (1372343052,), (1372343068,), (1372343070,), (1372343071,), (1372343073,), (1372343075,), (1372343076,), (1372343106,), (1372343109,), (1372343110,), (1372343113,), (1372343115,), (1372343117,), (1372343132,), (1372343136,), (1372343138,), (1372343142,), (1372343145,), (1372343147,), (1372343168,), (1372343171,), (1372343173,), (1372343175,), (1372343178,), (1372343181,), (1372343200,), (1372343202,), (1372343204,), (1372343205,), (1372343207,), (1372343209,), (1372343226,), (1372343230,), (1372343234,), (1372343236,), (1372343239,), (1372343243,), (1372343260,), (1372343263,), (1372343266,), (1372343268,), (1372343269,), (1372343272,), (1372343292,), (1372343295,), (1372343297,), (1372343298,), (1372343299,), (1372343301,), (1372343318,), (1372343320,), (1372343321,), (1372343323,), (1372343324,), (1372343326,), (1372343342,), (1372343345,), (1372343346,), (1372343350,), (1372343352,), (1372343354,), (1372343374,), (1372343376,), (1372343377,), (1372343378,), (1372343379,), (1372343380,), (1372343402,), (1372343404,), (1372343405,), (1372343407,), (1372343409,), (1372343412,), (1372343432,), (1372343434,), (1372343435,), (1372343437,), (1372343438,), (1372343440,), (1372343454,), (1372343455,), (1372343457,), (1372343459,), (1372343461,), (1372343463,), (1372343489,), (1372343490,), (1372343492,), (1372343494,), (1372343495,), (1372343498,), (1372343520,), (1372343523,), (1372343526,), (1372343528,), (1372343531,), (1372343533,), (1372343558,), (1372343589,), (1372343592,), (1372343595,), (1372343598,), (1372343601,), (1372343618,), (1372343621,), (1372343624,), (1372343627,), (1372343629,), (1372343631,), (1372343646,), (1372343649,), (1372343652,), (1372343654,), (1372343657,), (1372343660,), (1372343675,), (1372343677,), (1372343679,), (1372343681,), (1372343684,), (1372343687,), (1372343714,), (1372343715,), (1372343717,), (1372343718,), (1372343720,), (1372343722,), (1372343751,), (1372343754,), (1372343756,), (1372343757,), (1372343758,), (1372343761,), (1372343785,), (1372343789,), (1372343791,), (1372343794,), (1372343797,), (1372343800,), (1372343821,), (1372343823,), (1372343825,), (1372343826,), (1372343827,), (1372343829,), (1372343848,), (1372343850,), (1372343853,), (1372343856,), (1372343857,), (1372343859,), (1372343881,), (1372343885,), (1372343887,), (1372343890,), (1372343892,), (1372343894,), (1372343914,), (1372343918,), (1372343921,), (1372343925,), (1372343927,), (1372343929,), (1372343954,), (1372343956,), (1372343959,), (1372343962,), (1372343963,), (1372343965,), (1372343977,), (1372344008,), (1372344038,), (1372344042,), (1372344047,), (1372344048,), (1372344051,), (1372344053,), (1372344064,), (1372344065,), (1372344067,), (1372344069,), (1372344071,), (1372344073,), (1372344091,), (1372344093,), (1372344096,), (1372344098,), (1372344100,), (1372344102,), (1372344120,), (1372344124,), (1372344127,), (1372344131,), (1372344135,), (1372344138,), (1372344155,), (1372344182,), (1372344184,), (1372344186,), (1372344188,), (1372344190,), (1372344193,), (1372344213,), (1372344215,), (1372344216,), (1372344218,), (1372344219,), (1372344221,), (1372344245,), (1372344247,), (1372344250,), (1372344251,), (1372344253,), (1372344255,), (1372344268,), (1372344270,), (1372344272,), (1372344273,), (1372344275,), (1372344277,), (1372344299,), (1372344301,), (1372344304,), (1372344307,), (1372344308,), (1372344311,), (1372344334,), (1372344336,), (1372344338,), (1372344340,), (1372344341,), (1372344343,), (1372344367,), (1372344371,), (1372344374,), (1372344377,), (1372344378,), (1372344382,), (1372344397,), (1372344401,), (1372344404,), (1372344408,), (1372344411,), (1372344413,), (1372344432,), (1372344435,), (1372344438,), (1372344439,), (1372344442,), (1372344444,), (1372344455,), (1372344458,), (1372344459,), (1372344462,), (1372344464,), (1372344467,), (1372344488,), (1372344492,), (1372344494,), (1372344497,), (1372344499,), (1372344501,), (1372344522,), (1372344524,), (1372344526,), (1372344528,), (1372344530,), (1372344533,), (1372344562,), (1372344564,), (1372344565,), (1372344567,), (1372344568,), (1372344571,), (1372344590,), (1372344625,), (1372344628,), (1372344630,), (1372344631,), (1372344632,), (1372344635,), (1372344657,), (1372344659,), (1372344662,), (1372344663,), (1372344667,), (1372344670,), (1372344686,), (1372344688,), (1372344689,), (1372344691,), (1372344693,), (1372344696,), (1372344720,), (1372344721,), (1372344723,), (1372344725,), (1372344727,), (1372344730,), (1372344756,), (1372344758,), (1372344761,), (1372344762,), (1372344765,), (1372344768,), (1372344781,), (1372344784,), (1372344788,), (1372344792,), (1372344796,), (1372344798,), (1372344822,), (1372344824,), (1372344828,), (1372344830,), (1372344831,), (1372344835,), (1372344856,), (1372344881,), (1372344885,), (1372344888,), (1372344890,), (1372344893,), (1372344894,), (1372344910,), (1372344912,), (1372344916,), (1372344917,), (1372344920,), (1372344923,), (1372344946,), (1372344947,), (1372344949,), (1372344951,), (1372344952,), (1372344954,), (1372344974,), (1372344977,), (1372344979,), (1372344981,), (1372344983,), (1372344985,), (1372345005,), (1372345006,), (1372345009,), (1372345012,), (1372345013,), (1372345015,), (1372345028,), (1372345031,), (1372345033,), (1372345037,), (1372345039,), (1372345041,), (1372345054,), (1372345056,), (1372345058,), (1372345061,), (1372345063,), (1372345065,), (1372345076,), (1372345077,), (1372345080,), (1372345083,), (1372345084,), (1372345087,), (1372345098,), (1372345102,), (1372345104,), (1372345106,), (1372345109,), (1372345111,), (1372345130,), (1372345131,), (1372345134,), (1372345136,), (1372345138,), (1372345140,), (1372345166,), (1372345169,), (1372345171,), (1372345173,), (1372345174,), (1372345176,), (1372345188,), (1372345189,), (1372345191,), (1372345193,), (1372345195,), (1372345198,), (1372345220,), (1372345222,), (1372345223,), (1372345226,), (1372345228,), (1372345231,), (1372345248,), (1372345251,), (1372345254,), (1372345256,), (1372345257,), (1372345259,), (1372345273,), (1372345275,), (1372345277,), (1372345279,), (1372345280,), (1372345283,), (1372345304,), (1372345306,), (1372345308,), (1372345309,), (1372345310,), (1372345311,), (1372345337,), (1372345339,), (1372345341,), (1372345343,), (1372345344,), (1372345346,), (1372345373,), (1372345376,), (1372345380,), (1372345385,), (1372345390,), (1372345393,), (1372345406,), (1372345411,), (1372345415,), (1372345418,), (1372345420,), (1372345422,), (1372345435,), (1372345437,), (1372345439,), (1372345441,), (1372345444,), (1372345447,), (1372345464,), (1372345489,), (1372345490,), (1372345493,), (1372345496,), (1372345499,), (1372345503,), (1372345525,), (1372345551,), (1372345553,), (1372345555,), (1372345557,), (1372345559,), (1372345562,), (1372345581,), (1372345583,), (1372345584,), (1372345586,), (1372345589,), (1372345592,), (1372345618,), (1372345620,), (1372345622,), (1372345625,), (1372345627,), (1372345629,), (1372345644,), (1372345649,), (1372345652,), (1372345654,), (1372345657,), (1372345660,), (1372345679,), (1372345682,), (1372345685,), (1372345686,), (1372345689,), (1372345692,), (1372345702,), (1372345705,), (1372345707,), (1372345709,), (1372345712,), (1372345715,), (1372345739,), (1372345743,), (1372345747,), (1372345748,), (1372345752,), (1372345755,), (1372345768,), (1372345796,), (1372345798,), (1372345799,), (1372345801,), (1372345803,), (1372345806,), (1372345827,), (1372345830,), (1372345832,), (1372345834,), (1372345836,), (1372345838,), (1372345859,), (1372345862,), (1372345863,), (1372345867,), (1372345871,), (1372345875,), (1372345888,), (1372345890,), (1372345891,), (1372345893,), (1372345896,), (1372345900,), (1372345916,), (1372345918,), (1372345920,), (1372345922,), (1372345925,), (1372345930,), (1372345946,), (1372345948,), (1372345950,), (1372345952,), (1372345955,), (1372345960,), (1372345982,), (1372345984,), (1372345985,), (1372345987,), (1372345990,), (1372345992,), (1372346009,), (1372346012,), (1372346015,), (1372346016,), (1372346019,), (1372346022,), (1372346042,), (1372346045,), (1372346048,), (1372346050,), (1372346054,), (1372346057,), (1372346069,), (1372346071,), (1372346073,), (1372346074,), (1372346078,), (1372346081,), (1372346103,), (1372346104,), (1372346106,), (1372346108,), (1372346111,), (1372346115,), (1372346136,), (1372346137,), (1372346138,), (1372346139,), (1372346141,), (1372346143,), (1372346161,), (1372346164,), (1372346167,), (1372346169,), (1372346172,), (1372346176,), (1372346197,), (1372346200,), (1372346204,), (1372346208,), (1372346213,), (1372346215,), (1372346230,), (1372346232,), (1372346234,), (1372346237,), (1372346240,), (1372346242,), (1372346264,), (1372346295,), (1372346300,), (1372346303,), (1372346308,), (1372346313,), (1372346316,), (1372346333,), (1372346337,), (1372346339,), (1372346341,), (1372346343,), (1372346346,), (1372346368,), (1372346372,), (1372346374,), (1372346377,), (1372346378,), (1372346380,), (1372346392,), (1372346393,), (1372346395,), (1372346397,), (1372346398,), (1372346400,), (1372346420,), (1372346423,), (1372346424,), (1372346427,), (1372346429,), (1372346432,), (1372346445,), (1372346472,), (1372346474,), (1372346475,), (1372346477,), (1372346479,), (1372346483,), (1372346505,), (1372346508,), (1372346510,), (1372346512,), (1372346513,), (1372346517,), (1372346535,), (1372346537,), (1372346540,), (1372346542,), (1372346544,), (1372346547,), (1372346563,), (1372346565,), (1372346567,), (1372346570,), (1372346572,), (1372346574,), (1372346597,), (1372346599,), (1372346601,), (1372346605,), (1372346608,), (1372346611,), (1372346629,), (1372346634,), (1372346636,), (1372346639,), (1372346642,), (1372346645,), (1372346659,), (1372346663,), (1372346667,), (1372346669,), (1372346672,), (1372346674,), (1372346686,), (1372346689,), (1372346693,), (1372346694,), (1372346698,), (1372346702,), (1372346728,), (1372346730,), (1372346732,), (1372346735,), (1372346737,), (1372346739,), (1372346751,), (1372346754,), (1372346758,), (1372346762,), (1372346766,), (1372346770,), (1372346781,), (1372346783,), (1372346785,), (1372346786,), (1372346789,), (1372346793,), (1372346816,), (1372346818,), (1372346820,), (1372346821,), (1372346824,), (1372346827,), (1372346844,), (1372346847,), (1372346849,), (1372346851,), (1372346854,), (1372346857,), (1372346873,), (1372346876,), (1372346879,), (1372346881,), (1372346884,), (1372346887,), (1372346913,), (1372346916,), (1372346917,), (1372346918,), (1372346919,), (1372346921,), (1372346939,), (1372346940,), (1372346941,), (1372346942,), (1372346945,), (1372346949,), (1372346968,), (1372346969,), (1372346971,), (1372346974,), (1372346978,), (1372346982,), (1372346999,), (1372347000,), (1372347002,), (1372347004,), (1372347005,), (1372347008,), (1372347022,), (1372347025,), (1372347028,), (1372347031,), (1372347034,), (1372347037,), (1372347049,), (1372347052,), (1372347056,), (1372347058,), (1372347061,), (1372347064,), (1372347077,), (1372347080,), (1372347081,), (1372347084,), (1372347087,), (1372347090,), (1372347103,), (1372347105,), (1372347106,), (1372347108,), (1372347111,), (1372347114,), (1372347136,), (1372347139,), (1372347141,), (1372347142,), (1372347145,), (1372347147,), (1372347173,), (1372347177,), (1372347178,), (1372347182,), (1372347187,), (1372347193,), (1372381971,), (1372381975,), (1372381979,), (1372381980,), (1372381982,), (1372382116,), (1372382144,), (1372382171,), (1372382196,), (1372382219,), (1372382239,), (1372382360,), (1372382408,), (1372382441,), (1372382454,), (1372382456,), (1372382482,), (1372382542,), (1372382545,), (1372382547,), (1372382549,), (1372382551,), (1372382554,), (1372382584,), (1372382588,), (1372382589,), (1372382592,), (1372382594,), (1372382597,), (1372382622,), (1372382626,), (1372382630,), (1372382635,), (1372382639,), (1372382645,), (1372382673,), (1372382674,), (1372382676,), (1372382678,), (1372382680,), (1372382684,), (1372382711,), (1372382712,), (1372382713,), (1372382714,), (1372382716,), (1372382718,), (1372382754,), (1372382757,), (1372382759,), (1372382760,), (1372382761,), (1372382765,), (1372382977,), (1372383001,), (1372383025,), (1372383052,), (1372383076,), (1372383101,), (1372383221,), (1372383223,), (1372383224,), (1372383226,), (1372383227,), (1372383229,), (1372383256,), (1372383257,), (1372383259,), (1372383261,), (1372383264,), (1372383266,), (1372383293,), (1372383294,), (1372383297,), (1372383299,), (1372383302,), (1372383306,), (1372383331,), (1372383332,), (1372383335,), (1372383338,), (1372383341,), (1372383344,), (1372383385,), (1372347209,), (1372347212,), (1372347216,), (1372347219,), (1372347222,), (1372347225,), (1372347250,), (1372347252,), (1372347255,), (1372347257,), (1372347260,), (1372347263,), (1372347277,), (1372347279,), (1372347283,), (1372347286,), (1372347290,), (1372347294,), (1372347315,), (1372347318,), (1372347322,), (1372347323,), (1372347327,), (1372347330,), (1372347347,), (1372347352,), (1372347353,), (1372347356,), (1372347359,), (1372347362,), (1372347376,), (1372347378,), (1372347379,), (1372347381,), (1372347383,), (1372347385,), (1372347405,), (1372347407,), (1372347408,), (1372347410,), (1372347411,), (1372347413,), (1372347443,), (1372347445,), (1372347448,), (1372347450,), (1372347451,), (1372347453,), (1372347479,), (1372347509,), (1372347538,), (1372347540,), (1372347541,), (1372347543,), (1372347545,), (1372347547,), (1372347568,), (1372347572,), (1372347575,), (1372347577,), (1372347579,), (1372347581,), (1372347595,), (1372347598,), (1372347601,), (1372347604,), (1372347607,), (1372347627,), (1372347630,), (1372347633,), (1372347635,), (1372347637,), (1372347640,), (1372347650,), (1372347653,), (1372347656,), (1372347659,), (1372347662,), (1372347666,), (1372347688,), (1372347690,), (1372347692,), (1372347693,), (1372347696,), (1372347700,), (1372347721,), (1372347724,), (1372347727,), (1372347729,), (1372347734,), (1372347736,), (1372347754,), (1372347756,), (1372347759,), (1372347760,), (1372347765,), (1372347770,), (1372347790,), (1372347792,), (1372347794,), (1372347795,), (1372347797,), (1372347799,), (1372347821,), (1372347823,), (1372347825,), (1372347826,), (1372347828,), (1372347832,), (1372347858,), (1372347859,), (1372347862,), (1372347865,), (1372347866,), (1372347868,), (1372347884,), (1372347887,), (1372347891,), (1372347895,), (1372347898,), (1372347902,), (1372347923,), (1372347926,), (1372347928,), (1372347930,), (1372347933,), (1372347961,), (1372347963,), (1372347966,), (1372347967,), (1372347970,), (1372347974,), (1372347994,), (1372347996,), (1372347998,), (1372347999,), (1372348003,), (1372348008,), (1372348029,), (1372348031,), (1372348033,), (1372348036,), (1372348038,), (1372348041,), (1372348070,), (1372348072,), (1372348075,), (1372348077,), (1372348081,), (1372348085,), (1372348105,), (1372348109,), (1372348111,), (1372348114,), (1372348117,), (1372348120,), (1372348141,), (1372348143,), (1372348145,), (1372348146,), (1372348148,), (1372348150,), (1372348184,), (1372348186,), (1372348190,), (1372348193,), (1372348195,), (1372348199,), (1372348218,), (1372348222,), (1372348226,), (1372348227,), (1372348231,), (1372348233,), (1372348252,), (1372348255,), (1372348257,), (1372348258,), (1372348261,), (1372348264,), (1372348293,), (1372348295,), (1372348298,), (1372348300,), (1372348302,), (1372348304,), (1372348322,), (1372348325,), (1372348327,), (1372348331,), (1372348333,), (1372348336,), (1372348361,), (1372348364,), (1372348367,), (1372348371,), (1372348375,), (1372348377,), (1372348395,), (1372348397,), (1372348399,), (1372348402,), (1372348404,), (1372348406,), (1372348437,), (1372348474,), (1372348477,), (1372348481,), (1372348483,), (1372348485,), (1372348488,), (1372348501,), (1372348505,), (1372348508,), (1372348512,), (1372348517,), (1372348520,), (1372348538,), (1372348541,), (1372348544,), (1372348548,), (1372348553,), (1372348557,), (1372348575,), (1372348578,), (1372348580,), (1372348584,), (1372348588,), (1372348590,), (1372348613,), (1372348619,), (1372348621,), (1372348626,), (1372348631,), (1372348634,), (1372348651,), (1372348654,), (1372348658,), (1372348662,), (1372348666,), (1372348671,), (1372348693,), (1372348696,), (1372348698,), (1372348702,), (1372348705,), (1372348708,), (1372348734,), (1372348737,), (1372348740,), (1372348743,), (1372348745,), (1372348748,), (1372348764,), (1372348767,), (1372348769,), (1372348770,), (1372348774,), (1372348781,), (1372348804,), (1372348806,), (1372348809,), (1372348811,), (1372348814,), (1372348817,), (1372348834,), (1372348837,), (1372348839,), (1372348844,), (1372348848,), (1372348852,), (1372348882,), (1372348885,), (1372348887,), (1372348889,), (1372348892,), (1372348894,), (1372348912,), (1372348914,), (1372348916,), (1372348919,), (1372348920,), (1372348923,), (1372348955,), (1372348959,), (1372348963,), (1372348967,), (1372348969,), (1372348971,), (1372348988,), (1372348993,), (1372348998,), (1372349000,), (1372349005,), (1372349010,), (1372349035,), (1372349062,), (1372349066,), (1372349070,), (1372349074,), (1372349078,), (1372349080,), (1372349094,), (1372349098,), (1372349100,), (1372349104,), (1372349108,), (1372349111,), (1372349133,), (1372349136,), (1372349140,), (1372349142,), (1372349146,), (1372349151,), (1372349172,), (1372349175,), (1372349178,), (1372349180,), (1372349184,), (1372349188,), (1372349212,), (1372349214,), (1372349217,), (1372349219,), (1372349222,), (1372349225,), (1372349242,), (1372349272,), (1372349276,), (1372349281,), (1372349284,), (1372349289,), (1372349312,), (1372349316,), (1372349318,), (1372349321,), (1372349323,), (1372349324,), (1372349348,), (1372349351,), (1372349354,), (1372349355,), (1372349359,), (1372349363,), (1372349382,), (1372349385,), (1372349390,), (1372349393,), (1372349396,), (1372349399,), (1372349420,), (1372349424,), (1372349427,), (1372349431,), (1372349436,), (1372349438,), (1372349453,), (1372349455,), (1372349458,), (1372349461,), (1372349464,), (1372349468,), (1372349496,), (1372349498,), (1372349502,), (1372349504,), (1372349506,), (1372349509,), (1372349535,), (1372349538,), (1372349542,), (1372349544,), (1372349548,), (1372349551,), (1372349575,), (1372349580,), (1372349583,), (1372349586,), (1372349589,), (1372349592,), (1372349615,), (1372349616,), (1372349620,), (1372349624,), (1372349626,), (1372349630,), (1372349656,), (1372349657,), (1372349659,), (1372349661,), (1372349663,), (1372349665,), (1372349690,), (1372349693,), (1372349697,), (1372349700,), (1372349703,), (1372349706,), (1372349733,), (1372349765,), (1372349769,), (1372349773,), (1372349774,), (1372349777,), (1372349781,), (1372349803,), (1372349806,), (1372349807,), (1372349811,), (1372349813,), (1372349816,), (1372349842,), (1372349844,), (1372349846,), (1372349847,), (1372349850,), (1372349853,), (1372349876,), (1372349878,), (1372349881,), (1372349883,), (1372349887,), (1372349891,), (1372349915,), (1372349918,), (1372349920,), (1372349922,), (1372349924,), (1372349926,), (1372349956,), (1372349959,), (1372349963,), (1372349966,), (1372349969,), (1372349971,), (1372349996,), (1372350001,), (1372350006,), (1372350009,), (1372350013,), (1372350017,), (1372350034,), (1372350037,), (1372350038,), (1372350041,), (1372350043,), (1372350046,), (1372350072,), (1372350076,), (1372350080,), (1372350083,), (1372350086,), (1372350090,), (1372350106,), (1372350109,), (1372350110,), (1372350113,), (1372350116,), (1372350119,), (1372350143,), (1372350147,), (1372350150,), (1372350154,), (1372350159,), (1372350163,), (1372350181,), (1372350186,), (1372350188,), (1372350192,), (1372350196,), (1372350199,), (1372350219,), (1372350221,), (1372350223,), (1372350225,), (1372350229,), (1372350231,), (1372350256,), (1372350291,), (1372350294,), (1372350297,), (1372350301,), (1372350304,), (1372350309,), (1372350325,), (1372350327,), (1372350328,), (1372350330,), (1372350334,), (1372350336,), (1372350359,), (1372350362,), (1372350364,), (1372350366,), (1372350369,), (1372350373,), (1372383428,), (1372383429,), (1372383436,), (1372383439,), (1372383441,), (1372383443,), (1372383513,), (1372383514,), (1372383516,), (1372383520,), (1372383522,), (1372383524,), (1372383683,), (1372383685,), (1372383690,), (1372383714,), (1372383737,), (1372383745,), (1372383815,), (1372383844,), (1372383869,), (1372383893,), (1372383895,), (1372383897,), (1372383926,), (1372383929,), (1372383933,), (1372383935,), (1372383956,), (1372383981,), (1372384139,), (1372384141,), (1372384146,), (1372384150,), (1372384152,), (1372384155,), (1372384170,), (1372384173,), (1372384176,), (1372384179,), (1372384181,), (1372384183,), (1372384201,), (1372384203,), (1372384204,), (1372384207,), (1372384209,), (1372384212,), (1372384242,), (1372384243,), (1372384245,), (1372384246,), (1372384248,), (1372384252,), (1372384304,), (1372384306,), (1372384307,), (1372384309,), (1372384311,), (1372384315,), (1372384340,), (1372384341,), (1372384342,), (1372384343,), (1372384345,), (1372384349,), (1372384375,), (1372384377,), (1372384380,), (1372384382,), (1372384386,), (1372384389,), (1372384410,), (1372384413,), (1372384415,), (1372384417,), (1372384419,), (1372384422,), (1372384445,), (1372384447,), (1372384450,), (1372384453,), (1372384456,), (1372384459,), (1372384475,), (1372384478,), (1372384482,), (1372384485,), (1372384487,), (1372384493,), (1372384545,), (1372384547,), (1372384549,), (1372384556,), (1372384559,), (1372384565,), (1372384594,), (1372384595,), (1372384597,), (1372384599,), (1372384602,), (1372384606,), (1372384633,), (1372384635,), (1372384640,), (1372384645,), (1372384649,), (1372384652,), (1372384667,), (1372384669,), (1372384673,), (1372384676,), (1372384679,), (1372384683,), (1372384705,), (1372384709,), (1372384713,), (1372384716,), (1372384719,), (1372384723,), (1372384740,), (1372384742,), (1372384745,), (1372384747,), (1372384750,), (1372384755,), (1372384779,), (1372384780,), (1372384781,), (1372384782,), (1372384795,), (1372384832,), (1372384918,), (1372384939,), (1372384968,), (1372384998,), (1372385031,), (1372385070,), (1372385212,), (1372385244,), (1372385257,), (1372385265,), (1372385267,), (1372385270,), (1372385365,), (1372385398,), (1372385405,), (1372385407,), (1372385434,), (1372385443,), (1372385557,), (1372385567,), (1372385568,), (1372385570,), (1372385573,), (1372385578,), (1372385622,), (1372385628,), (1372385630,), (1372385632,), (1372385634,), (1372385639,), (1372385822,), (1372385846,), (1372385865,), (1372385866,), (1372385869,), (1372385873,), (1372385911,), (1372385918,), (1372385921,), (1372385926,), (1372385945,), (1372385955,), (1372386026,), (1372386028,), (1372386032,), (1372386034,), (1372386037,), (1372386039,), (1372386107,), (1372386118,), (1372386131,), (1372386150,), (1372386157,), (1372386161,), (1372386200,), (1372386203,), (1372386206,), (1372386208,), (1372386211,), (1372386215,), (1372386233,), (1372386240,), (1372386242,), (1372386243,), (1372386246,), (1372386252,), (1372386283,), (1372386291,), (1372386295,), (1372386296,), (1372386298,), (1372386301,), (1372386327,), (1372386336,), (1372386337,), (1372386338,), (1372386341,), (1372386347,), (1372386382,), (1372386385,), (1372386386,), (1372386388,), (1372386390,), (1372386395,), (1372386418,), (1372386425,), (1372386426,), (1372386428,), (1372386430,), (1372386433,), (1372386483,), (1372386529,), (1372386537,), (1372386540,), (1372386542,), (1372386545,), (1372386549,), (1372386584,), (1372386587,), (1372386590,), (1372386593,), (1372386596,), (1372386601,), (1372386614,), (1372386616,), (1372386617,), (1372386618,), (1372386620,), (1372386625,), (1372386653,), (1372386664,), (1372386674,), (1372386676,), (1372386680,), (1372386686,), (1372386714,), (1372386724,), (1372386726,), (1372386743,), (1372386764,), (1372386787,), (1372387596,), (1372388374,), (1372388406,), (1372388434,), (1372388472,), (1372388511,), (1372388803,), (1372388838,), (1372388872,), (1372388890,), (1372388929,), (1372388953,), (1372388990,), (1372389007,), (1372389028,), (1372389047,), (1372389069,), (1372389097,), (1372389237,), (1372389240,), (1372389243,), (1372389246,), (1372389250,), (1372389272,), (1372389401,), (1372389425,), (1372389445,), (1372389455,), (1372389463,), (1372389466,), (1372389499,), (1372389510,), (1372389528,), (1372389541,), (1372389565,), (1372389576,), (1372389601,), (1372389606,), (1372389610,), (1372389613,), (1372389617,), (1372389623,), (1372389648,), (1372389659,), (1372389662,), (1372389665,), (1372389668,), (1372389672,), (1372389701,), (1372389703,), (1372389704,), (1372389705,), (1372389707,), (1372389712,), (1372389746,), (1372389756,), (1372389758,), (1372389761,), (1372389766,), (1372389768,), (1372389812,), (1372389814,), (1372389824,), (1372389837,), (1372389841,), (1372389845,), (1372389914,), (1372389932,), (1372389939,), (1372389942,), (1372389948,), (1372389974,), (1372390248,), (1372390273,), (1372390294,), (1372390311,), (1372390314,), (1372390316,), (1372390418,), (1372390431,), (1372390437,), (1372390439,), (1372390443,), (1372390448,), (1372390614,), (1372390638,), (1372390659,), (1372390681,), (1372390704,), (1372390731,), (1372390779,), (1372390787,), (1372390790,), (1372390807,), (1372390837,), (1372390847,), (1372390892,), (1372390898,), (1372390920,), (1372390940,), (1372390964,), (1372390999,), (1372391249,), (1372391301,), (1372391330,), (1372391359,), (1372391387,), (1372391411,), (1372391572,), (1372391603,), (1372391629,), (1372391636,), (1372391639,), (1372391649,), (1372391717,), (1372391728,), (1372391737,), (1372391740,), (1372391742,), (1372391745,), (1372391833,), (1372391853,), (1372391876,), (1372391899,), (1372391921,), (1372391945,), (1372392118,), (1372392148,), (1372392174,), (1372392196,), (1372392215,), (1372392220,), (1372392261,), (1372392263,), (1372392266,), (1372392268,), (1372392271,), (1372392275,), (1372392305,), (1372392312,), (1372392314,), (1372392315,), (1372392317,), (1372392321,), (1372392354,), (1372392373,), (1372392377,), (1372392379,), (1372392382,), (1372392387,), (1372392438,), (1372392473,), (1372392494,), (1372392516,), (1372392536,), (1372392561,), (1372392586,), (1372392589,), (1372392590,), (1372392593,), (1372392597,), (1372392602,), (1372392623,), (1372392632,), (1372392635,), (1372392637,), (1372392641,), (1372392645,), (1372392673,), (1372392676,), (1372392679,), (1372392682,), (1372392685,), (1372392691,), (1372392723,), (1372392779,), (1372392781,), (1372392783,), (1372392792,), (1372392802,), (1372392807,), (1372392831,), (1372392840,), (1372392843,), (1372392847,), (1372392851,), (1372392857,), (1372392880,), (1372392883,), (1372392886,), (1372392888,), (1372392891,), (1372392895,), (1372392905,), (1372392908,), (1372392911,), (1372392912,), (1372392916,), (1372392920,), (1372392942,), (1372392944,), (1372392947,), (1372392949,), (1372392953,), (1372392957,), (1372392970,), (1372392981,), (1372392987,), (1372392989,), (1372392992,), (1372392997,), (1372393030,), (1372393032,), (1372393034,), (1372393035,), (1372393037,), (1372393040,), (1372393061,), (1372393082,), (1372393092,), (1372393093,), (1372393098,), (1372393099,), (1372393128,), (1372393131,), (1372393134,), (1372393135,), (1372393138,), (1372393140,), (1372393164,), (1372393180,), (1372393207,), (1372393230,), (1372393255,), (1372393276,), (1372393364,), (1372393476,), (1372393496,), (1372393517,), (1372393538,), (1372393556,), (1372393572,), (1372393582,), (1372393591,), (1372393594,), (1372393597,), (1372393600,), (1372393623,), (1372393625,), (1372393627,), (1372393628,), (1372393631,), (1372393636,), (1372393655,), (1372393658,), (1372393660,), (1372393662,), (1372393664,), (1372393668,), (1372393698,), (1372393701,), (1372393706,), (1372393709,), (1372393714,), (1372393718,), (1372393749,), (1372393750,), (1372393758,), (1372393766,), (1372393768,), (1372393771,), (1372393785,), (1372393794,), (1372393804,), (1372393806,), (1372393808,), (1372393811,), (1372393827,), (1372393830,), (1372393833,), (1372393836,), (1372393839,), (1372393842,), (1372393877,), (1372393880,), (1372393882,), (1372393884,), (1372393886,), (1372393889,), (1372393907,), (1372393918,), (1372393923,), (1372393925,), (1372393927,), (1372393930,), (1372393980,), (1372393982,), (1372393986,), (1372393991,), (1372393994,), (1372393998,), (1372394020,), (1372394031,), (1372394037,), (1372394039,), (1372394041,), (1372394044,), (1372394069,), (1372394071,), (1372394073,), (1372394074,), (1372394076,), (1372394079,), (1372394097,), (1372394106,), (1372394108,), (1372394110,), (1372394113,), (1372394116,), (1372394148,), (1372394152,), (1372394155,), (1372394156,), (1372394159,), (1372394162,), (1372394175,), (1372394184,), (1372394186,), (1372394188,), (1372394192,), (1372394197,), (1372394221,), (1372394222,), (1372394225,), (1372394228,), (1372394230,), (1372394236,), (1372394260,), (1372394268,), (1372394269,), (1372394284,), (1372394314,), (1372394357,), (1372395408,), (1372396118,), (1372396123,), (1372396136,), (1372396165,), (1372396190,), (1372396465,), (1372396493,), (1372396514,), (1372396519,), (1372396539,), (1372396564,), (1372396693,), (1372396697,), (1372396700,), (1372396703,), (1372396707,), (1372396710,), (1372396735,), (1372396738,), (1372396741,), (1372396746,), (1372396750,), (1372396754,), (1372396775,), (1372396779,), (1372396784,), (1372396786,), (1372396790,), (1372396802,), (1372396821,), (1372396831,), (1372396834,), (1372396837,), (1372396842,), (1372396862,), (1372396972,), (1372396978,), (1372396981,), (1372396999,), (1372397004,), (1372397007,), (1372397025,), (1372397028,), (1372397031,), (1372397035,), (1372397039,), (1372397044,), (1372397072,), (1372397075,), (1372397083,), (1372397086,), (1372397096,), (1372397111,), (1372397167,), (1372397174,), (1372397176,), (1372397177,), (1372397179,), (1372397182,), (1372397238,), (1372397240,), (1372397242,), (1372397245,), (1372397246,), (1372397249,), (1372397283,), (1372397293,), (1372397298,), (1372397301,), (1372397304,), (1372397309,), (1372397338,), (1372397340,), (1372397341,), (1372397343,), (1372397345,), (1372397347,), (1372397370,), (1372397380,), (1372397384,), (1372397389,), (1372397393,), (1372397397,), (1372397428,), (1372397467,), (1372397476,), (1372397477,), (1372397479,), (1372397482,), (1372397487,), (1372397516,), (1372397518,), (1372397520,), (1372397521,), (1372397524,), (1372397529,), (1372397581,), (1372397611,), (1372397630,), (1372397632,), (1372397636,), (1372397641,), (1372397672,), (1372397677,), (1372397679,), (1372397682,), (1372397687,), (1372397692,), (1372397709,), (1372397725,), (1372397741,), (1372397743,), (1372397747,), (1372397752,), (1372397795,), (1372397798,), (1372397802,), (1372397803,), (1372397808,), (1372397813,), (1372397827,), (1372397831,), (1372397835,), (1372397838,), (1372397843,), (1372397848,), (1372397877,), (1372397880,), (1372397883,), (1372397884,), (1372397887,), (1372397893,), (1372397924,), (1372397933,), (1372397937,), (1372397940,), (1372397942,), (1372397945,), (1372397977,), (1372397982,), (1372397985,), (1372397989,), (1372398001,), (1372398008,), (1372398027,), (1372398040,), (1372398047,), (1372398050,), (1372398055,), (1372398061,), (1372398089,), (1372398092,), (1372398096,), (1372398099,), (1372398103,), (1372398108,), (1372398132,), (1372398142,), (1372398145,), (1372398148,), (1372398153,), (1372398157,), (1372398187,), (1372398191,), (1372398195,), (1372398198,), (1372398201,), (1372398205,), (1372398234,), (1372398238,), (1372398242,), (1372398246,), (1372398250,), (1372398254,), (1372398300,), (1372398359,), (1372398364,), (1372398366,), (1372398369,), (1372398373,), (1372398378,), (1372398409,), (1372398413,), (1372398416,), (1372398419,), (1372398422,), (1372398425,), (1372398445,), (1372398457,), (1372398462,), (1372398464,), (1372398467,), (1372398470,), (1372398489,), (1372398498,), (1372398507,), (1372398510,), (1372398514,), (1372398518,), (1372398533,), (1372398535,), (1372398554,), (1372398563,), (1372398569,), (1372398576,), (1372398645,), (1372398663,), (1372398680,), (1372398683,), (1372398685,), (1372398690,), (1372398731,), (1372398751,), (1372398768,), (1372398784,), (1372398803,), (1372398808,), (1372398871,), (1372398893,), (1372398921,), (1372398942,), (1372398964,), (1372398975,), (1372398990,), (1372398995,), (1372398996,), (1372399001,), (1372399006,), (1372399011,), (1372399102,), (1372399112,), (1372399120,), (1372399122,), (1372399125,), (1372399128,), (1372399274,), (1372399284,), (1372399288,), (1372399292,), (1372399300,), (1372399305,), (1372399344,), (1372399346,), (1372399350,), (1372399355,), (1372399359,), (1372399363,), (1372399383,), (1372399384,), (1372399387,), (1372399388,), (1372399391,), (1372399396,), (1372399436,), (1372399438,), (1372399441,), (1372399444,), (1372399446,), (1372399449,), (1372399467,), (1372399475,), (1372399478,), (1372399491,), (1372399496,), (1372399500,), (1372399527,), (1372399529,), (1372399532,), (1372399535,), (1372399539,), (1372399544,), (1372399566,), (1372399579,), (1372399582,), (1372399585,), (1372399589,), (1372399592,), (1372399624,), (1372399627,), (1372399630,), (1372399632,), (1372399634,), (1372399639,), (1372399797,), (1372399820,), (1372399840,), (1372399861,), (1372399883,), (1372399905,), (1372400028,), (1372400030,), (1372400033,), (1372400036,), (1372400039,), (1372400041,), (1372400070,), (1372400085,), (1372400090,), (1372400093,), (1372400096,), (1372400098,), (1372400125,), (1372400128,), (1372400132,), (1372400134,), (1372400139,), (1372400142,), (1372400163,), (1372400175,), (1372400183,), (1372400185,), (1372400190,), (1372400195,), (1372400227,), (1372400230,), (1372400233,), (1372400234,), (1372400238,), (1372400242,), (1372400267,), (1372400271,), (1372400274,), (1372400276,), (1372400280,), (1372400284,), (1372400304,), (1372400315,), (1372400324,), (1372400326,), (1372400329,), (1372400333,), (1372400362,), (1372400376,), (1372400378,), (1372400381,), (1372400385,), (1372400389,), (1372400819,), (1372401552,), (1372402175,), (1372402221,), (1372402269,), (1372402314,), (1372402349,), (1372402370,), (1372402625,), (1372402649,), (1372402671,), (1372402705,), (1372402744,), (1372402785,), (1372402942,), (1372402969,), (1372402972,), (1372402975,), (1372402993,), (1372403018,), (1372403093,), (1372403097,), (1372403108,), (1372403112,), (1372403117,), (1372403121,), (1372403144,), (1372403147,), (1372403151,), (1372403154,), (1372403158,), (1372403163,), (1372403198,), (1372403205,), (1372403216,), (1372403219,), (1372403257,), (1372403285,), (1372403330,), (1372403339,), (1372403341,), (1372403344,), (1372403347,), (1372403351,), (1372403379,), (1372403382,), (1372403386,), (1372403389,), (1372403392,), (1372403395,), (1372403416,), (1372403426,), (1372403430,), (1372403436,), (1372403440,), (1372403444,), (1372403482,), (1372403485,), (1372403491,), (1372403495,), (1372403499,), (1372403503,), (1372403529,), (1372403536,), (1372403539,), (1372403548,), (1372403585,), (1372403590,), (1372403621,), (1372403623,), (1372403625,), (1372403628,), (1372403631,), (1372403634,), (1372403652,), (1372403664,), (1372403670,), (1372403673,), (1372403677,), (1372403682,), (1372403714,), (1372403752,), (1372403761,), (1372403767,), (1372403778,), (1372403781,), (1372403784,), (1372403810,), (1372403813,), (1372403816,), (1372403821,), (1372403861,), (1372403870,), (1372403897,), (1372403909,), (1372403913,), (1372403917,), (1372403921,), (1372403923,), (1372403957,), (1372403961,), (1372403968,), (1372403974,), (1372403978,), (1372403982,), (1372403999,), (1372404002,), (1372404006,), (1372404011,), (1372404015,), (1372404018,), (1372404055,), (1372404056,), (1372404059,), (1372404063,), (1372404067,), (1372404072,), (1372404096,), (1372404107,), (1372404113,), (1372404116,), (1372404137,), (1372404162,), (1372404201,), (1372404204,), (1372404208,), (1372404212,), (1372404215,), (1372404219,), (1372404277,), (1372404285,), (1372404287,), (1372404290,), (1372404292,), (1372404296,), (1372404333,), (1372404335,), (1372404338,), (1372404343,), (1372404347,), (1372404353,), (1372404383,), (1372404391,), (1372404392,), (1372404394,), (1372404397,), (1372404402,), (1372404425,), (1372404426,), (1372404429,), (1372404432,), (1372404435,), (1372404439,), (1372404485,), (1372404489,), (1372404492,), (1372404496,), (1372404498,), (1372404502,), (1372404516,), (1372404519,), (1372404523,), (1372404526,), (1372404530,), (1372404535,), (1372404562,), (1372404570,), (1372404576,), (1372404580,), (1372404585,), (1372404589,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17072025': {'nb_upload': 90, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25017204]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] map_info['map_portfolio_photo'] : {25017204: [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562, 1372404535, 1372404530, 1372404526, 1372404523, 1372404519, 1372404516, 1372404502, 1372404498, 1372404496, 1372404492, 1372404489, 1372404485, 1372404439, 1372404435, 1372404432, 1372404429, 1372404426, 1372404425, 1372404402, 1372404397, 1372404394, 1372404392, 1372404391, 1372404383, 1372404353, 1372404347, 1372404343, 1372404338, 1372404335, 1372404333, 1372404296, 1372404292, 1372404290, 1372404287, 1372404285, 1372404277, 1372404219, 1372404215, 1372404212, 1372404208, 1372404204, 1372404201, 1372404162, 1372404137, 1372404116, 1372404113, 1372404107, 1372404096, 1372404072, 1372404067, 1372404063, 1372404059, 1372404056, 1372404055, 1372404018, 1372404015, 1372404011, 1372404006, 1372404002, 1372403999, 1372403982, 1372403978, 1372403974, 1372403968, 1372403961, 1372403957, 1372403923, 1372403921, 1372403917, 1372403913, 1372403909, 1372403897, 1372403870, 1372403861, 1372403821, 1372403816, 1372403813, 1372403810, 1372403784, 1372403781, 1372403778, 1372403767, 1372403761, 1372403752]} final : True mtd_id 4302 list_pids : [1372404589, 1372404585, 1372404580, 1372404576, 1372404570, 1372404562] Looping around the photos to save general results len do output : 1 /25017204Didn'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, '3302263') ('4302', '25017204', '1372404589', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404585', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404580', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404576', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404570', None, None, None, None, None, '3302263') ('4302', None, None, None, None, None, None, None, '3302263') ('4302', '25017204', '1372404562', None, None, None, None, None, '3302263') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 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, '25017204', 'None', None, None, None, None, '3302263'), ('4302', '25017204', '1372404589', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404585', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404580', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404576', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404570', None, None, None, None, None, '3302263'), ('4302', '25017204', '1372404562', None, None, None, None, None, '3302263')] time used for this insertion : 0.03904128074645996 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.9639623165130615 time spend to save output : 0.03921794891357422 total time spend for step 5 : 8.003180265426636 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 (3302263) 2.16user 2.40system 0:21.67elapsed 21%CPU (0avgtext+0avgdata 160076maxresident)k 1392inputs+9400outputs (18major+73779minor)pagefaults 0swaps