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 : 483900 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 (3924363) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3924363) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699828 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3924363'] with mtr_portfolio_ids : ['27699828'] and first list_photo_ids : [] new path : /proc/483900/ Name: python3 Umask: 0002 State: R (running) Tgid: 483900 Ngid: 0 Pid: 483900 PPid: 483899 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 483900 NSpid: 483900 NSpgid: 480994 NSsid: 480994 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99252 kB VmRSS: 99252 kB RssAnon: 59840 kB RssFile: 39412 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 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: 56 nonvoluntary_ctxt_switches: 139 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '483900', 'Ngid': '0', 'Pid': '483900', 'PPid': '483899', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '483900', 'NSpid': '483900', 'NSpgid': '480994', 'NSsid': '480994', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99252 kB', 'VmRSS': '99252 kB', 'RssAnon': '59840 kB', 'RssFile': '39412 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 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': '56', 'nonvoluntary_ctxt_switches': '139'} ('datou_batch_current', '483900', '1106856', '0', '1106856', '865608', '99252', b'', 'marlene', '3924363') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27699828) 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 (3924363 ) ) 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 (27699828) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388744308, 'portfolio_id': 27699828}, {'photo_id': 1388744307, 'portfolio_id': 27699828}, {'photo_id': 1388744301, 'portfolio_id': 27699828}, {'photo_id': 1388744260, 'portfolio_id': 27699828}, {'photo_id': 1388744257, 'portfolio_id': 27699828}, {'photo_id': 1388744254, 'portfolio_id': 27699828}, {'photo_id': 1388744247, 'portfolio_id': 27699828}, {'photo_id': 1388744242, 'portfolio_id': 27699828}, {'photo_id': 1388744239, 'portfolio_id': 27699828}, {'photo_id': 1388744226, 'portfolio_id': 27699828}, {'photo_id': 1388744223, 'portfolio_id': 27699828}, {'photo_id': 1388744221, 'portfolio_id': 27699828}, {'photo_id': 1388744219, 'portfolio_id': 27699828}, {'photo_id': 1388744216, 'portfolio_id': 27699828}, {'photo_id': 1388744159, 'portfolio_id': 27699828}, {'photo_id': 1388744155, 'portfolio_id': 27699828}, {'photo_id': 1388744150, 'portfolio_id': 27699828}, {'photo_id': 1388744148, 'portfolio_id': 27699828}, {'photo_id': 1388744136, 'portfolio_id': 27699828}, {'photo_id': 1388744134, 'portfolio_id': 27699828}, {'photo_id': 1388744101, 'portfolio_id': 27699828}, {'photo_id': 1388744096, 'portfolio_id': 27699828}, {'photo_id': 1388744089, 'portfolio_id': 27699828}, {'photo_id': 1388744085, 'portfolio_id': 27699828}, {'photo_id': 1388744073, 'portfolio_id': 27699828}, {'photo_id': 1388744038, 'portfolio_id': 27699828}, {'photo_id': 1388744033, 'portfolio_id': 27699828}, {'photo_id': 1388744021, 'portfolio_id': 27699828}, {'photo_id': 1388744013, 'portfolio_id': 27699828}, {'photo_id': 1388744012, 'portfolio_id': 27699828}, {'photo_id': 1388743990, 'portfolio_id': 27699828}, {'photo_id': 1388743986, 'portfolio_id': 27699828}, {'photo_id': 1388743981, 'portfolio_id': 27699828}, {'photo_id': 1388743977, 'portfolio_id': 27699828}, {'photo_id': 1388743970, 'portfolio_id': 27699828}, {'photo_id': 1388743949, 'portfolio_id': 27699828}, {'photo_id': 1388743861, 'portfolio_id': 27699828}, {'photo_id': 1388743859, 'portfolio_id': 27699828}, {'photo_id': 1388743843, 'portfolio_id': 27699828}, {'photo_id': 1388743840, 'portfolio_id': 27699828}, {'photo_id': 1388743837, 'portfolio_id': 27699828}, {'photo_id': 1388743835, 'portfolio_id': 27699828}, {'photo_id': 1388743813, 'portfolio_id': 27699828}, {'photo_id': 1388743807, 'portfolio_id': 27699828}, {'photo_id': 1388743801, 'portfolio_id': 27699828}, {'photo_id': 1388743794, 'portfolio_id': 27699828}, {'photo_id': 1388743775, 'portfolio_id': 27699828}, {'photo_id': 1388743745, 'portfolio_id': 27699828}, {'photo_id': 1388743742, 'portfolio_id': 27699828}, {'photo_id': 1388743740, 'portfolio_id': 27699828}, {'photo_id': 1388743737, 'portfolio_id': 27699828}, {'photo_id': 1388743715, 'portfolio_id': 27699828}, {'photo_id': 1388743704, 'portfolio_id': 27699828}, {'photo_id': 1388743699, 'portfolio_id': 27699828}, {'photo_id': 1388743688, 'portfolio_id': 27699828}, {'photo_id': 1388743677, 'portfolio_id': 27699828}, {'photo_id': 1388743646, 'portfolio_id': 27699828}, {'photo_id': 1388743642, 'portfolio_id': 27699828}, {'photo_id': 1388743637, 'portfolio_id': 27699828}, {'photo_id': 1388743632, 'portfolio_id': 27699828}, {'photo_id': 1388743627, 'portfolio_id': 27699828}, {'photo_id': 1388743624, 'portfolio_id': 27699828}, {'photo_id': 1388743496, 'portfolio_id': 27699828}, {'photo_id': 1388743487, 'portfolio_id': 27699828}, {'photo_id': 1388743480, 'portfolio_id': 27699828}, {'photo_id': 1388743462, 'portfolio_id': 27699828}, {'photo_id': 1388743450, 'portfolio_id': 27699828}, {'photo_id': 1388743254, 'portfolio_id': 27699828}] map_portfolio_id_photo_id: {27699828: [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216, 1388744159, 1388744155, 1388744150, 1388744148, 1388744136, 1388744134, 1388744101, 1388744096, 1388744089, 1388744085, 1388744073, 1388744038, 1388744033, 1388744021, 1388744013, 1388744012, 1388743990, 1388743986, 1388743981, 1388743977, 1388743970, 1388743949, 1388743861, 1388743859, 1388743843, 1388743840, 1388743837, 1388743835, 1388743813, 1388743807, 1388743801, 1388743794, 1388743775, 1388743745, 1388743742, 1388743740, 1388743737, 1388743715, 1388743704, 1388743699, 1388743688, 1388743677, 1388743646, 1388743642, 1388743637, 1388743632, 1388743627, 1388743624, 1388743496, 1388743487, 1388743480, 1388743462, 1388743450, 1388743254]} ##### 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.05295252799987793 #### 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 Fri Oct 10 14:31:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27699828) 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 : 27699828 get user id for portfolio 27699828 get sub ptf for main ptf 27699828, type 3726 and hashtags ['plastique', 'Carton_gris', 'papier', 'cartonnette', 'environnement', 'Carton_brun', 'metal', 'mal_croppe', 'kraft', 'Teint_Dans_La_Masse', 'autre_refus', 'flou'] 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`=27699828 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','papier','cartonnette','environnement','Carton_brun','metal','mal_croppe','kraft','Teint_Dans_La_Masse','autre_refus','flou')) 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`=27699828 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','papier','cartonnette','environnement','Carton_brun','metal','mal_croppe','kraft','Teint_Dans_La_Masse','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27699828, 'sub_port_id': 27699835, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683719, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'environnement': {'main_port_id': 27699828, 'sub_port_id': 27699836, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683720, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'metal': {'main_port_id': 27699828, 'sub_port_id': 27699837, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683721, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'cartonnette': {'main_port_id': 27699828, 'sub_port_id': 27699838, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683722, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'mal_croppe': {'main_port_id': 27699828, 'sub_port_id': 27699839, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683723, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'papier': {'main_port_id': 27699828, 'sub_port_id': 27699840, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683724, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'flou': {'main_port_id': 27699828, 'sub_port_id': 27699841, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683725, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'Carton_gris': {'main_port_id': 27699828, 'sub_port_id': 27699843, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683726, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 27699828, 'sub_port_id': 27699844, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683727, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'kraft': {'main_port_id': 27699828, 'sub_port_id': 27699845, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683728, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'Carton_brun': {'main_port_id': 27699828, 'sub_port_id': 27699846, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683729, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}, 'plastique': {'main_port_id': 27699828, 'sub_port_id': 27699847, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683730, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 18, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27699835 , 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=27699828 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 (27699835) result : ((1388743915,), (1388744171,), (1388744204,), (1388744269,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699836 , 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=27699828 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 (27699836) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699837 , 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=27699828 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 (27699837) result : ((1388744059,), (1388744191,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699838 , 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=27699828 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 (27699838) result : ((1388743808,), (1388743809,), (1388743827,), (1388743917,), (1388744052,), (1388744053,), (1388744054,), (1388744055,), (1388744056,), (1388744183,), (1388744184,), (1388744185,), (1388744186,), (1388744187,), (1388744188,), (1388744189,), (1388744206,), (1388744207,), (1388744208,), (1388744278,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699839 , 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=27699828 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 (27699839) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699840 , 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=27699828 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 (27699840) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699841 , 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=27699828 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 (27699841) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699843 , 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=27699828 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 (27699843) result : ((1388743825,), (1388743916,), (1388744045,), (1388744046,), (1388744047,), (1388744048,), (1388744049,), (1388744050,), (1388744174,), (1388744175,), (1388744176,), (1388744177,), (1388744178,), (1388744179,), (1388744180,), (1388744205,), (1388744270,), (1388744271,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699844 , 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=27699828 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 (27699844) result : ((1388743824,), (1388744041,), (1388744042,), (1388744043,), (1388744044,), (1388744164,), (1388744165,), (1388744166,), (1388744167,), (1388744168,), (1388744169,), (1388744170,), (1388744203,), (1388744262,), (1388744263,), (1388744264,), (1388744265,), (1388744266,), (1388744267,), (1388744268,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699845 , 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=27699828 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 (27699845) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699846 , 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=27699828 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 (27699846) result : ((1388743828,), (1388743829,), (1388743918,), (1388744058,), (1388744190,), (1388744210,), (1388744211,), (1388744212,), (1388744272,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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 27699847 , 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=27699828 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 (27699847) result : ((1388743830,), (1388743920,), (1388743921,), (1388744274,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27699828) result : ((1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) 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`=27699828 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','papier','cartonnette','environnement','Carton_brun','metal','mal_croppe','kraft','Teint_Dans_La_Masse','autre_refus','flou')) 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`=27699828 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_gris','papier','cartonnette','environnement','Carton_brun','metal','mal_croppe','kraft','Teint_Dans_La_Masse','autre_refus','flou')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 27699828, 'sub_port_id': 27699850, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683731, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'environnement': {'main_port_id': 27699828, 'sub_port_id': 27699851, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683732, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'metal': {'main_port_id': 27699828, 'sub_port_id': 27699852, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683733, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'cartonnette': {'main_port_id': 27699828, 'sub_port_id': 27699853, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683734, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'mal_croppe': {'main_port_id': 27699828, 'sub_port_id': 27699854, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683735, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'papier': {'main_port_id': 27699828, 'sub_port_id': 27699855, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683736, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'flou': {'main_port_id': 27699828, 'sub_port_id': 27699856, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683737, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'Carton_gris': {'main_port_id': 27699828, 'sub_port_id': 27699857, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683738, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'Teint_Dans_La_Masse': {'main_port_id': 27699828, 'sub_port_id': 27699858, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683739, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'kraft': {'main_port_id': 27699828, 'sub_port_id': 27699859, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683740, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'Carton_brun': {'main_port_id': 27699828, 'sub_port_id': 27699860, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683741, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}, 'plastique': {'main_port_id': 27699828, 'sub_port_id': 27699861, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18683742, 'last_updated_at': datetime.datetime(2025, 10, 10, 14, 28, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 14, 28, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 14, 19, 4)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699850,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699835 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699851,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699836 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699852,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699837 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699853,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699838 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699854,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699839 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699855,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699840 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699856,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699841 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699857,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699843 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699858,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699844 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699859,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699845 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699860,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699846 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27699861,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27699847 lien utilise dans velours : https://marlene.fotonower.com/velours/27699850,27699851,27699852,27699853,27699854,27699855,27699856,27699857,27699858,27699859,27699860,27699861?tags=autre_refus,environnement,metal,cartonnette,mal_croppe,papier,flou,Carton_gris,Teint_Dans_La_Masse,kraft,Carton_brun,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27699828]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] map_info['map_portfolio_photo'] : {27699828: [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216, 1388744159, 1388744155, 1388744150, 1388744148, 1388744136, 1388744134, 1388744101, 1388744096, 1388744089, 1388744085, 1388744073, 1388744038, 1388744033, 1388744021, 1388744013, 1388744012, 1388743990, 1388743986, 1388743981, 1388743977, 1388743970, 1388743949, 1388743861, 1388743859, 1388743843, 1388743840, 1388743837, 1388743835, 1388743813, 1388743807, 1388743801, 1388743794, 1388743775, 1388743745, 1388743742, 1388743740, 1388743737, 1388743715, 1388743704, 1388743699, 1388743688, 1388743677, 1388743646, 1388743642, 1388743637, 1388743632, 1388743627, 1388743624, 1388743496, 1388743487, 1388743480, 1388743462, 1388743450, 1388743254]} final : False mtd_id 4302 list_pids : [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] Looping around the photos to save general results len do output : 1 /27699828. 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, '3924363') ('4302', '27699828', '1388744308', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744307', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744301', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744260', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744257', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744254', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744247', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744242', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744239', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744226', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744223', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744221', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744219', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744216', None, None, None, None, None, '3924363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27699828', "{'autre_refus': 27699835, 'environnement': 27699836, 'metal': 27699837, 'cartonnette': 27699838, 'mal_croppe': 27699839, 'papier': 27699840, 'flou': 27699841, 'Carton_gris': 27699843, 'Teint_Dans_La_Masse': 27699844, 'kraft': 27699845, 'Carton_brun': 27699846, 'plastique': 27699847}", None, None, None, None, '3924363'), ('4302', '27699828', '1388744308', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744307', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744301', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744260', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744257', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744254', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744247', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744242', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744239', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744226', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744223', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744221', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744219', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744216', None, None, None, None, None, '3924363')] time used for this insertion : 0.0383603572845459 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.137366771697998 time spend to save output : 0.03891348838806152 total time spend for step 1 : 5.17628026008606 step2:final Fri Oct 10 14:31:05 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 (27699828) 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 27699828 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388743254,1388743496,1388743487,1388743480,1388743462,1388743450,1388743646,1388743642,1388743637,1388743632,1388743627,1388743624,1388743715,1388743704,1388743699,1388743688,1388743677,1388743745,1388743742,1388743740,1388743737,1388743813,1388743807,1388743801,1388743794,1388743775,1388743843,1388743840,1388743837,1388743835,1388743861,1388743859,1388743990,1388743986,1388743981,1388743977,1388743970,1388743949,1388744038,1388744033,1388744021,1388744013,1388744012,1388744101,1388744096,1388744089,1388744085,1388744073,1388744159,1388744155,1388744150,1388744148,1388744136,1388744134,1388744226,1388744223,1388744221,1388744219,1388744216,1388744260,1388744257,1388744254,1388744247,1388744242,1388744239,1388744308,1388744307,1388744301); 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([27699828]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} new output for save of step final : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] map_info['map_portfolio_photo'] : {27699828: [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216, 1388744159, 1388744155, 1388744150, 1388744148, 1388744136, 1388744134, 1388744101, 1388744096, 1388744089, 1388744085, 1388744073, 1388744038, 1388744033, 1388744021, 1388744013, 1388744012, 1388743990, 1388743986, 1388743981, 1388743977, 1388743970, 1388743949, 1388743861, 1388743859, 1388743843, 1388743840, 1388743837, 1388743835, 1388743813, 1388743807, 1388743801, 1388743794, 1388743775, 1388743745, 1388743742, 1388743740, 1388743737, 1388743715, 1388743704, 1388743699, 1388743688, 1388743677, 1388743646, 1388743642, 1388743637, 1388743632, 1388743627, 1388743624, 1388743496, 1388743487, 1388743480, 1388743462, 1388743450, 1388743254]} final : False mtd_id 4302 list_pids : [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] Looping around the photos to save general results len do output : 14 /1388744308.Didn't retrieve data . /1388744307.Didn't retrieve data . /1388744301.Didn't retrieve data . /1388744260.Didn't retrieve data . /1388744257.Didn't retrieve data . /1388744254.Didn't retrieve data . /1388744247.Didn't retrieve data . /1388744242.Didn't retrieve data . /1388744239.Didn't retrieve data . /1388744226.Didn't retrieve data . /1388744223.Didn't retrieve data . /1388744221.Didn't retrieve data . /1388744219.Didn't retrieve data . /1388744216.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, '3924363') ('4302', '27699828', '1388744308', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744307', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744301', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744260', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744257', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744254', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744247', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744242', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744239', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744226', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744223', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744221', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744219', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744216', None, None, None, None, None, '3924363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '27699828', '1388744308', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744307', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744301', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744260', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744257', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744254', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744247', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744242', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744239', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744226', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744223', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744221', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744219', '0.07061924509538219', None, None, None, None, '3924363'), ('4302', '27699828', '1388744216', '0.07061924509538219', None, None, None, None, '3924363')] time used for this insertion : 0.03922724723815918 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2453913688659668 time spend to save output : 0.040126800537109375 total time spend for step 2 : 0.28551816940307617 step3:velours_tree Fri Oct 10 14:31:05 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 : {27699828: [{'autre_refus': 27699835, 'environnement': 27699836, 'metal': 27699837, 'cartonnette': 27699838, 'mal_croppe': 27699839, 'papier': 27699840, 'flou': 27699841, 'Carton_gris': 27699843, 'Teint_Dans_La_Masse': 27699844, 'kraft': 27699845, 'Carton_brun': 27699846, 'plastique': 27699847}]} input_args_next_step : {27699828: ()} output_args : {27699828: [{'autre_refus': 27699835, 'environnement': 27699836, 'metal': 27699837, 'cartonnette': 27699838, 'mal_croppe': 27699839, 'papier': 27699840, 'flou': 27699841, 'Carton_gris': 27699843, 'Teint_Dans_La_Masse': 27699844, 'kraft': 27699845, 'Carton_brun': 27699846, 'plastique': 27699847}]} args : 27699828 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 : ({'autre_refus': 27699835, 'environnement': 27699836, 'metal': 27699837, 'cartonnette': 27699838, 'mal_croppe': 27699839, 'papier': 27699840, 'flou': 27699841, 'Carton_gris': 27699843, 'Teint_Dans_La_Masse': 27699844, 'kraft': 27699845, 'Carton_brun': 27699846, 'plastique': 27699847},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27699828) 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([27699828]) 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.45809245109558105 time spend to save output : 9.775161743164062e-05 total time spend for step 3 : 0.4581902027130127 step4:send_mail_cod Fri Oct 10 14:31:06 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 : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} input_args_next_step : {1388744308: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744308 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744307 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744301 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744260 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744257 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744254 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744247 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744242 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744239 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744226 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744223 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744221 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744219 depend.output_id : 0 input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ()} output_args : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',)} args : 1388744216 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 : {27699828: [{'autre_refus': 27699835, 'environnement': 27699836, 'metal': 27699837, 'cartonnette': 27699838, 'mal_croppe': 27699839, 'papier': 27699840, 'flou': 27699841, 'Carton_gris': 27699843, 'Teint_Dans_La_Masse': 27699844, 'kraft': 27699845, 'Carton_brun': 27699846, 'plastique': 27699847}]} input_args_next_step : {1388744308: ('0.07061924509538219',), 1388744307: ('0.07061924509538219',), 1388744301: ('0.07061924509538219',), 1388744260: ('0.07061924509538219',), 1388744257: ('0.07061924509538219',), 1388744254: ('0.07061924509538219',), 1388744247: ('0.07061924509538219',), 1388744242: ('0.07061924509538219',), 1388744239: ('0.07061924509538219',), 1388744226: ('0.07061924509538219',), 1388744223: ('0.07061924509538219',), 1388744221: ('0.07061924509538219',), 1388744219: ('0.07061924509538219',), 1388744216: ('0.07061924509538219',), 27699828: ()} output_args : {27699828: [{'autre_refus': 27699835, 'environnement': 27699836, 'metal': 27699837, 'cartonnette': 27699838, 'mal_croppe': 27699839, 'papier': 27699840, 'flou': 27699841, 'Carton_gris': 27699843, 'Teint_Dans_La_Masse': 27699844, 'kraft': 27699845, 'Carton_brun': 27699846, 'plastique': 27699847}]} args : 27699828 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 :15, first value : ('0.07061924509538219',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27699828) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1388744308,1388744307,1388744301,1388744260,1388744257,1388744254,1388744247,1388744242,1388744239,1388744226,1388744223,1388744221,1388744219,1388744216) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388744216 begin to download photo : 1388744223 begin to download photo : 1388744242 begin to download photo : 1388744257 begin to download photo : 1388744307 download finish for photo 1388744216 begin to download photo : 1388744219 download finish for photo 1388744223 begin to download photo : 1388744226 download finish for photo 1388744307 begin to download photo : 1388744308 download finish for photo 1388744242 begin to download photo : 1388744247 download finish for photo 1388744257 begin to download photo : 1388744260 download finish for photo 1388744219 begin to download photo : 1388744221 download finish for photo 1388744226 begin to download photo : 1388744239 download finish for photo 1388744308 download finish for photo 1388744247 begin to download photo : 1388744254 download finish for photo 1388744260 begin to download photo : 1388744301 download finish for photo 1388744239 download finish for photo 1388744301 download finish for photo 1388744254 download finish for photo 1388744221 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 results_Auto_P27699828_10-10-2025_14_31_07.pdf 27699835 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699835 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388743915: '1760099004_362560_1388743740_8c8a0706fb404aae08181c6c682f218d_rle_crop_3992789221_0.png', 1388744171: '1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789835_0.png', 1388744204: '1760099245_375490_1388744021_43b63bde205441c5fd21e378d6a4b07f_rle_crop_3992790079_0.png', 1388744269: '1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791592_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/6a832ace331ba74a1b363205f1486d35_13325129.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/803be9baab5581b274f16bab049a2443_18337704.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/5bf27eb61cd6cbafc70e6399bebb5f5d_81442067.png change filename to text .imagette276998351760099467/ imagette276998351760099467/1760099245_375490_1388744021_43b63bde205441c5fd21e378d6a4b07f_rle_crop_3992790079_0.png.png imagette276998351760099467/1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789835_0.png.png imagette276998351760099467/1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791592_0.png.png imagette276998351760099467/1760099004_362560_1388743740_8c8a0706fb404aae08181c6c682f218d_rle_crop_3992789221_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/d193492e07837c3ac2ea06f84c6c898b_54635383.png imagette276998351760099467 27699837 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699837 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388744059: '1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789517_0.png', 1388744191: '1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789517_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0d2c21b9a9b0993fc0f1676641759cbf_90539754.png change filename to text .imagette276998371760099467/ imagette276998371760099467/1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789517_0.png.png imagette276998371760099467/1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789517_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0d2c21b9a9b0993fc0f1676641759cbf_9069780.png imagette276998371760099467 27699838 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699838 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388744184: '1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789837_0.png', 1388744278: '1760099366_381325_1388743859_40920e2b82e1e758284b6f38bed433f6_rle_crop_3992791692_0.png', 1388744208: '1760099245_375490_1388744013_23f28528d05c2130ab21b40dd38ca2f1_rle_crop_3992790090_0.png', 1388744207: '1760099245_375490_1388744021_43b63bde205441c5fd21e378d6a4b07f_rle_crop_3992790080_0.png', 1388744206: '1760099245_375490_1388744033_31c0cbb836f4fa17427373367b94a0dc_rle_crop_3992790058_0.png', 1388744189: '1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789521_0.png', 1388744188: '1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789519_0.png', 1388744187: '1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789499_0.png', 1388744186: '1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789497_0.png', 1388744185: '1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789503_0.png', 1388743808: '1760098867_354403_1388743254_0ab9d227050c76cda11d6936dd15412e_rle_crop_3992788715_0.png', 1388744183: '1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789836_0.png', 1388744056: '1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789521_0.png', 1388744055: '1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789519_0.png', 1388744054: '1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789499_0.png', 1388744053: '1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789497_0.png', 1388744052: '1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789503_0.png', 1388743917: '1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789233_0.png', 1388743827: '1760098886_355701_1388743677_ac80e96a7a9211fb8b0aa16e3c4cb352_rle_crop_3992788891_0.png', 1388743809: '1760098867_354403_1388743254_0ab9d227050c76cda11d6936dd15412e_rle_crop_3992788716_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/86e2d49fc408dbc27e54cf0a3da1dcab_59229767.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3cdc189bc9a3eddd7c3c8f6d96f3a06e_2314801.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/4ceaba8cbe1191d68cdeb95894be4425_86158075.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/7f1234a9d9b78eaf1de84d60dc21406e_57978189.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f85fc091d75961f8ce2aba515d8b8600_15727186.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/7f666f9fba1df33573c316bb5119ac29_16239693.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/9202d69c279e7359b7bff847eb781332_87524300.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/801c7ce8cd1de38cdc7e5fcda492dc42_22847759.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c1f2a349d1410162cdc59ac3aa2ca297_8107589.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/53a866bc412236d9ef1b0732eae924c1_36043830.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/72cfb0e14e5c34345597c2e7156ca4a9_75570828.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/445c503a3f7d9d0dc8bc8c9fbf0b7407_95710948.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/7f666f9fba1df33573c316bb5119ac29_9422785.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/9202d69c279e7359b7bff847eb781332_49081910.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/801c7ce8cd1de38cdc7e5fcda492dc42_4814789.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c1f2a349d1410162cdc59ac3aa2ca297_64990103.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/53a866bc412236d9ef1b0732eae924c1_35757057.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/d328abcfc7ea5f66ae276ccdd8b881a5_80481103.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/62ff8a72b21e8544e373e9899a25ac8d_84270602.png change filename to text .imagette276998381760099468/ imagette276998381760099468/1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789521_0.png.png imagette276998381760099468/1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789499_0.png.png imagette276998381760099468/1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789499_0.png.png imagette276998381760099468/1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789497_0.png.png imagette276998381760099468/1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789233_0.png.png imagette276998381760099468/1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789497_0.png.png imagette276998381760099468/1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789503_0.png.png imagette276998381760099468/1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789519_0.png.png imagette276998381760099468/1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789503_0.png.png imagette276998381760099468/1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789521_0.png.png imagette276998381760099468/1760099245_375490_1388744013_23f28528d05c2130ab21b40dd38ca2f1_rle_crop_3992790090_0.png.png imagette276998381760099468/1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789519_0.png.png imagette276998381760099468/1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789836_0.png.png imagette276998381760099468/1760099245_375490_1388744033_31c0cbb836f4fa17427373367b94a0dc_rle_crop_3992790058_0.png.png imagette276998381760099468/1760099245_375490_1388744021_43b63bde205441c5fd21e378d6a4b07f_rle_crop_3992790080_0.png.png imagette276998381760099468/1760098867_354403_1388743254_0ab9d227050c76cda11d6936dd15412e_rle_crop_3992788715_0.png.png imagette276998381760099468/1760099366_381325_1388743859_40920e2b82e1e758284b6f38bed433f6_rle_crop_3992791692_0.png.png imagette276998381760099468/1760098886_355701_1388743677_ac80e96a7a9211fb8b0aa16e3c4cb352_rle_crop_3992788891_0.png.png imagette276998381760099468/1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789837_0.png.png imagette276998381760099468/1760098867_354403_1388743254_0ab9d227050c76cda11d6936dd15412e_rle_crop_3992788716_0.png.png imagette276998391760099469/ imagette276998411760099469/ imagette276998451760099469/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/06a75b0c1e8066f4656b48f66d278709_7243253.png imagette276998381760099468 27699839 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699839 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276998391760099469 27699841 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699841 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276998411760099469 27699845 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699845 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276998451760099469 27699847 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699847 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388743830: '1760098886_355701_1388743677_ac80e96a7a9211fb8b0aa16e3c4cb352_rle_crop_3992788886_0.png', 1388743920: '1760099004_362560_1388743813_de2cbefda1061365a6b15840de7779b6_rle_crop_3992789199_0.png', 1388743921: '1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789234_0.png', 1388744274: '1760099344_380898_1388743949_5c326ae72ad893d2ea0d4ceec07c8c2e_rle_crop_3992791644_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/a07b03803cca8b18ba6f56762cfe2850_82811331.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/b86a0aa035df4d47f7609b844f3a0ca7_98438158.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/54c3cbc714dc7cabfedcf031d63c42af_92665518.png change filename to text .imagette276998471760099469/ imagette276998471760099469/1760099004_362560_1388743813_de2cbefda1061365a6b15840de7779b6_rle_crop_3992789199_0.png.png imagette276998471760099469/1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789234_0.png.png imagette276998471760099469/1760098886_355701_1388743677_ac80e96a7a9211fb8b0aa16e3c4cb352_rle_crop_3992788886_0.png.png imagette276998471760099469/1760099344_380898_1388743949_5c326ae72ad893d2ea0d4ceec07c8c2e_rle_crop_3992791644_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/acba3dd09aabfdc5968ad06904187588_20626963.png imagette276998471760099469 27699843 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699843 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388744175: '1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789504_0.png', 1388744271: '1760099344_380898_1388743949_5c326ae72ad893d2ea0d4ceec07c8c2e_rle_crop_3992791640_0.png', 1388744270: '1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791596_0.png', 1388744205: '1760099245_375490_1388744012_39b9a4b04acb6151a2866e246fd1f31d_rle_crop_3992790109_0.png', 1388744180: '1760099226_375135_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789543_0.png', 1388744179: '1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789536_0.png', 1388744178: '1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789530_0.png', 1388744177: '1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789525_0.png', 1388744176: '1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789507_0.png', 1388743825: '1760098886_355701_1388743677_ac80e96a7a9211fb8b0aa16e3c4cb352_rle_crop_3992788887_0.png', 1388744174: '1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789846_0.png', 1388744050: '1760099106_367534_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789543_0.png', 1388744049: '1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789536_0.png', 1388744048: '1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789530_0.png', 1388744047: '1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789525_0.png', 1388744046: '1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789507_0.png', 1388744045: '1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789504_0.png', 1388743916: '1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789231_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/eef69d8835968f3cde14b60ced8a9c6d_27567470.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/5c75755a78015d6b14cd5162938866c3_17119571.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/d39310f01d0f3d3eaa7bce6d56ee28a2_97201687.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f32e03f93df1b17cba44f22c45b22887_18186699.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/6b4f39b84d14eb39fac122c3db5864a0_95021282.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3f0fb0794e2b326f9c4806068aee4ca1_27985267.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3bbdf247da1f7de961910f9fdc930b2a_86950132.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/a83488794298b5549b19812739515163_63555055.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c85c48e74e35a1183416a7a478b8b736_62586561.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f64cd55b2c71418e016a4c564f2701b7_29470347.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/a00ec6523f9b139fd3f9660a43825629_28532860.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/6b4f39b84d14eb39fac122c3db5864a0_13747442.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3f0fb0794e2b326f9c4806068aee4ca1_76923991.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3bbdf247da1f7de961910f9fdc930b2a_53081414.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/a83488794298b5549b19812739515163_28964119.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c85c48e74e35a1183416a7a478b8b736_57583600.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/eef69d8835968f3cde14b60ced8a9c6d_45697132.png change filename to text .imagette276998431760099470/ imagette276998431760099470/1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789846_0.png.png imagette276998431760099470/1760098886_355701_1388743677_ac80e96a7a9211fb8b0aa16e3c4cb352_rle_crop_3992788887_0.png.png imagette276998431760099470/1760099226_375135_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789525_0.png.png imagette276998431760099470/1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789231_0.png.png imagette276998431760099470/1760099344_380898_1388743949_5c326ae72ad893d2ea0d4ceec07c8c2e_rle_crop_3992791640_0.png.png imagette276998431760099470/1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789530_0.png.png imagette276998431760099470/1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789507_0.png.png imagette276998431760099470/1760099106_367534_1388743801_65a308b50d39a5b0ee954c1830bc1e1f_rle_crop_3992789525_0.png.png imagette276998431760099470/1760099106_367534_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789543_0.png.png imagette276998431760099470/1760099245_375490_1388744012_39b9a4b04acb6151a2866e246fd1f31d_rle_crop_3992790109_0.png.png imagette276998431760099470/1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789504_0.png.png imagette276998431760099470/1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789530_0.png.png imagette276998431760099470/1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791596_0.png.png imagette276998431760099470/1760099226_375135_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789543_0.png.png imagette276998431760099470/1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789536_0.png.png imagette276998431760099470/1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789507_0.png.png imagette276998431760099470/1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789504_0.png.png imagette276998431760099470/1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789536_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/8a3cad6f431ae7af81d3fa1666f1aef6_70602254.png imagette276998431760099470 27699844 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699844 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388744169: '1760099226_375135_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789546_0.png', 1388744268: '1760099344_380898_1388743949_5c326ae72ad893d2ea0d4ceec07c8c2e_rle_crop_3992791647_0.png', 1388744267: '1760099344_380898_1388743970_773c75961aa25a69e3e0985e849f1642_rle_crop_3992791630_0.png', 1388744266: '1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791601_0.png', 1388744265: '1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791599_0.png', 1388744264: '1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791598_0.png', 1388744263: '1760099344_380898_1388743986_ba217d12fdefeaf08b278ed4ed1aad26_rle_crop_3992791589_0.png', 1388744262: '1760099344_380898_1388744038_90ba1e1d21212a228e509d1cd815dde5_rle_crop_3992791567_0.png', 1388744203: '1760099245_375490_1388744013_23f28528d05c2130ab21b40dd38ca2f1_rle_crop_3992790092_0.png', 1388744170: '1760099226_375135_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789547_0.png', 1388743824: '1760098886_355701_1388743704_e5f41645457da68929139c8f621bfa48_rle_crop_3992788854_0.png', 1388744168: '1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789534_0.png', 1388744167: '1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789537_0.png', 1388744166: '1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789847_0.png', 1388744165: '1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789848_0.png', 1388744164: '1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789842_0.png', 1388744044: '1760099106_367534_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789547_0.png', 1388744043: '1760099106_367534_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789546_0.png', 1388744042: '1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789534_0.png', 1388744041: '1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789537_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/69134c1174224c0bb4827faf3f63bc2a_31207111.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3853345b495555524196660b7e8e3702_16338566.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/cbe19107b870698d82102318de6fd518_31254485.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/e8293b0f0aac0c278efd9b81b4c0e8e5_46238597.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/23bbcda29032209c848f5046290e7089_13175933.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/b6194a3c3fedc4c77f9d00c3152af014_84305352.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/2743d6c9b9f5ba185cf1c1f1e9479bc7_27126916.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/9b568e6e69ba875ba78cd8cf4bf8f471_73516466.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/982dc53227bcda480bfd1fe0c89601ad_23939219.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/6ba6df44dc7b9f671fc1cf473ec06ce1_80823912.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/7796988540a417adcc25c86b2f9e0770_94315693.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3d464931618910ea983466ae96d4baec_57524587.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/286147a0b565cd88206a3e1c7725ee7f_1472771.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/18c32585a426e3a78b5d57f37deb2af0_2998474.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/55e82f0d50b5281b4ed9c590effe58f3_10519572.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/50173f597693867290a2a56bd7cd8a8a_67283538.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/6ba6df44dc7b9f671fc1cf473ec06ce1_74600850.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/69134c1174224c0bb4827faf3f63bc2a_19976013.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3d464931618910ea983466ae96d4baec_22146748.png change filename to text .imagette276998441760099471/ imagette276998441760099471/1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789537_0.png.png imagette276998441760099471/1760099245_375490_1388744013_23f28528d05c2130ab21b40dd38ca2f1_rle_crop_3992790092_0.png.png imagette276998441760099471/1760099226_375135_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789546_0.png.png imagette276998441760099471/1760099106_367534_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789534_0.png.png imagette276998441760099471/1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789842_0.png.png imagette276998441760099471/1760099344_380898_1388743986_ba217d12fdefeaf08b278ed4ed1aad26_rle_crop_3992791589_0.png.png imagette276998441760099471/1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789534_0.png.png imagette276998441760099471/1760099226_375135_1388743794_661ca9e3d01d124e89fd9a5b1cf7b0c4_rle_crop_3992789537_0.png.png imagette276998441760099471/1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791601_0.png.png imagette276998441760099471/1760099106_367534_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789547_0.png.png imagette276998441760099471/1760098886_355701_1388743704_e5f41645457da68929139c8f621bfa48_rle_crop_3992788854_0.png.png imagette276998441760099471/1760099344_380898_1388743970_773c75961aa25a69e3e0985e849f1642_rle_crop_3992791630_0.png.png imagette276998441760099471/1760099344_380898_1388744038_90ba1e1d21212a228e509d1cd815dde5_rle_crop_3992791567_0.png.png imagette276998441760099471/1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791599_0.png.png imagette276998441760099471/1760099344_380898_1388743981_e031761bc046759f47ae4ca7d3b809c9_rle_crop_3992791598_0.png.png imagette276998441760099471/1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789848_0.png.png imagette276998441760099471/1760099226_375135_1388743843_3e7daea7666702449eb93b17be2c127f_rle_crop_3992789847_0.png.png imagette276998441760099471/1760099106_367534_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789546_0.png.png imagette276998441760099471/1760099344_380898_1388743949_5c326ae72ad893d2ea0d4ceec07c8c2e_rle_crop_3992791647_0.png.png imagette276998441760099471/1760099226_375135_1388743775_51c0e8a25db94302fb225616153a79c8_rle_crop_3992789547_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/286147a0b565cd88206a3e1c7725ee7f_97650193.png imagette276998441760099471 27699846 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699846 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388743828: '1760098886_355701_1388743699_8a00210c04ef6448e31d48d3c49f6d17_rle_crop_3992788865_0.png', 1388743829: '1760098886_355701_1388743688_2d11ff6d61d36b8766f0f3ed29fe7bd4_rle_crop_3992788874_0.png', 1388743918: '1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789232_0.png', 1388744058: '1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789505_0.png', 1388744190: '1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789505_0.png', 1388744210: '1760099245_375490_1388744033_31c0cbb836f4fa17427373367b94a0dc_rle_crop_3992790060_0.png', 1388744211: '1760099245_375490_1388744021_43b63bde205441c5fd21e378d6a4b07f_rle_crop_3992790075_0.png', 1388744212: '1760099245_375490_1388744013_23f28528d05c2130ab21b40dd38ca2f1_rle_crop_3992790091_0.png', 1388744272: '1760099344_380898_1388743970_773c75961aa25a69e3e0985e849f1642_rle_crop_3992791625_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/cac24902d01b04a07c8afdc59bb91707_15432090.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/ac177b9fefee2b55d1d84f0a2974e70f_75865519.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/666845fc1d876f571daff0992a1d6507_41505571.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0cc4dc1a992f0dd8fec5c21f92d5f16e_80572398.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0cc4dc1a992f0dd8fec5c21f92d5f16e_11850275.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/8dfe0c715b20f90b9f6364b9b61bce98_3090228.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/4516c15e29babd58a5de3bf749e28b1d_14021238.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/550ac3b7427ee0a7016d6fa4d941b036_45607559.png change filename to text .imagette276998461760099473/ imagette276998461760099473/1760099245_375490_1388744021_43b63bde205441c5fd21e378d6a4b07f_rle_crop_3992790075_0.png.png imagette276998461760099473/1760099245_375490_1388744013_23f28528d05c2130ab21b40dd38ca2f1_rle_crop_3992790091_0.png.png imagette276998461760099473/1760098886_355701_1388743688_2d11ff6d61d36b8766f0f3ed29fe7bd4_rle_crop_3992788874_0.png.png imagette276998461760099473/1760099106_367534_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789505_0.png.png imagette276998461760099473/1760099226_375135_1388743807_764b042f9cf227a3862089af48e65504_rle_crop_3992789505_0.png.png imagette276998461760099473/1760099004_362560_1388743737_81a6d6f438e507ac233cb9a872c63e01_rle_crop_3992789232_0.png.png imagette276998461760099473/1760099245_375490_1388744033_31c0cbb836f4fa17427373367b94a0dc_rle_crop_3992790060_0.png.png imagette276998461760099473/1760099344_380898_1388743970_773c75961aa25a69e3e0985e849f1642_rle_crop_3992791625_0.png.png imagette276998461760099473/1760098886_355701_1388743699_8a00210c04ef6448e31d48d3c49f6d17_rle_crop_3992788865_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/17b568742686bce5bfb4944774371ab9_14538419.png imagette276998461760099473 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27699828 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27699850,27699851,27699852,27699853,27699854,27699855,27699856,27699857,27699858,27699859,27699860,27699861?tags=autre_refus,environnement,metal,cartonnette,mal_croppe,papier,flou,Carton_gris,Teint_Dans_La_Masse,kraft,Carton_brun,plastique your option no_mail is active, we will not send the real mail to your client args[1388744308] : ('0.07061924509538219',) no score found for photo 1388744308 We are sending mail with results at report@fotonower.com args[1388744307] : ('0.07061924509538219',) no score found for photo 1388744307 We are sending mail with results at report@fotonower.com args[1388744301] : ('0.07061924509538219',) no score found for photo 1388744301 We are sending mail with results at report@fotonower.com args[1388744260] : ('0.07061924509538219',) no score found for photo 1388744260 We are sending mail with results at report@fotonower.com args[1388744257] : ('0.07061924509538219',) no score found for photo 1388744257 We are sending mail with results at report@fotonower.com args[1388744254] : ('0.07061924509538219',) no score found for photo 1388744254 We are sending mail with results at report@fotonower.com args[1388744247] : ('0.07061924509538219',) no score found for photo 1388744247 We are sending mail with results at report@fotonower.com args[1388744242] : ('0.07061924509538219',) no score found for photo 1388744242 We are sending mail with results at report@fotonower.com args[1388744239] : ('0.07061924509538219',) no score found for photo 1388744239 We are sending mail with results at report@fotonower.com args[1388744226] : ('0.07061924509538219',) no score found for photo 1388744226 We are sending mail with results at report@fotonower.com args[1388744223] : ('0.07061924509538219',) no score found for photo 1388744223 We are sending mail with results at report@fotonower.com args[1388744221] : ('0.07061924509538219',) no score found for photo 1388744221 We are sending mail with results at report@fotonower.com args[1388744219] : ('0.07061924509538219',) no score found for photo 1388744219 We are sending mail with results at report@fotonower.com args[1388744216] : ('0.07061924509538219',) no score found for photo 1388744216 We are sending mail with results at report@fotonower.com refus_total : 0.07061924509538219 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699828 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_P27699828_10-10-2025_14_31_07.pdf results_Auto_P27699828_10-10-2025_14_31_07.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_31_07.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','27699828','results_Auto_P27699828_10-10-2025_14_31_07.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_31_07.pdf','pdf','','0.27','0.07061924509538219') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27699828]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] map_info['map_portfolio_photo'] : {27699828: [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216, 1388744159, 1388744155, 1388744150, 1388744148, 1388744136, 1388744134, 1388744101, 1388744096, 1388744089, 1388744085, 1388744073, 1388744038, 1388744033, 1388744021, 1388744013, 1388744012, 1388743990, 1388743986, 1388743981, 1388743977, 1388743970, 1388743949, 1388743861, 1388743859, 1388743843, 1388743840, 1388743837, 1388743835, 1388743813, 1388743807, 1388743801, 1388743794, 1388743775, 1388743745, 1388743742, 1388743740, 1388743737, 1388743715, 1388743704, 1388743699, 1388743688, 1388743677, 1388743646, 1388743642, 1388743637, 1388743632, 1388743627, 1388743624, 1388743496, 1388743487, 1388743480, 1388743462, 1388743450, 1388743254]} final : False mtd_id 4302 list_pids : [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] 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, '3924363') ('4302', '27699828', '1388744308', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744307', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744301', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744260', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744257', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744254', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744247', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744242', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744239', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744226', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744223', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744221', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744219', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744216', None, None, None, None, None, '3924363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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', '27699828', '1388744308', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744307', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744301', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744260', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744257', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744254', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744247', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744242', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744239', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744226', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744223', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744221', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744219', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744216', None, None, None, None, None, '3924363')] time used for this insertion : 0.037050724029541016 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.852144002914429 time spend to save output : 0.03760552406311035 total time spend for step 4 : 9.889749526977539 step5:split_time_score Fri Oct 10 14:31:16 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 : ['27699828'] 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 : [('27699828',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27699828) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388744307: {'path': 'temp/1760099466_483900_1388744307_bc7c8eb988a0e371e8c31e815746f2cf.jpg', 'extension': 'jpg'}, 1388744308: {'path': 'temp/1760099466_483900_1388744308_94a43a74c6fd29cfdaf2a6da1475013e.jpg', 'extension': 'jpg'}, 1388744223: {'path': 'temp/1760099466_483900_1388744223_8e4081668bd11fce55a4eb69a802f5ae.jpg', 'extension': 'jpg'}, 1388744226: {'path': 'temp/1760099466_483900_1388744226_2274e3c2e7c3c6ddeafb0e8f72ddbdc9.jpg', 'extension': 'jpg'}, 1388744239: {'path': 'temp/1760099466_483900_1388744239_ce2c8df9d7eeb61c822ef0a94f6f3e3b.jpg', 'extension': 'jpg'}, 1388744257: {'path': 'temp/1760099466_483900_1388744257_ea6ccc2dfd303219faf7f8ea22cdd81c.jpg', 'extension': 'jpg'}, 1388744260: {'path': 'temp/1760099466_483900_1388744260_9668593e3654a83b396a05241c8609a7.jpg', 'extension': 'jpg'}, 1388744301: {'path': 'temp/1760099466_483900_1388744301_321f59dcf5943ebfdd57607ec53d8ce5.jpg', 'extension': 'jpg'}, 1388744242: {'path': 'temp/1760099466_483900_1388744242_fd567992657fc906d186a45de00be498.jpg', 'extension': 'jpg'}, 1388744247: {'path': 'temp/1760099466_483900_1388744247_8d69cae99da8cd194603d75c267dfeab.jpg', 'extension': 'jpg'}, 1388744254: {'path': 'temp/1760099466_483900_1388744254_fb95e813e383cf908d1e4febffa37d7f.jpg', 'extension': 'jpg'}, 1388744216: {'path': 'temp/1760099466_483900_1388744216_b6db2210e1e4c79470fff62ff56c5605.jpg', 'extension': 'jpg'}, 1388744219: {'path': 'temp/1760099466_483900_1388744219_d0c6434151ebe6c1504278d64c592e60.jpg', 'extension': 'jpg'}, 1388744221: {'path': 'temp/1760099466_483900_1388744221_07f3b26e1c75aeabb862685c4e4066b3.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 = 27699828; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27699828 group by h (('14', 68),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27699828 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 (27699828) 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 (27699828) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10102025 27699828 Nombre de photos uploadées : 68 / 23040 (0%) 10102025 27699828 Nombre de photos taguées (types de déchets): 0 / 68 (0%) 10102025 27699828 Nombre de photos taguées (volume) : 0 / 68 (0%) [{'photo_id': 1388743254, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0ab9d227050c76cda11d6936dd15412e.jpg', 'username': None, 'uploaded_at': 1760098567, 'text': 'image_10102025_14_15_04_010160m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1388743496, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/da8bfb870a97c5ddefcef989b2479a84.jpg', 'username': None, 'uploaded_at': 1760098633, 'text': 'image_10102025_14_15_14_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388743487, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/40cb2110f710d6616e4a8d421d88edea.jpg', 'username': None, 'uploaded_at': 1760098633, 'text': 'image_10102025_14_16_04_10150.jpg'}, {'photo_id': 1388743480, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f765a584027799a136cddf9971700877.jpg', 'username': None, 'uploaded_at': 1760098633, 'text': 'image_10102025_14_16_14_10138.jpg'}] 0 [] elapsed_time : load_data_split_time_score 4.291534423828125e-06 elapsed_time : order_list_meta_photo_and_scores 1.1444091796875e-05 ???????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003279447555541992 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27699828, '2025-10-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-10' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2422953,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6557559967041016 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= 2422953 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27666971, 'dashboard_result_id': 16251947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_10-10-2025_00_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666983, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27667157, 'dashboard_result_id': 16251948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_10-10-2025_00_35_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27667171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667182, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27667353, 'dashboard_result_id': 16251949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667382, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27667763, 'dashboard_result_id': 16251950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_10-10-2025_01_09_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667799, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27669114, 'dashboard_result_id': 16251951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_10-10-2025_01_49_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669131, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27669527, 'dashboard_result_id': 16251952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_10-10-2025_02_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669545, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27669761, 'dashboard_result_id': 16251953, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_10-10-2025_02_19_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669783, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27670150, 'dashboard_result_id': 16251954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_10-10-2025_02_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670184, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27670480, 'dashboard_result_id': 16251955, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_10-10-2025_02_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670516, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27671021, 'dashboard_result_id': 16251956, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_10-10-2025_03_05_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671093, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27671793, 'dashboard_result_id': 16251957, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_10-10-2025_03_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671853, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27672121, 'dashboard_result_id': 16251958, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_10-10-2025_03_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27672165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672182, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27672595, 'dashboard_result_id': 16251959, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_10-10-2025_03_49_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27672608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672619, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27673065, 'dashboard_result_id': 16251960, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_10-10-2025_04_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27673089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673100, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27673457, 'dashboard_result_id': 16251961, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_10-10-2025_08_59_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27673514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673525, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27674810, 'dashboard_result_id': 16251962, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_10-10-2025_05_17_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674834, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27674953, 'dashboard_result_id': 16251963, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_10-10-2025_05_33_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674970, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27675098, 'dashboard_result_id': 16251964, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_10-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675110, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27675322, 'dashboard_result_id': 16251965, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_10-10-2025_06_03_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27675355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675366, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27675658, 'dashboard_result_id': 16251966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_10-10-2025_06_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675675, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27676092, 'dashboard_result_id': 16251967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_10-10-2025_06_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676126, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27676554, 'dashboard_result_id': 16251968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_10-10-2025_06_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676577, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27677013, 'dashboard_result_id': 16251969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_10-10-2025_07_03_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677042, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27677631, 'dashboard_result_id': 16251970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_10-10-2025_07_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677664, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27678439, 'dashboard_result_id': 16251971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_10-10-2025_07_33_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27678499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27678500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27678501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27678502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27678503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27678504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27678505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27678506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27678507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27678508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27678509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27678510, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27679073, 'dashboard_result_id': 16251972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_10-10-2025_07_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27679115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679118, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27679739, 'dashboard_result_id': 16251973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_10-10-2025_08_03_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27679780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679792, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27680367, 'dashboard_result_id': 16251974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_10-10-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27680436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27680437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27680439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27680440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27680441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27680444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27680445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27680446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27680447, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27681074, 'dashboard_result_id': 16251975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_10-10-2025_08_33_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681126, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27681711, 'dashboard_result_id': 16251976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_10-10-2025_08_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681731, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27682395, 'dashboard_result_id': 16251977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27686379, 'dashboard_result_id': 16251978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27687081, 'dashboard_result_id': 16251979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27687822, 'dashboard_result_id': 16251980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27688928, 'dashboard_result_id': 16251981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27689833, 'dashboard_result_id': 16251982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27690741, 'dashboard_result_id': 16251983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27691357, 'dashboard_result_id': 16251984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27692247, 'dashboard_result_id': 16251985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27693351, 'dashboard_result_id': 16251986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27694033, 'dashboard_result_id': 16251987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27694826, 'dashboard_result_id': 16251988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27697987, 'dashboard_result_id': 16251989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27698447, 'dashboard_result_id': 16251990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27699039, 'dashboard_result_id': 16251991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2432847, 'mtr_portfolio_id': 27699828, 'dashboard_result_id': 16251992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_27_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, '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 = 27666971 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 = 27666971 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 = 27666971 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666971 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 = 27666971 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 = 27666971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_10-10-2025_00_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27666971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_10-10-2025_00_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666983, 'pht': 3726}}" where mtr_portfolio_id = 27666971 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 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 = 27667157 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 = 27667157 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 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 = 27667157 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 = 27667157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_10-10-2025_00_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_10-10-2025_00_35_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27667171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667182, 'pht': 3726}}" where mtr_portfolio_id = 27667157 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667353 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 = 27667353 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 = 27667353 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667353 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 = 27667353 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 = 27667353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667382, 'pht': 3726}}" where mtr_portfolio_id = 27667353 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 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 = 27667763 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 = 27667763 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 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 = 27667763 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 = 27667763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_10-10-2025_01_09_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_10-10-2025_01_09_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667799, 'pht': 3726}}" where mtr_portfolio_id = 27667763 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 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 = 27669114 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 = 27669114 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 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 = 27669114 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 = 27669114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_10-10-2025_01_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_10-10-2025_01_49_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669131, 'pht': 3726}}" where mtr_portfolio_id = 27669114 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 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 = 27669527 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 = 27669527 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 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 = 27669527 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 = 27669527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_10-10-2025_02_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_10-10-2025_02_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669545, 'pht': 3726}}" where mtr_portfolio_id = 27669527 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 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 = 27669761 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 = 27669761 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 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 = 27669761 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 = 27669761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_10-10-2025_02_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_10-10-2025_02_19_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669783, 'pht': 3726}}" where mtr_portfolio_id = 27669761 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 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 = 27670150 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 = 27670150 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 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 = 27670150 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 = 27670150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_10-10-2025_02_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27670150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_10-10-2025_02_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670184, 'pht': 3726}}" where mtr_portfolio_id = 27670150 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 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 = 27670480 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 = 27670480 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 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 = 27670480 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 = 27670480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_10-10-2025_02_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27670480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_10-10-2025_02_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670516, 'pht': 3726}}" where mtr_portfolio_id = 27670480 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 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 = 27671021 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 = 27671021 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 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 = 27671021 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 = 27671021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_10-10-2025_03_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27671021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_10-10-2025_03_05_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671093, 'pht': 3726}}" where mtr_portfolio_id = 27671021 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 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 = 27671793 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 = 27671793 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 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 = 27671793 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 = 27671793 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_10-10-2025_03_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27671793 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_10-10-2025_03_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671853, 'pht': 3726}}" where mtr_portfolio_id = 27671793 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 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 = 27672121 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 = 27672121 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 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 = 27672121 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 = 27672121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_10-10-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27672121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_10-10-2025_03_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27672165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672182, 'pht': 3726}}" where mtr_portfolio_id = 27672121 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 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 = 27672595 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 = 27672595 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 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 = 27672595 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 = 27672595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_10-10-2025_03_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27672595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_10-10-2025_03_49_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27672608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672619, 'pht': 3726}}" where mtr_portfolio_id = 27672595 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 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 = 27673065 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 = 27673065 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 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 = 27673065 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 = 27673065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_10-10-2025_04_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27673065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_10-10-2025_04_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27673089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673100, 'pht': 3726}}" where mtr_portfolio_id = 27673065 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 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 = 27673457 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 = 27673457 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 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 = 27673457 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 = 27673457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_10-10-2025_08_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27673457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_10-10-2025_08_59_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27673514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673525, 'pht': 3726}}" where mtr_portfolio_id = 27673457 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 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 = 27674810 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 = 27674810 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 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 = 27674810 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 = 27674810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_10-10-2025_05_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27674810 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_10-10-2025_05_17_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674834, 'pht': 3726}}" where mtr_portfolio_id = 27674810 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 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 = 27674953 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 = 27674953 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 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 = 27674953 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 = 27674953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_10-10-2025_05_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27674953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_10-10-2025_05_33_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674970, 'pht': 3726}}" where mtr_portfolio_id = 27674953 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 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 = 27675098 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 = 27675098 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 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 = 27675098 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 = 27675098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_10-10-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_10-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675110, 'pht': 3726}}" where mtr_portfolio_id = 27675098 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 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 = 27675322 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 = 27675322 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 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 = 27675322 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 = 27675322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_10-10-2025_06_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_10-10-2025_06_03_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27675355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675366, 'pht': 3726}}" where mtr_portfolio_id = 27675322 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 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 = 27675658 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 = 27675658 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 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 = 27675658 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 = 27675658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_10-10-2025_06_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_10-10-2025_06_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675675, 'pht': 3726}}" where mtr_portfolio_id = 27675658 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 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 = 27676092 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 = 27676092 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 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 = 27676092 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 = 27676092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_10-10-2025_06_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27676092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_10-10-2025_06_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676126, 'pht': 3726}}" where mtr_portfolio_id = 27676092 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 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 = 27676554 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 = 27676554 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 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 = 27676554 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 = 27676554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_10-10-2025_06_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27676554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_10-10-2025_06_47_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676577, 'pht': 3726}}" where mtr_portfolio_id = 27676554 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 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 = 27677013 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 = 27677013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 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 = 27677013 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 = 27677013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_10-10-2025_07_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27677013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_10-10-2025_07_03_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677042, 'pht': 3726}}" where mtr_portfolio_id = 27677013 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 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 = 27677631 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 = 27677631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 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 = 27677631 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 = 27677631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_10-10-2025_07_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27677631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_10-10-2025_07_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677664, 'pht': 3726}}" where mtr_portfolio_id = 27677631 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 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 = 27678439 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 = 27678439 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 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 = 27678439 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 = 27678439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_10-10-2025_07_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27678439 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_10-10-2025_07_33_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27678499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27678500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27678501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27678502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27678503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27678504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27678505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27678506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27678507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27678508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27678509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27678510, 'pht': 3726}}" where mtr_portfolio_id = 27678439 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 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 = 27679073 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 = 27679073 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 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 = 27679073 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 = 27679073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_10-10-2025_07_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27679073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_10-10-2025_07_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27679115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679118, 'pht': 3726}}" where mtr_portfolio_id = 27679073 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679739 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 = 27679739 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 = 27679739 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679739 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 = 27679739 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 = 27679739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_10-10-2025_08_03_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27679739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_10-10-2025_08_03_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27679780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679792, 'pht': 3726}}" where mtr_portfolio_id = 27679739 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27680367 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 = 27680367 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 = 27680367 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27680367 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 = 27680367 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 = 27680367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_10-10-2025_08_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27680367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_10-10-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27680436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27680437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27680439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27680440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27680441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27680444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27680445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27680446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27680447, 'pht': 3726}}" where mtr_portfolio_id = 27680367 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681074 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 = 27681074 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 = 27681074 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681074 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 = 27681074 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 = 27681074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_10-10-2025_08_33_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27681074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_10-10-2025_08_33_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681126, 'pht': 3726}}" where mtr_portfolio_id = 27681074 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681711 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 = 27681711 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 = 27681711 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681711 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 = 27681711 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 = 27681711 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_10-10-2025_08_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27681711 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_10-10-2025_08_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681731, 'pht': 3726}}" where mtr_portfolio_id = 27681711 and dashboard_run_id = 2432847 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27682395 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': 3922226, 'mtr_portfolio_id': 27682395, 'created_at': datetime.datetime(2025, 10, 10, 9, 35, 3), 'result': '0.05093620852317313', 'result_long': None, 'result_double': None}] Qualite : 0.05093620852317313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27682395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27682395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, 'pht': 3726}}" where mtr_portfolio_id = 27682395 and dashboard_run_id = 2432847 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`=27682395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251977, 0.05093620852317313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_10-10-2025_09_35_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, '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 = 27686379 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': 3922860, 'mtr_portfolio_id': 27686379, 'created_at': datetime.datetime(2025, 10, 10, 9, 49, 1), 'result': '0.0671675892707798', 'result_long': None, 'result_double': None}] Qualite : 0.0671675892707798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27686379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27686379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, 'pht': 3726}}" where mtr_portfolio_id = 27686379 and dashboard_run_id = 2432847 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`=27686379 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251978, 0.0671675892707798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_10-10-2025_09_49_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, '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 = 27687081 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': 3922901, 'mtr_portfolio_id': 27687081, 'created_at': datetime.datetime(2025, 10, 10, 10, 3, 2), 'result': '0.047106998822027915', 'result_long': None, 'result_double': None}] Qualite : 0.047106998822027915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27687081 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27687081 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, 'pht': 3726}}" where mtr_portfolio_id = 27687081 and dashboard_run_id = 2432847 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`=27687081 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251979, 0.047106998822027915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_10-10-2025_10_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, '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 = 27687822 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': 3923016, 'mtr_portfolio_id': 27687822, 'created_at': datetime.datetime(2025, 10, 10, 10, 19, 35), 'result': '0.031241604936260284', 'result_long': None, 'result_double': None}] Qualite : 0.031241604936260284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27687822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27687822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, 'pht': 3726}}" where mtr_portfolio_id = 27687822 and dashboard_run_id = 2432847 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`=27687822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251980, 0.031241604936260284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_10-10-2025_10_19_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, '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 = 27688928 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': 3923115, 'mtr_portfolio_id': 27688928, 'created_at': datetime.datetime(2025, 10, 10, 10, 33), 'result': '0.023357517045145725', 'result_long': None, 'result_double': None}] Qualite : 0.023357517045145725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27688928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27688928 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, 'pht': 3726}}" where mtr_portfolio_id = 27688928 and dashboard_run_id = 2432847 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`=27688928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251981, 0.023357517045145725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_10-10-2025_10_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, '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 = 27689833 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': 3923210, 'mtr_portfolio_id': 27689833, 'created_at': datetime.datetime(2025, 10, 10, 10, 49, 3), 'result': '0.05722553975567967', 'result_long': None, 'result_double': None}] Qualite : 0.05722553975567967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27689833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27689833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, 'pht': 3726}}" where mtr_portfolio_id = 27689833 and dashboard_run_id = 2432847 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`=27689833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251982, 0.05722553975567967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_10-10-2025_10_49_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, '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 = 27690741 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': 3923323, 'mtr_portfolio_id': 27690741, 'created_at': datetime.datetime(2025, 10, 10, 11, 3, 37), 'result': '0.05831584149214072', 'result_long': None, 'result_double': None}] Qualite : 0.05831584149214072 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27690741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27690741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, 'pht': 3726}}" where mtr_portfolio_id = 27690741 and dashboard_run_id = 2432847 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`=27690741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251983, 0.05831584149214072, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_10-10-2025_11_03_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, '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 = 27691357 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': 3923420, 'mtr_portfolio_id': 27691357, 'created_at': datetime.datetime(2025, 10, 10, 11, 17), 'result': '0.03972928927951662', 'result_long': None, 'result_double': None}] Qualite : 0.03972928927951662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27691357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, 'pht': 3726}}" where mtr_portfolio_id = 27691357 and dashboard_run_id = 2432847 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`=27691357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251984, 0.03972928927951662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_10-10-2025_11_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, '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 = 27692247 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': 3923559, 'mtr_portfolio_id': 27692247, 'created_at': datetime.datetime(2025, 10, 10, 11, 33, 28), 'result': '0.04459014050814632', 'result_long': None, 'result_double': None}] Qualite : 0.04459014050814632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27692247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27692247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, 'pht': 3726}}" where mtr_portfolio_id = 27692247 and dashboard_run_id = 2432847 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`=27692247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251985, 0.04459014050814632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_10-10-2025_11_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, '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 = 27693351 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': 3923699, 'mtr_portfolio_id': 27693351, 'created_at': datetime.datetime(2025, 10, 10, 11, 47, 3), 'result': '0.04781893818467602', 'result_long': None, 'result_double': None}] Qualite : 0.04781893818467602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27693351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27693351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, 'pht': 3726}}" where mtr_portfolio_id = 27693351 and dashboard_run_id = 2432847 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`=27693351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251986, 0.04781893818467602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_10-10-2025_11_47_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, '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 = 27694033 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': 3923771, 'mtr_portfolio_id': 27694033, 'created_at': datetime.datetime(2025, 10, 10, 12, 3, 4), 'result': '0.04251831903522039', 'result_long': None, 'result_double': None}] Qualite : 0.04251831903522039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27694033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27694033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, 'pht': 3726}}" where mtr_portfolio_id = 27694033 and dashboard_run_id = 2432847 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`=27694033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251987, 0.04251831903522039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_10-10-2025_12_03_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, '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 = 27694826 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': 3923895, 'mtr_portfolio_id': 27694826, 'created_at': datetime.datetime(2025, 10, 10, 14, 1, 6), 'result': '0.05422219153235668', 'result_long': None, 'result_double': None}] Qualite : 0.05422219153235668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27694826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27694826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, 'pht': 3726}}" where mtr_portfolio_id = 27694826 and dashboard_run_id = 2432847 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`=27694826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251988, 0.05422219153235668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_10-10-2025_14_01_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, '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 = 27697987 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': 3924159, 'mtr_portfolio_id': 27697987, 'created_at': datetime.datetime(2025, 10, 10, 13, 47, 3), 'result': '0.07380589665902719', 'result_long': None, 'result_double': None}] Qualite : 0.07380589665902719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27697987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27697987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, 'pht': 3726}}" where mtr_portfolio_id = 27697987 and dashboard_run_id = 2432847 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`=27697987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251989, 0.07380589665902719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_10-10-2025_13_47_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, '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 = 27698447 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': 3924192, 'mtr_portfolio_id': 27698447, 'created_at': datetime.datetime(2025, 10, 10, 14, 3, 1), 'result': '0.036185879976980105', 'result_long': None, 'result_double': None}] Qualite : 0.036185879976980105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27698447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27698447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, 'pht': 3726}}" where mtr_portfolio_id = 27698447 and dashboard_run_id = 2432847 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`=27698447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251990, 0.036185879976980105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_10-10-2025_14_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, '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 = 27699039 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': 3924267, 'mtr_portfolio_id': 27699039, 'created_at': datetime.datetime(2025, 10, 10, 14, 17, 3), 'result': '0.046688650108691776', 'result_long': None, 'result_double': None}] Qualite : 0.046688650108691776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27699039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27699039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, 'pht': 3726}}" where mtr_portfolio_id = 27699039 and dashboard_run_id = 2432847 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`=27699039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251991, 0.046688650108691776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_10-10-2025_14_17_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, '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 = 27699828 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': 3924363, 'mtr_portfolio_id': 27699828, 'created_at': datetime.datetime(2025, 10, 10, 14, 31, 5), 'result': '0.07061924509538219', 'result_long': None, 'result_double': None}] Qualite : 0.07061924509538219 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27699828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_31_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27699828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_31_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, 'pht': 3726}}" where mtr_portfolio_id = 27699828 and dashboard_run_id = 2432847 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`=27699828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16251992, 0.07061924509538219, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_10-10-2025_14_31_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, '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 (27666971,27667157,27667353,27667763,27669114,27669527,27669761,27670150,27670480,27671021,27671793,27672121,27672595,27673065,27673457,27674810,27674953,27675098,27675322,27675658,27676092,27676554,27677013,27677631,27678439,27679073,27679739,27680367,27681074,27681711,27682395,27686379,27687081,27687822,27688928,27689833,27690741,27691357,27692247,27693351,27694033,27694826,27697987,27698447,27699039,27699828) result : ((1388576303,), (1388576306,), (1388576309,), (1388576313,), (1388576457,), (1388576597,), (1388576598,), (1388576601,), (1388576613,), (1388576617,), (1388576621,), (1388576624,), (1388576627,), (1388576630,), (1388576637,), (1388576639,), (1388576640,), (1388576643,), (1388576645,), (1388576646,), (1388576659,), (1388576660,), (1388576661,), (1388576663,), (1388576860,), (1388576902,), (1388576957,), (1388576960,), (1388576964,), (1388577094,), (1388577096,), (1388577098,), (1388577110,), (1388577156,), (1388577168,), (1388577170,), (1388577171,), (1388577174,), (1388577188,), (1388577189,), (1388577191,), (1388577195,), (1388577200,), (1388577204,), (1388577214,), (1388577216,), (1388577219,), (1388577222,), (1388577224,), (1388577227,), (1388577230,), (1388577231,), (1388577237,), (1388577238,), (1388577240,), (1388577247,), (1388577250,), (1388577252,), (1388577254,), (1388577399,), (1388577443,), (1388577490,), (1388577535,), (1388577724,), (1388577727,), (1388577732,), (1388577778,), (1388577824,), (1388577908,), (1388577898,), (1388577899,), (1388577903,), (1388577915,), (1388577918,), (1388577921,), (1388577933,), (1388577934,), (1388577936,), (1388577939,), (1388577941,), (1388577960,), (1388577962,), (1388577964,), (1388577967,), (1388577969,), (1388578143,), (1388578189,), (1388578234,), (1388578285,), (1388578331,), (1388578550,), (1388578551,), (1388578553,), (1388578555,), (1388578728,), (1388578773,), (1388578819,), (1388578846,), (1388578849,), (1388578852,), (1388578927,), (1388578928,), (1388578930,), (1388578932,), (1388578935,), (1388578939,), (1388578991,), (1388579078,), (1388579080,), (1388579082,), (1388579086,), (1388579097,), (1388579099,), (1388579101,), (1388579105,), (1388579115,), (1388579117,), (1388579119,), (1388579125,), (1388579138,), (1388579140,), (1388579143,), (1388579147,), (1388579150,), (1388579161,), (1388579163,), (1388579166,), (1388579178,), (1388579180,), (1388579182,), (1388579185,), (1388579188,), (1388579202,), (1388579223,), (1388579269,), (1388579322,), (1388579370,), (1388579422,), (1388579843,), (1388579846,), (1388579848,), (1388580398,), (1388580399,), (1388580401,), (1388580403,), (1388580405,), (1388580544,), (1388580548,), (1388580557,), (1388580560,), (1388579824,), (1388579837,), (1388579840,), (1388580139,), (1388580142,), (1388580184,), (1388580204,), (1388580206,), (1388580234,), (1388580356,), (1388580450,), (1388580451,), (1388580495,), (1388580497,), (1388580539,), (1388580542,), (1388580565,), (1388580568,), (1388580570,), (1388580588,), (1388580590,), (1388580591,), (1388580593,), (1388580596,), (1388580606,), (1388580608,), (1388580613,), (1388580618,), (1388580621,), (1388580748,), (1388580786,), (1388580789,), (1388580793,), (1388580936,), (1388580938,), (1388580941,), (1388580944,), (1388580948,), (1388580951,), (1388580958,), (1388580960,), (1388580976,), (1388580978,), (1388580980,), (1388580984,), (1388580988,), (1388580993,), (1388580995,), (1388580997,), (1388581001,), (1388581004,), (1388581008,), (1388581014,), (1388581018,), (1388581059,), (1388581105,), (1388581296,), (1388581297,), (1388581298,), (1388581396,), (1388581398,), (1388581401,), (1388581404,), (1388581407,), (1388581414,), (1388581416,), (1388581418,), (1388581424,), (1388581429,), (1388581431,), (1388581443,), (1388581440,), (1388581442,), (1388581456,), (1388581458,), (1388581459,), (1388581462,), (1388581466,), (1388581469,), (1388581475,), (1388581477,), (1388581479,), (1388581483,), (1388581486,), (1388581489,), (1388581497,), (1388581499,), (1388581501,), (1388581515,), (1388581517,), (1388581518,), (1388581521,), (1388581524,), (1388581534,), (1388581536,), (1388581538,), (1388581540,), (1388581544,), (1388581708,), (1388581714,), (1388581740,), (1388581745,), (1388581775,), (1388581777,), (1388581781,), (1388581783,), (1388581784,), (1388581786,), (1388581788,), (1388581790,), (1388581793,), (1388581796,), (1388581799,), (1388581807,), (1388581811,), (1388581815,), (1388581820,), (1388581823,), (1388581825,), (1388581844,), (1388581847,), (1388581850,), (1388581853,), (1388581856,), (1388581971,), (1388582011,), (1388582073,), (1388582117,), (1388582646,), (1388582689,), (1388582733,), (1388582785,), (1388582844,), (1388582912,), (1388583320,), (1388583368,), (1388583414,), (1388583458,), (1388583504,), (1388583530,), (1388583539,), (1388583541,), (1388583545,), (1388584852,), (1388587460,), (1388587608,), (1388587639,), (1388587652,), (1388587654,), (1388587656,), (1388587673,), (1388587675,), (1388587676,), (1388587679,), (1388587692,), (1388587694,), (1388587696,), (1388587700,), (1388587703,), (1388587708,), (1388587710,), (1388587712,), (1388587716,), (1388587880,), (1388587882,), (1388587904,), (1388587961,), (1388587963,), (1388587965,), (1388587969,), (1388587972,), (1388587983,), (1388587984,), (1388587985,), (1388587988,), (1388588002,), (1388588004,), (1388588006,), (1388588009,), (1388588023,), (1388588024,), (1388588025,), (1388588196,), (1388588198,), (1388588218,), (1388588227,), (1388588248,), (1388588266,), (1388588270,), (1388588271,), (1388588288,), (1388588293,), (1388588299,), (1388588300,), (1388588304,), (1388588308,), (1388588310,), (1388588312,), (1388588316,), (1388588321,), (1388588327,), (1388588330,), (1388588473,), (1388588348,), (1388588350,), (1388588351,), (1388588389,), (1388588444,), (1388588508,), (1388588522,), (1388588524,), (1388588554,), (1388588560,), (1388588567,), (1388588570,), (1388588573,), (1388588577,), (1388588580,), (1388588596,), (1388588598,), (1388588601,), (1388588605,), (1388588609,), (1388588634,), (1388589188,), (1388589189,), (1388589191,), (1388589289,), (1388589330,), (1388589371,), (1388589681,), (1388589683,), (1388589687,), (1388589715,), (1388590003,), (1388589703,), (1388589705,), (1388589708,), (1388589711,), (1388589727,), (1388589768,), (1388589812,), (1388589861,), (1388589909,), (1388589944,), (1388589946,), (1388589972,), (1388590001,), (1388590036,), (1388590038,), (1388590041,), (1388590064,), (1388590085,), (1388590087,), (1388590094,), (1388590096,), (1388590098,), (1388590101,), (1388590108,), (1388590110,), (1388590112,), (1388590116,), (1388590118,), (1388590126,), (1388590129,), (1388590132,), (1388590135,), (1388590137,), (1388590139,), (1388590170,), (1388590220,), (1388590262,), (1388590289,), (1388590292,), (1388590295,), (1388590389,), (1388590391,), (1388590394,), (1388590397,), (1388590401,), (1388590402,), (1388590403,), (1388590404,), (1388590408,), (1388590414,), (1388590417,), (1388590420,), (1388590427,), (1388590429,), (1388590431,), (1388590435,), (1388590438,), (1388590448,), (1388590449,), (1388590451,), (1388590453,), (1388590485,), (1388590531,), (1388590575,), (1388590713,), (1388590718,), (1388590722,), (1388590727,), (1388590728,), (1388590729,), (1388590734,), (1388590736,), (1388590740,), (1388590742,), (1388590745,), (1388590748,), (1388590751,), (1388590761,), (1388590764,), (1388590766,), (1388590770,), (1388590792,), (1388590784,), (1388590786,), (1388590787,), (1388590789,), (1388590803,), (1388590804,), (1388590819,), (1388590861,), (1388590909,), (1388590959,), (1388591084,), (1388591112,), (1388591144,), (1388591147,), (1388591150,), (1388591222,), (1388591224,), (1388591226,), (1388591242,), (1388591244,), (1388591245,), (1388591248,), (1388591252,), (1388591255,), (1388591264,), (1388591267,), (1388591271,), (1388591275,), (1388591287,), (1388591288,), (1388591291,), (1388591299,), (1388591301,), (1388591303,), (1388591304,), (1388591306,), (1388591307,), (1388591312,), (1388591314,), (1388591316,), (1388591320,), (1388591323,), (1388591325,), (1388591330,), (1388591333,), (1388591336,), (1388591339,), (1388591355,), (1388591357,), (1388591358,), (1388591360,), (1388591363,), (1388591375,), (1388591377,), (1388591379,), (1388591383,), (1388591387,), (1388591389,), (1388591395,), (1388591397,), (1388591399,), (1388591402,), (1388591418,), (1388591439,), (1388591487,), (1388591531,), (1388591575,), (1388591804,), (1388591856,), (1388591947,), (1388592040,), (1388592115,), (1388592549,), (1388592592,), (1388592637,), (1388593053,), (1388593078,), (1388593039,), (1388593041,), (1388593043,), (1388593046,), (1388593050,), (1388593062,), (1388593063,), (1388593065,), (1388593067,), (1388593069,), (1388593070,), (1388593073,), (1388593074,), (1388593077,), (1388593149,), (1388593195,), (1388593237,), (1388593282,), (1388593326,), (1388593400,), (1388593820,), (1388593908,), (1388593986,), (1388594043,), (1388594091,), (1388594123,), (1388594229,), (1388594236,), (1388594283,), (1388594328,), (1388594508,), (1388594509,), (1388594525,), (1388594582,), (1388594616,), (1388594758,), (1388594806,), (1388594849,), (1388594898,), (1388595230,), (1388595231,), (1388595232,), (1388595234,), (1388595246,), (1388595247,), (1388595248,), (1388595250,), (1388595253,), (1388595263,), (1388595265,), (1388595268,), (1388595271,), (1388595283,), (1388595285,), (1388595287,), (1388595434,), (1388595436,), (1388595452,), (1388595480,), (1388595484,), (1388595556,), (1388595557,), (1388595559,), (1388595562,), (1388595565,), (1388595570,), (1388595575,), (1388595576,), (1388595578,), (1388595580,), (1388595581,), (1388595586,), (1388595592,), (1388595594,), (1388595596,), (1388595599,), (1388595601,), (1388595604,), (1388595606,), (1388595628,), (1388595614,), (1388595616,), (1388595619,), (1388595621,), (1388595625,), (1388595636,), (1388595638,), (1388595639,), (1388595651,), (1388595654,), (1388595656,), (1388595659,), (1388595662,), (1388595667,), (1388595683,), (1388595724,), (1388595813,), (1388595857,), (1388595898,), (1388596174,), (1388596175,), (1388596178,), (1388596181,), (1388596185,), (1388596231,), (1388596298,), (1388596299,), (1388596300,), (1388596363,), (1388596411,), (1388596414,), (1388596416,), (1388596417,), (1388596520,), (1388596522,), (1388596523,), (1388596525,), (1388596750,), (1388596774,), (1388596813,), (1388596817,), (1388596823,), (1388596855,), (1388596860,), (1388596901,), (1388596924,), (1388596926,), (1388596929,), (1388596932,), (1388596935,), (1388596938,), (1388596944,), (1388596946,), (1388596948,), (1388596976,), (1388596978,), (1388596980,), (1388596983,), (1388596988,), (1388596990,), (1388597212,), (1388597220,), (1388597222,), (1388597225,), (1388597391,), (1388597399,), (1388597637,), (1388597419,), (1388597815,), (1388597835,), (1388597921,), (1388597922,), (1388597924,), (1388597928,), (1388597936,), (1388597938,), (1388597940,), (1388597945,), (1388597956,), (1388597958,), (1388597960,), (1388597963,), (1388597966,), (1388597968,), (1388597975,), (1388597977,), (1388597980,), (1388597984,), (1388597993,), (1388597995,), (1388597997,), (1388598001,), (1388598015,), (1388598016,), (1388598018,), (1388598022,), (1388598025,), (1388598028,), (1388598035,), (1388598037,), (1388598039,), (1388598042,), (1388598344,), (1388598392,), (1388598434,), (1388598483,), (1388598510,), (1388598514,), (1388598520,), (1388598522,), (1388598524,), (1388598528,), (1388598571,), (1388598617,), (1388598702,), (1388598755,), (1388598677,), (1388598680,), (1388598683,), (1388598892,), (1388598931,), (1388598975,), (1388599025,), (1388599069,), (1388599134,), (1388599135,), (1388599136,), (1388599139,), (1388599152,), (1388599154,), (1388599156,), (1388599160,), (1388599164,), (1388599167,), (1388599173,), (1388599175,), (1388599178,), (1388599181,), (1388599189,), (1388599194,), (1388599196,), (1388599198,), (1388599202,), (1388599215,), (1388599233,), (1388599235,), (1388599240,), (1388599244,), (1388599247,), (1388599254,), (1388599268,), (1388599269,), (1388599270,), (1388599272,), (1388599277,), (1388599283,), (1388599288,), (1388599289,), (1388599291,), (1388599294,), (1388599297,), (1388599397,), (1388599440,), (1388599447,), (1388599450,), (1388599452,), (1388599562,), (1388599580,), (1388599584,), (1388599588,), (1388599591,), (1388599592,), (1388599598,), (1388599599,), (1388599600,), (1388599602,), (1388599604,), (1388599607,), (1388599616,), (1388599620,), (1388599623,), (1388599626,), (1388599647,), (1388599638,), (1388599640,), (1388599642,), (1388599655,), (1388599657,), (1388599659,), (1388599662,), (1388599664,), (1388599668,), (1388599867,), (1388599869,), (1388599872,), (1388599875,), (1388599903,), (1388599939,), (1388599953,), (1388599994,), (1388600003,), (1388600005,), (1388600038,), (1388600086,), (1388600105,), (1388600106,), (1388600107,), (1388600108,), (1388600110,), (1388600114,), (1388600116,), (1388600119,), (1388600122,), (1388600125,), (1388600135,), (1388600137,), (1388600139,), (1388600153,), (1388600155,), (1388600158,), (1388600161,), (1388600165,), (1388600315,), (1388600363,), (1388600412,), (1388600432,), (1388600434,), (1388600437,), (1388600499,), (1388600505,), (1388600507,), (1388600532,), (1388600574,), (1388600577,), (1388600580,), (1388600639,), (1388600691,), (1388600701,), (1388600715,), (1388600717,), (1388600719,), (1388600843,), (1388600846,), (1388600869,), (1388600873,), (1388600916,), (1388600918,), (1388600921,), (1388600926,), (1388600928,), (1388600930,), (1388600933,), (1388600934,), (1388600936,), (1388600937,), (1388600942,), (1388600945,), (1388600948,), (1388600959,), (1388600961,), (1388600963,), (1388600968,), (1388600972,), (1388600991,), (1388600979,), (1388600981,), (1388600983,), (1388600987,), (1388601000,), (1388601002,), (1388601004,), (1388601006,), (1388601011,), (1388601014,), (1388601021,), (1388601023,), (1388601036,), (1388601038,), (1388601040,), (1388601044,), (1388601057,), (1388601059,), (1388601061,), (1388601064,), (1388601067,), (1388601070,), (1388601078,), (1388601080,), (1388601081,), (1388601085,), (1388601090,), (1388601261,), (1388601262,), (1388601264,), (1388601267,), (1388601285,), (1388601325,), (1388601443,), (1388601484,), (1388601524,), (1388601631,), (1388601675,), (1388601718,), (1388601764,), (1388601808,), (1388602143,), (1388602145,), (1388602149,), (1388602151,), (1388602158,), (1388602159,), (1388602189,), (1388602234,), (1388602285,), (1388602326,), (1388602409,), (1388602411,), (1388602415,), (1388602419,), (1388602421,), (1388602786,), (1388602788,), (1388602790,), (1388602794,), (1388602797,), (1388602801,), (1388602811,), (1388602814,), (1388602816,), (1388603156,), (1388603158,), (1388603161,), (1388603164,), (1388603169,), (1388603190,), (1388603182,), (1388603186,), (1388603302,), (1388603327,), (1388603330,), (1388603363,), (1388603370,), (1388603384,), (1388603386,), (1388603390,), (1388603395,), (1388603399,), (1388603402,), (1388603406,), (1388603407,), (1388603408,), (1388603411,), (1388603414,), (1388603421,), (1388603425,), (1388603430,), (1388603433,), (1388603435,), (1388603436,), (1388603444,), (1388603448,), (1388603452,), (1388603463,), (1388603466,), (1388603469,), (1388603473,), (1388603476,), (1388603479,), (1388603502,), (1388603505,), (1388603509,), (1388603526,), (1388603529,), (1388603532,), (1388603537,), (1388603554,), (1388603558,), (1388603560,), (1388603576,), (1388603578,), (1388603580,), (1388606291,), (1388606312,), (1388606340,), (1388606356,), (1388606378,), (1388606404,), (1388606438,), (1388606441,), (1388606444,), (1388606461,), (1388606464,), (1388606466,), (1388606469,), (1388606473,), (1388606477,), (1388606486,), (1388606514,), (1388606517,), (1388606521,), (1388606525,), (1388606529,), (1388606540,), (1388606543,), (1388606611,), (1388606673,), (1388606741,), (1388606862,), (1388606864,), (1388606867,), (1388606871,), (1388606881,), (1388606882,), (1388606885,), (1388606890,), (1388606894,), (1388606896,), (1388606904,), (1388606907,), (1388606910,), (1388606913,), (1388606917,), (1388606950,), (1388606954,), (1388606956,), (1388606965,), (1388606969,), (1388606975,), (1388606983,), (1388606985,), (1388606986,), (1388607012,), (1388607018,), (1388607023,), (1388607030,), (1388607032,), (1388607034,), (1388607041,), (1388607043,), (1388607046,), (1388607050,), (1388607053,), (1388607056,), (1388607064,), (1388607066,), (1388607080,), (1388607083,), (1388607085,), (1388607089,), (1388607132,), (1388607134,), (1388607136,), (1388607139,), (1388607142,), (1388607144,), (1388607151,), (1388607153,), (1388607155,), (1388607158,), (1388607200,), (1388607204,), (1388607208,), (1388607211,), (1388607215,), (1388607238,), (1388607230,), (1388607232,), (1388607234,), (1388607236,), (1388607247,), (1388607250,), (1388607254,), (1388607256,), (1388607257,), (1388607258,), (1388607266,), (1388607268,), (1388607276,), (1388607279,), (1388607342,), (1388607350,), (1388607353,), (1388607355,), (1388607358,), (1388607367,), (1388607369,), (1388607372,), (1388607374,), (1388607381,), (1388607389,), (1388607410,), (1388607413,), (1388607416,), (1388607431,), (1388607439,), (1388607442,), (1388607445,), (1388607449,), (1388607491,), (1388607493,), (1388607496,), (1388607506,), (1388607509,), (1388607513,), (1388607529,), (1388607531,), (1388607533,), (1388607537,), (1388607540,), (1388607549,), (1388607551,), (1388607553,), (1388607557,), (1388607561,), (1388607569,), (1388607571,), (1388607573,), (1388607576,), (1388607579,), (1388607588,), (1388607590,), (1388607593,), (1388607596,), (1388607598,), (1388607600,), (1388607607,), (1388607610,), (1388607613,), (1388607615,), (1388607618,), (1388607621,), (1388607624,), (1388607626,), (1388607628,), (1388607630,), (1388607633,), (1388607637,), (1388607639,), (1388607641,), (1388607644,), (1388607648,), (1388607650,), (1388607652,), (1388607656,), (1388607660,), (1388607690,), (1388607675,), (1388607678,), (1388607681,), (1388607683,), (1388607686,), (1388607698,), (1388607701,), (1388607704,), (1388607708,), (1388607715,), (1388607759,), (1388607763,), (1388607781,), (1388607783,), (1388607791,), (1388607798,), (1388607818,), (1388607861,), (1388607889,), (1388607891,), (1388607906,), (1388607908,), (1388607910,), (1388607913,), (1388607916,), (1388607920,), (1388607924,), (1388607927,), (1388607930,), (1388607933,), (1388607940,), (1388607942,), (1388607944,), (1388607948,), (1388607950,), (1388607953,), (1388607993,), (1388607996,), (1388607999,), (1388608003,), (1388608013,), (1388608015,), (1388608016,), (1388608019,), (1388608021,), (1388608022,), (1388608030,), (1388608032,), (1388608034,), (1388608038,), (1388608041,), (1388608044,), (1388608053,), (1388608055,), (1388608057,), (1388608059,), (1388608062,), (1388608065,), (1388608072,), (1388608078,), (1388608081,), (1388608094,), (1388608098,), (1388608104,), (1388608107,), (1388608110,), (1388608116,), (1388608118,), (1388608120,), (1388608127,), (1388608129,), (1388608133,), (1388608137,), (1388608164,), (1388608152,), (1388608157,), (1388608161,), (1388608174,), (1388608176,), (1388608178,), (1388608181,), (1388608185,), (1388608201,), (1388608203,), (1388608204,), (1388608215,), (1388608228,), (1388608231,), (1388608274,), (1388608277,), (1388608278,), (1388608281,), (1388608296,), (1388608298,), (1388608300,), (1388608304,), (1388608307,), (1388608310,), (1388608329,), (1388608332,), (1388608337,), (1388608344,), (1388608354,), (1388608361,), (1388608363,), (1388608365,), (1388608368,), (1388608371,), (1388608385,), (1388608411,), (1388608413,), (1388608416,), (1388608419,), (1388608421,), (1388608443,), (1388608444,), (1388608447,), (1388608451,), (1388608460,), (1388608462,), (1388608465,), (1388608469,), (1388608471,), (1388608475,), (1388608479,), (1388608481,), (1388608483,), (1388608487,), (1388608503,), (1388608510,), (1388608512,), (1388608515,), (1388608519,), (1388608522,), (1388608530,), (1388608533,), (1388608538,), (1388608543,), (1388608551,), (1388608557,), (1388608561,), (1388608565,), (1388608569,), (1388608572,), (1388608579,), (1388608582,), (1388608591,), (1388608593,), (1388608610,), (1388608596,), (1388608599,), (1388608601,), (1388608606,), (1388608618,), (1388608620,), (1388608621,), (1388608624,), (1388608628,), (1388608657,), (1388608659,), (1388608660,), (1388608663,), (1388608674,), (1388608676,), (1388608678,), (1388608680,), (1388608682,), (1388608688,), (1388608690,), (1388608691,), (1388608694,), (1388608697,), (1388608706,), (1388608708,), (1388608711,), (1388608715,), (1388608727,), (1388608728,), (1388608730,), (1388608733,), (1388608737,), (1388608772,), (1388608795,), (1388608800,), (1388608804,), (1388608807,), (1388608812,), (1388608815,), (1388608817,), (1388608820,), (1388608831,), (1388608833,), (1388608835,), (1388608839,), (1388608843,), (1388608845,), (1388608877,), (1388608880,), (1388608882,), (1388608885,), (1388608893,), (1388608895,), (1388608896,), (1388608899,), (1388608903,), (1388608905,), (1388608919,), (1388608927,), (1388608941,), (1388608943,), (1388609008,), (1388609009,), (1388609011,), (1388609014,), (1388609017,), (1388609019,), (1388609028,), (1388609031,), (1388609032,), (1388609035,), (1388609067,), (1388609050,), (1388609052,), (1388609055,), (1388609061,), (1388609064,), (1388609093,), (1388609096,), (1388609099,), (1388609102,), (1388609106,), (1388609117,), (1388609119,), (1388609122,), (1388609126,), (1388609129,), (1388609138,), (1388609140,), (1388609142,), (1388609145,), (1388609172,), (1388609174,), (1388609176,), (1388609179,), (1388609181,), (1388609185,), (1388609192,), (1388609195,), (1388609196,), (1388609200,), (1388609204,), (1388609211,), (1388609213,), (1388609215,), (1388609219,), (1388609223,), (1388609226,), (1388609233,), (1388609236,), (1388609237,), (1388609240,), (1388609251,), (1388609252,), (1388609253,), (1388609256,), (1388609260,), (1388609263,), (1388609270,), (1388609271,), (1388609273,), (1388609276,), (1388609286,), (1388609287,), (1388609289,), (1388609292,), (1388609295,), (1388609297,), (1388609304,), (1388609306,), (1388609307,), (1388609309,), (1388609322,), (1388609332,), (1388609334,), (1388609338,), (1388609342,), (1388609344,), (1388609418,), (1388609421,), (1388609423,), (1388609426,), (1388609441,), (1388609443,), (1388609445,), (1388609448,), (1388609451,), (1388609453,), (1388609469,), (1388609463,), (1388609466,), (1388609467,), (1388609526,), (1388609569,), (1388609619,), (1388609623,), (1388609650,), (1388609662,), (1388609726,), (1388609728,), (1388609734,), (1388609740,), (1388609786,), (1388609794,), (1388609796,), (1388609799,), (1388609808,), (1388609814,), (1388609841,), (1388609843,), (1388609846,), (1388609849,), (1388609853,), (1388609928,), (1388609929,), (1388609931,), (1388609934,), (1388609936,), (1388609938,), (1388609949,), (1388609952,), (1388609954,), (1388609956,), (1388610154,), (1388610190,), (1388610195,), (1388610197,), (1388610199,), (1388610201,), (1388610305,), (1388610307,), (1388610309,), (1388610311,), (1388610313,), (1388610328,), (1388610331,), (1388610334,), (1388610340,), (1388610342,), (1388610345,), (1388610359,), (1388610362,), (1388610363,), (1388610365,), (1388610368,), (1388610379,), (1388610380,), (1388610381,), (1388610384,), (1388610387,), (1388610398,), (1388610400,), (1388610402,), (1388610405,), (1388610409,), (1388610412,), (1388610420,), (1388610423,), (1388610426,), (1388610429,), (1388610432,), (1388610441,), (1388610443,), (1388610537,), (1388610930,), (1388610688,), (1388610732,), (1388610781,), (1388610823,), (1388611140,), (1388611174,), (1388611177,), (1388611202,), (1388611208,), (1388611403,), (1388611404,), (1388611406,), (1388611408,), (1388611410,), (1388611599,), (1388611601,), (1388611602,), (1388611605,), (1388611608,), (1388611721,), (1388611723,), (1388611724,), (1388611727,), (1388611731,), (1388611734,), (1388611745,), (1388611747,), (1388611749,), (1388611756,), (1388611758,), (1388611776,), (1388611779,), (1388611780,), (1388611783,), (1388611787,), (1388611789,), (1388611800,), (1388611834,), (1388611882,), (1388611975,), (1388612020,), (1388612139,), (1388612192,), (1388612227,), (1388612232,), (1388612235,), (1388612237,), (1388612369,), (1388612371,), (1388612372,), (1388612374,), (1388612389,), (1388612392,), (1388612393,), (1388612397,), (1388612401,), (1388612404,), (1388612526,), (1388612528,), (1388612552,), (1388612570,), (1388612579,), (1388612597,), (1388612598,), (1388612599,), (1388612602,), (1388612606,), (1388612609,), (1388612618,), (1388612620,), (1388612622,), (1388612626,), (1388612630,), (1388612640,), (1388612642,), (1388612645,), (1388612649,), (1388612676,), (1388612661,), (1388612663,), (1388612666,), (1388612670,), (1388612673,), (1388612821,), (1388612824,), (1388612839,), (1388612842,), (1388612846,), (1388612854,), (1388612856,), (1388612859,), (1388612863,), (1388612866,), (1388612883,), (1388612886,), (1388612887,), (1388612890,), (1388612893,), (1388612899,), (1388612907,), (1388612910,), (1388612912,), (1388612916,), (1388612919,), (1388612922,), (1388612929,), (1388612932,), (1388612934,), (1388612938,), (1388613091,), (1388613109,), (1388613110,), (1388613113,), (1388613117,), (1388613120,), (1388613131,), (1388613133,), (1388613135,), (1388613143,), (1388613146,), (1388613154,), (1388613156,), (1388613157,), (1388613160,), (1388613164,), (1388613167,), (1388613177,), (1388613178,), (1388613180,), (1388613199,), (1388613213,), (1388613215,), (1388613217,), (1388613221,), (1388613224,), (1388613249,), (1388613354,), (1388613377,), (1388613378,), (1388613393,), (1388613395,), (1388613399,), (1388613403,), (1388613406,), (1388613409,), (1388613418,), (1388613421,), (1388613422,), (1388613424,), (1388613437,), (1388613441,), (1388613444,), (1388613447,), (1388613450,), (1388613454,), (1388613486,), (1388613462,), (1388613476,), (1388613477,), (1388613481,), (1388613484,), (1388613645,), (1388613647,), (1388613648,), (1388613652,), (1388613671,), (1388613672,), (1388613673,), (1388613677,), (1388613681,), (1388613684,), (1388613693,), (1388613695,), (1388613697,), (1388613702,), (1388613716,), (1388613718,), (1388613720,), (1388613723,), (1388613727,), (1388613729,), (1388613738,), (1388613739,), (1388613741,), (1388613744,), (1388613748,), (1388613752,), (1388613887,), (1388613914,), (1388613921,), (1388613925,), (1388613940,), (1388613942,), (1388613944,), (1388613946,), (1388613949,), (1388613952,), (1388613961,), (1388613964,), (1388613966,), (1388613970,), (1388613985,), (1388613988,), (1388613990,), (1388613993,), (1388613997,), (1388614000,), (1388614009,), (1388614011,), (1388614013,), (1388614017,), (1388614020,), (1388614152,), (1388614154,), (1388614156,), (1388614161,), (1388614165,), (1388614212,), (1388614278,), (1388614281,), (1388614285,), (1388614289,), (1388614326,), (1388614328,), (1388614330,), (1388614333,), (1388614337,), (1388614340,), (1388614345,), (1388614352,), (1388614356,), (1388614360,), (1388614363,), (1388614383,), (1388614372,), (1388614374,), (1388614375,), (1388614377,), (1388614380,), (1388614516,), (1388614519,), (1388614521,), (1388614562,), (1388614669,), (1388614671,), (1388614673,), (1388614675,), (1388614680,), (1388614684,), (1388614704,), (1388614705,), (1388614706,), (1388614713,), (1388614716,), (1388614726,), (1388614728,), (1388614730,), (1388614734,), (1388614738,), (1388614750,), (1388614753,), (1388614754,), (1388614756,), (1388614759,), (1388614772,), (1388614934,), (1388614947,), (1388614950,), (1388614952,), (1388614958,), (1388615057,), (1388615059,), (1388615060,), (1388615062,), (1388615124,), (1388615126,), (1388615128,), (1388615132,), (1388615136,), (1388615139,), (1388615158,), (1388615162,), (1388615168,), (1388615171,), (1388615184,), (1388615186,), (1388615190,), (1388615196,), (1388615199,), (1388615202,), (1388615210,), (1388615213,), (1388615215,), (1388615231,), (1388615279,), (1388615471,), (1388615474,), (1388615522,), (1388615529,), (1388615531,), (1388615579,), (1388615583,), (1388615588,), (1388615590,), (1388615594,), (1388615611,), (1388615607,), (1388615782,), (1388615787,), (1388615807,), (1388615809,), (1388615823,), (1388615824,), (1388615825,), (1388615828,), (1388615832,), (1388615843,), (1388615845,), (1388615847,), (1388615851,), (1388615865,), (1388615867,), (1388615868,), (1388615871,), (1388615874,), (1388615878,), (1388615893,), (1388615895,), (1388615897,), (1388615901,), (1388615904,), (1388615908,), (1388616088,), (1388616094,), (1388616120,), (1388616123,), (1388616126,), (1388616128,), (1388616133,), (1388616134,), (1388616136,), (1388616141,), (1388616143,), (1388616146,), (1388616149,), (1388616152,), (1388616164,), (1388616167,), (1388616169,), (1388616172,), (1388616175,), (1388616178,), (1388616195,), (1388616197,), (1388616198,), (1388616200,), (1388616203,), (1388616218,), (1388616221,), (1388616222,), (1388616368,), (1388616397,), (1388616400,), (1388616427,), (1388616431,), (1388616434,), (1388616444,), (1388616450,), (1388616453,), (1388616456,), (1388616460,), (1388616463,), (1388616475,), (1388616476,), (1388616479,), (1388616482,), (1388616487,), (1388616488,), (1388616490,), (1388616493,), (1388616497,), (1388616500,), (1388616503,), (1388616506,), (1388616509,), (1388616512,), (1388616531,), (1388616519,), (1388616522,), (1388616525,), (1388616528,), (1388616542,), (1388616551,), (1388616594,), (1388616718,), (1388616720,), (1388616758,), (1388616813,), (1388616861,), (1388616863,), (1388616865,), (1388616869,), (1388616874,), (1388616890,), (1388616892,), (1388616894,), (1388616898,), (1388616912,), (1388616915,), (1388616917,), (1388617063,), (1388617091,), (1388617102,), (1388617119,), (1388617123,), (1388617125,), (1388617132,), (1388617139,), (1388617143,), (1388617145,), (1388617174,), (1388617427,), (1388617447,), (1388617450,), (1388617452,), (1388617498,), (1388617468,), (1388617486,), (1388617490,), (1388617495,), (1388617654,), (1388617660,), (1388617685,), (1388617688,), (1388617692,), (1388617696,), (1388617708,), (1388617711,), (1388617739,), (1388617741,), (1388617742,), (1388617761,), (1388617764,), (1388617767,), (1388617790,), (1388617792,), (1388617794,), (1388617798,), (1388617803,), (1388617959,), (1388617962,), (1388617964,), (1388617967,), (1388617987,), (1388617988,), (1388617990,), (1388617994,), (1388617997,), (1388618000,), (1388618004,), (1388618006,), (1388618007,), (1388618012,), (1388618014,), (1388618018,), (1388618021,), (1388618038,), (1388618041,), (1388618044,), (1388618049,), (1388618053,), (1388618066,), (1388618069,), (1388618071,), (1388618075,), (1388618079,), (1388618083,), (1388618094,), (1388618127,), (1388618168,), (1388618211,), (1388618357,), (1388618362,), (1388618368,), (1388618428,), (1388618434,), (1388618436,), (1388618446,), (1388618448,), (1388618450,), (1388618471,), (1388618475,), (1388618477,), (1388618481,), (1388618484,), (1388618486,), (1388618513,), (1388618499,), (1388618501,), (1388618502,), (1388618505,), (1388618509,), (1388618522,), (1388618525,), (1388618528,), (1388618532,), (1388618542,), (1388618544,), (1388618546,), (1388618550,), (1388618554,), (1388618687,), (1388618839,), (1388618892,), (1388618934,), (1388618977,), (1388618984,), (1388619075,), (1388619077,), (1388619078,), (1388619092,), (1388619136,), (1388619174,), (1388619273,), (1388619276,), (1388619329,), (1388619355,), (1388619365,), (1388619368,), (1388619371,), (1388619425,), (1388619428,), (1388619430,), (1388619434,), (1388619438,), (1388619443,), (1388619462,), (1388619464,), (1388619504,), (1388619516,), (1388619518,), (1388619520,), (1388619529,), (1388619539,), (1388619541,), (1388619543,), (1388619547,), (1388619557,), (1388619683,), (1388619687,), (1388619688,), (1388619737,), (1388620882,), (1388620886,), (1388635077,), (1388635098,), (1388635100,), (1388635101,), (1388635103,), (1388636072,), (1388636076,), (1388636082,), (1388636264,), (1388636295,), (1388636332,), (1388636417,), (1388636429,), (1388636437,), (1388636447,), (1388636461,), (1388636464,), (1388636465,), (1388637397,), (1388637399,), (1388637401,), (1388637404,), (1388637416,), (1388637879,), (1388637882,), (1388638116,), (1388638206,), (1388638209,), (1388638583,), (1388638585,), (1388638594,), (1388638605,), (1388638609,), (1388638811,), (1388638817,), (1388638818,), (1388638878,), (1388638898,), (1388638906,), (1388638910,), (1388638932,), (1388639007,), (1388639010,), (1388639012,), (1388639053,), (1388639193,), (1388640647,), (1388640577,), (1388640598,), (1388640602,), (1388640850,), (1388640863,), (1388640866,), (1388640869,), (1388640872,), (1388641904,), (1388641920,), (1388641923,), (1388641940,), (1388642131,), (1388642133,), (1388642244,), (1388642249,), (1388642257,), (1388642274,), (1388642277,), (1388642294,), (1388642309,), (1388642314,), (1388642316,), (1388642330,), (1388642337,), (1388642338,), (1388642351,), (1388642397,), (1388642485,), (1388642486,), (1388642487,), (1388642489,), (1388642539,), (1388642546,), (1388642548,), (1388642551,), (1388642555,), (1388642560,), (1388643306,), (1388643308,), (1388643310,), (1388643314,), (1388643321,), (1388643622,), (1388643624,), (1388643668,), (1388643671,), (1388643689,), (1388643832,), (1388643834,), (1388643836,), (1388643881,), (1388643884,), (1388643886,), (1388643889,), (1388644823,), (1388644826,), (1388644828,), (1388644831,), (1388644834,), (1388645186,), (1388645189,), (1388645191,), (1388645194,), (1388645198,), (1388646303,), (1388646362,), (1388646365,), (1388646666,), (1388646649,), (1388646664,), (1388646730,), (1388647815,), (1388647952,), (1388648276,), (1388649105,), (1388649106,), (1388649107,), (1388649143,), (1388649145,), (1388649146,), (1388649149,), (1388649531,), (1388649558,), (1388649562,), (1388650474,), (1388650493,), (1388650501,), (1388650519,), (1388650522,), (1388651221,), (1388651254,), (1388651256,), (1388651287,), (1388651304,), (1388651309,), (1388651332,), (1388651338,), (1388651408,), (1388651411,), (1388651412,), (1388651414,), (1388651435,), (1388651692,), (1388651702,), (1388651705,), (1388651708,), (1388651712,), (1388651882,), (1388651967,), (1388651997,), (1388652001,), (1388652006,), (1388652015,), (1388652167,), (1388652170,), (1388652172,), (1388653183,), (1388653186,), (1388653188,), (1388653191,), (1388653196,), (1388653965,), (1388653723,), (1388653953,), (1388653955,), (1388653958,), (1388653962,), (1388654223,), (1388654266,), (1388654291,), (1388654359,), (1388654365,), (1388654670,), (1388654698,), (1388654705,), (1388654716,), (1388655468,), (1388655472,), (1388655475,), (1388655479,), (1388655488,), (1388655811,), (1388655896,), (1388655900,), (1388656027,), (1388656031,), (1388656040,), (1388656063,), (1388656077,), (1388656153,), (1388656156,), (1388656157,), (1388656164,), (1388656173,), (1388656345,), (1388656350,), (1388656454,), (1388657029,), (1388657061,), (1388657101,), (1388657123,), (1388657143,), (1388657147,), (1388658410,), (1388658413,), (1388658469,), (1388658694,), (1388658697,), (1388658700,), (1388658801,), (1388658807,), (1388658812,), (1388659400,), (1388659412,), (1388659415,), (1388659419,), (1388659424,), (1388659511,), (1388659516,), (1388659517,), (1388659555,), (1388659579,), (1388659588,), (1388659607,), (1388659611,), (1388659614,), (1388661034,), (1388659654,), (1388659726,), (1388660052,), (1388660562,), (1388661031,), (1388661045,), (1388661078,), (1388661088,), (1388661090,), (1388661952,), (1388661953,), (1388662344,), (1388663254,), (1388663257,), (1388663258,), (1388663261,), (1388663281,), (1388663283,), (1388663286,), (1388663289,), (1388663292,), (1388663295,), (1388663317,), (1388663320,), (1388663325,), (1388663328,), (1388663331,), (1388663379,), (1388663382,), (1388663395,), (1388663787,), (1388663791,), (1388664838,), (1388664861,), (1388664864,), (1388665273,), (1388665291,), (1388665431,), (1388666945,), (1388667002,), (1388667053,), (1388667170,), (1388667176,), (1388667189,), (1388667193,), (1388667210,), (1388667233,), (1388667234,), (1388667236,), (1388667239,), (1388667243,), (1388667261,), (1388667265,), (1388667269,), (1388667274,), (1388667278,), (1388667282,), (1388667324,), (1388667313,), (1388667317,), (1388667320,), (1388667343,), (1388667345,), (1388667348,), (1388667352,), (1388667365,), (1388667407,), (1388667411,), (1388667414,), (1388667419,), (1388667424,), (1388667435,), (1388667475,), (1388667478,), (1388668245,), (1388668249,), (1388668251,), (1388668254,), (1388668259,), (1388668263,), (1388668560,), (1388668562,), (1388668599,), (1388668603,), (1388668786,), (1388668798,), (1388668813,), (1388668828,), (1388668831,), (1388668855,), (1388669574,), (1388669578,), (1388669586,), (1388669589,), (1388669594,), (1388670126,), (1388670158,), (1388670162,), (1388670166,), (1388670402,), (1388670417,), (1388670427,), (1388670439,), (1388670443,), (1388671250,), (1388671254,), (1388671257,), (1388671260,), (1388671264,), (1388671267,), (1388671529,), (1388671582,), (1388671619,), (1388671634,), (1388671643,), (1388671676,), (1388671679,), (1388671681,), (1388671693,), (1388671696,), (1388671698,), (1388673447,), (1388673461,), (1388673467,), (1388673688,), (1388674069,), (1388674103,), (1388674107,), (1388674188,), (1388674193,), (1388674322,), (1388674870,), (1388674710,), (1388674713,), (1388674741,), (1388674745,), (1388674762,), (1388675010,), (1388675014,), (1388675015,), (1388675017,), (1388675059,), (1388675061,), (1388675063,), (1388675066,), (1388675072,), (1388675122,), (1388675124,), (1388675125,), (1388675377,), (1388675680,), (1388675700,), (1388675702,), (1388675704,), (1388675708,), (1388675712,), (1388676144,), (1388676160,), (1388676162,), (1388676166,), (1388676203,), (1388676205,), (1388676207,), (1388676299,), (1388676304,), (1388676306,), (1388676310,), (1388676314,), (1388676345,), (1388676420,), (1388676421,), (1388676425,), (1388676451,), (1388676453,), (1388676967,), (1388677509,), (1388677734,), (1388677736,), (1388677763,), (1388677829,), (1388677862,), (1388677868,), (1388677876,), (1388679447,), (1388679640,), (1388679682,), (1388679710,), (1388679844,), (1388679846,), (1388679849,), (1388679853,), (1388679857,), (1388679861,), (1388680320,), (1388680330,), (1388680331,), (1388680841,), (1388680990,), (1388681438,), (1388681998,), (1388682092,), (1388682122,), (1388682119,), (1388682121,), (1388682573,), (1388682626,), (1388682644,), (1388682685,), (1388682812,), (1388682815,), (1388682817,), (1388683312,), (1388683317,), (1388683318,), (1388683320,), (1388683324,), (1388683327,), (1388683339,), (1388683346,), (1388683791,), (1388684307,), (1388684344,), (1388684349,), (1388684369,), (1388685385,), (1388685447,), (1388685461,), (1388685477,), (1388685480,), (1388685512,), (1388685785,), (1388685791,), (1388685794,), (1388685800,), (1388685807,), (1388685810,), (1388685865,), (1388685868,), (1388685946,), (1388685948,), (1388685949,), (1388686690,), (1388687115,), (1388687124,), (1388687126,), (1388687129,), (1388687132,), (1388687135,), (1388687251,), (1388687253,), (1388687254,), (1388687277,), (1388687281,), (1388687305,), (1388687312,), (1388687313,), (1388687526,), (1388687523,), (1388687524,), (1388687556,), (1388688153,), (1388688155,), (1388688212,), (1388688783,), (1388688818,), (1388688820,), (1388688823,), (1388688841,), (1388688844,), (1388688852,), (1388688854,), (1388688856,), (1388688859,), (1388688891,), (1388688894,), (1388688895,), (1388688938,), (1388688945,), (1388688947,), (1388688951,), (1388688955,), (1388688967,), (1388688970,), (1388688972,), (1388689036,), (1388689055,), (1388689066,), (1388689075,), (1388689084,), (1388690358,), (1388690889,), (1388690961,), (1388690963,), (1388691183,), (1388691214,), (1388691278,), (1388691614,), (1388691628,), (1388692121,), (1388692122,), (1388692124,), (1388692127,), (1388692131,), (1388692134,), (1388692206,), (1388692209,), (1388692217,), (1388692221,), (1388692224,), (1388692264,), (1388692307,), (1388692348,), (1388692363,), (1388692365,), (1388692368,), (1388692381,), (1388692383,), (1388692385,), (1388692389,), (1388692392,), (1388692398,), (1388692411,), (1388692407,), (1388692410,), (1388692428,), (1388692430,), (1388692432,), (1388692540,), (1388693114,), (1388693304,), (1388693386,), (1388693393,), (1388693394,), (1388693420,), (1388693423,), (1388693805,), (1388693807,), (1388693879,), (1388693906,), (1388693919,), (1388693922,), (1388693930,), (1388694005,), (1388696998,), (1388697045,), (1388697087,), (1388697146,), (1388698716,), (1388698512,), (1388698607,), (1388698713,), (1388698812,), (1388698815,), (1388698817,), (1388699363,), (1388699379,), (1388699439,), (1388699451,), (1388699576,), (1388700131,), (1388700157,), (1388700186,), (1388700445,), (1388700459,), (1388700465,), (1388700496,), (1388700498,), (1388700501,), (1388700505,), (1388700523,), (1388700525,), (1388700528,), (1388700532,), (1388701111,), (1388701193,), (1388701270,), (1388701274,), (1388701277,), (1388701491,), (1388701495,), (1388701673,), (1388701676,), (1388701677,), (1388701724,), (1388701726,), (1388701729,), (1388701946,), (1388734795,), (1388734735,), (1388734824,), (1388734870,), (1388734874,), (1388734878,), (1388734928,), (1388735231,), (1388735312,), (1388735314,), (1388735316,), (1388735320,), (1388735372,), (1388735391,), (1388735412,), (1388735415,), (1388735419,), (1388735538,), (1388735562,), (1388735644,), (1388735647,), (1388735649,), (1388735724,), (1388735726,), (1388735728,), (1388735928,), (1388735931,), (1388735932,), (1388735936,), (1388736656,), (1388736539,), (1388736542,), (1388736602,), (1388736881,), (1388736883,), (1388736886,), (1388737097,), (1388737100,), (1388737103,), (1388737108,), (1388737130,), (1388737155,), (1388737165,), (1388737190,), (1388737195,), (1388737235,), (1388737381,), (1388737383,), (1388737386,), (1388737864,), (1388737866,), (1388737868,), (1388737957,), (1388737960,), (1388737987,), (1388737989,), (1388737993,), (1388737997,), (1388738113,), (1388738116,), (1388738120,), (1388738126,), (1388738129,), (1388738131,), (1388738142,), (1388738144,), (1388738147,), (1388738149,), (1388738151,), (1388738153,), (1388738170,), (1388738174,), (1388738175,), (1388738178,), (1388738180,), (1388738182,), (1388738196,), (1388738198,), (1388738199,), (1388738200,), (1388738202,), (1388738204,), (1388738209,), (1388738212,), (1388738214,), (1388738216,), (1388738218,), (1388738235,), (1388738237,), (1388738239,), (1388738242,), (1388738246,), (1388738252,), (1388738391,), (1388738393,), (1388738395,), (1388739200,), (1388739209,), (1388739217,), (1388739229,), (1388739407,), (1388739408,), (1388739426,), (1388739427,), (1388739435,), (1388739436,), (1388739448,), (1388739449,), (1388739575,), (1388739530,), (1388739570,), (1388739571,), (1388739597,), (1388739637,), (1388740243,), (1388740515,), (1388740653,), (1388740659,), (1388741103,), (1388741108,), (1388741890,), (1388741898,), (1388741902,), (1388741904,), (1388742228,), (1388742231,), (1388742276,), (1388742333,), (1388742425,), (1388742433,), (1388742464,), (1388742475,), (1388742479,), (1388742485,), (1388742494,), (1388742503,), (1388742551,), (1388742554,), (1388742557,), (1388742584,), (1388742586,), (1388742589,), (1388742592,), (1388742630,), (1388742634,), (1388742654,), (1388742657,), (1388742659,), (1388742664,), (1388742699,), (1388742717,), (1388742739,), (1388742747,), (1388742751,), (1388742756,), (1388742787,), (1388742794,), (1388742806,), (1388742810,), (1388742815,), (1388743023,), (1388743138,), (1388743144,), (1388743152,), (1388743157,), (1388743160,), (1388743171,), (1388743173,), (1388743176,), (1388743181,), (1388743185,), (1388743190,), (1388743257,), (1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10102025': {'nb_upload': 68, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27699828]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] map_info['map_portfolio_photo'] : {27699828: [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216, 1388744159, 1388744155, 1388744150, 1388744148, 1388744136, 1388744134, 1388744101, 1388744096, 1388744089, 1388744085, 1388744073, 1388744038, 1388744033, 1388744021, 1388744013, 1388744012, 1388743990, 1388743986, 1388743981, 1388743977, 1388743970, 1388743949, 1388743861, 1388743859, 1388743843, 1388743840, 1388743837, 1388743835, 1388743813, 1388743807, 1388743801, 1388743794, 1388743775, 1388743745, 1388743742, 1388743740, 1388743737, 1388743715, 1388743704, 1388743699, 1388743688, 1388743677, 1388743646, 1388743642, 1388743637, 1388743632, 1388743627, 1388743624, 1388743496, 1388743487, 1388743480, 1388743462, 1388743450, 1388743254]} final : True mtd_id 4302 list_pids : [1388744308, 1388744307, 1388744301, 1388744260, 1388744257, 1388744254, 1388744247, 1388744242, 1388744239, 1388744226, 1388744223, 1388744221, 1388744219, 1388744216] Looping around the photos to save general results len do output : 1 /27699828Didn'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, '3924363') ('4302', '27699828', '1388744308', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744307', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744301', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744260', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744257', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744254', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744247', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744242', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744239', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744226', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744223', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744221', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744219', None, None, None, None, None, '3924363') ('4302', None, None, None, None, None, None, None, '3924363') ('4302', '27699828', '1388744216', None, None, None, None, None, '3924363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27699828', 'None', None, None, None, None, '3924363'), ('4302', '27699828', '1388744308', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744307', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744301', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744260', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744257', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744254', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744247', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744242', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744239', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744226', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744223', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744221', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744219', None, None, None, None, None, '3924363'), ('4302', '27699828', '1388744216', None, None, None, None, None, '3924363')] time used for this insertion : 0.03703618049621582 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.980674743652344 time spend to save output : 0.0373227596282959 total time spend for step 5 : 8.01799750328064 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 (3924363) 2.74user 2.60system 0:27.99elapsed 19%CPU (0avgtext+0avgdata 161400maxresident)k 600inputs+16768outputs (10major+76533minor)pagefaults 0swaps