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 : 411143 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 (3887285) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3887285) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608960 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3887285'] with mtr_portfolio_ids : ['27608960'] and first list_photo_ids : [] new path : /proc/411143/ Name: python3 Umask: 0002 State: R (running) Tgid: 411143 Ngid: 0 Pid: 411143 PPid: 411142 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 411143 NSpid: 411143 NSpgid: 409550 NSsid: 409550 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99152 kB VmRSS: 99152 kB RssAnon: 59840 kB RssFile: 39312 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '411143', 'Ngid': '0', 'Pid': '411143', 'PPid': '411142', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '411143', 'NSpid': '411143', 'NSpgid': '409550', 'NSsid': '409550', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99152 kB', 'VmRSS': '99152 kB', 'RssAnon': '59840 kB', 'RssFile': '39312 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '89'} ('datou_batch_current', '411143', '1106856', '0', '1106856', '865608', '99152', b'', 'marlene', '3887285') 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 (27608960) 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 (3887285 ) ) 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 (27608960) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388261019, 'portfolio_id': 27608960}, {'photo_id': 1388261016, 'portfolio_id': 27608960}, {'photo_id': 1388261013, 'portfolio_id': 27608960}, {'photo_id': 1388261010, 'portfolio_id': 27608960}, {'photo_id': 1388260983, 'portfolio_id': 27608960}, {'photo_id': 1388260980, 'portfolio_id': 27608960}, {'photo_id': 1388260978, 'portfolio_id': 27608960}, {'photo_id': 1388260974, 'portfolio_id': 27608960}, {'photo_id': 1388260944, 'portfolio_id': 27608960}, {'photo_id': 1388260911, 'portfolio_id': 27608960}, {'photo_id': 1388260898, 'portfolio_id': 27608960}, {'photo_id': 1388260865, 'portfolio_id': 27608960}, {'photo_id': 1388260855, 'portfolio_id': 27608960}, {'photo_id': 1388260848, 'portfolio_id': 27608960}, {'photo_id': 1388260827, 'portfolio_id': 27608960}, {'photo_id': 1388260825, 'portfolio_id': 27608960}, {'photo_id': 1388260823, 'portfolio_id': 27608960}, {'photo_id': 1388260806, 'portfolio_id': 27608960}, {'photo_id': 1388260803, 'portfolio_id': 27608960}, {'photo_id': 1388260801, 'portfolio_id': 27608960}, {'photo_id': 1388260800, 'portfolio_id': 27608960}, {'photo_id': 1388260799, 'portfolio_id': 27608960}, {'photo_id': 1388260757, 'portfolio_id': 27608960}, {'photo_id': 1388260753, 'portfolio_id': 27608960}, {'photo_id': 1388260751, 'portfolio_id': 27608960}, {'photo_id': 1388260737, 'portfolio_id': 27608960}, {'photo_id': 1388260734, 'portfolio_id': 27608960}, {'photo_id': 1388260729, 'portfolio_id': 27608960}, {'photo_id': 1388260725, 'portfolio_id': 27608960}, {'photo_id': 1388260723, 'portfolio_id': 27608960}, {'photo_id': 1388260656, 'portfolio_id': 27608960}, {'photo_id': 1388260646, 'portfolio_id': 27608960}, {'photo_id': 1388260641, 'portfolio_id': 27608960}, {'photo_id': 1388260636, 'portfolio_id': 27608960}, {'photo_id': 1388260632, 'portfolio_id': 27608960}, {'photo_id': 1388260593, 'portfolio_id': 27608960}, {'photo_id': 1388260591, 'portfolio_id': 27608960}, {'photo_id': 1388260589, 'portfolio_id': 27608960}] map_portfolio_id_photo_id: {27608960: [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974, 1388260944, 1388260911, 1388260898, 1388260865, 1388260855, 1388260848, 1388260827, 1388260825, 1388260823, 1388260806, 1388260803, 1388260801, 1388260800, 1388260799, 1388260757, 1388260753, 1388260751, 1388260737, 1388260734, 1388260729, 1388260725, 1388260723, 1388260656, 1388260646, 1388260641, 1388260636, 1388260632, 1388260593, 1388260591, 1388260589]} ##### 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.052123308181762695 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Oct 8 19:24:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27608960) 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 : 27608960 get user id for portfolio 27608960 get sub ptf for main ptf 27608960, type 3726 and hashtags ['metal', 'Carton_gris', 'autre_refus', 'kraft', 'plastique', 'flou', 'Teint_Dans_La_Masse', 'mal_croppe', 'environnement', 'Carton_brun', 'papier', 'cartonnette'] 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`=27608960 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','autre_refus','kraft','plastique','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','papier','cartonnette')) 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`=27608960 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','autre_refus','kraft','plastique','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','papier','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 27608960, 'sub_port_id': 27608963, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633430, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'mal_croppe': {'main_port_id': 27608960, 'sub_port_id': 27608964, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633431, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'metal': {'main_port_id': 27608960, 'sub_port_id': 27608965, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633432, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'autre_refus': {'main_port_id': 27608960, 'sub_port_id': 27608966, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633433, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'plastique': {'main_port_id': 27608960, 'sub_port_id': 27608967, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633434, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'environnement': {'main_port_id': 27608960, 'sub_port_id': 27608968, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633435, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'papier': {'main_port_id': 27608960, 'sub_port_id': 27608969, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633436, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 27608960, 'sub_port_id': 27608970, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633437, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'flou': {'main_port_id': 27608960, 'sub_port_id': 27608971, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633438, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'Carton_brun': {'main_port_id': 27608960, 'sub_port_id': 27608972, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633439, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'Carton_gris': {'main_port_id': 27608960, 'sub_port_id': 27608973, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633440, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}, 'cartonnette': {'main_port_id': 27608960, 'sub_port_id': 27608974, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633441, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608963 , 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=27608960 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 (27608963) result : ((1388260993,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608964 , 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=27608960 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 (27608964) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608965 , 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=27608960 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 (27608965) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608966 , 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=27608960 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 (27608966) result : ((1388260831,), (1388261003,), (1388261004,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608967 , 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=27608960 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 (27608967) result : ((1388260689,), (1388260773,), (1388260774,), (1388260912,), (1388260913,), (1388260914,), (1388260915,), (1388260916,), (1388260917,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608968 , 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=27608960 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 (27608968) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608969 , 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=27608960 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 (27608969) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608970 , 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=27608960 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 (27608970) result : ((1388260685,), (1388260761,), (1388260762,), (1388260763,), (1388260764,), (1388260901,), (1388260902,), (1388260903,), (1388260904,), (1388260905,), (1388260906,), (1388260907,), (1388261002,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608971 , 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=27608960 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 (27608971) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608972 , 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=27608960 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 (27608972) result : ((1388260687,), (1388260688,), (1388260770,), (1388260771,), (1388260834,), (1388260836,), (1388260838,), (1388261005,), (1388261006,), (1388261007,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608973 , 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=27608960 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 (27608973) result : ((1388260686,), (1388260766,), (1388260908,), (1388260909,), (1388260987,), (1388260988,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27608974 , 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=27608960 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 (27608974) result : ((1388260767,), (1388260768,), (1388260769,), (1388260910,), (1388260989,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27608960) result : ((1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) 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 (1388260800) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27608960 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','autre_refus','kraft','plastique','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','papier','cartonnette')) 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`=27608960 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Carton_gris','autre_refus','kraft','plastique','flou','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_brun','papier','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 27608960, 'sub_port_id': 27608999, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633466, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'mal_croppe': {'main_port_id': 27608960, 'sub_port_id': 27609000, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633467, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'metal': {'main_port_id': 27608960, 'sub_port_id': 27609001, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633468, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'autre_refus': {'main_port_id': 27608960, 'sub_port_id': 27609002, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633469, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'plastique': {'main_port_id': 27608960, 'sub_port_id': 27609003, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633470, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'environnement': {'main_port_id': 27608960, 'sub_port_id': 27609004, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633471, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'papier': {'main_port_id': 27608960, 'sub_port_id': 27609005, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633472, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'Teint_Dans_La_Masse': {'main_port_id': 27608960, 'sub_port_id': 27609006, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633473, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'flou': {'main_port_id': 27608960, 'sub_port_id': 27609007, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633474, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'Carton_brun': {'main_port_id': 27608960, 'sub_port_id': 27609008, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633475, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'Carton_gris': {'main_port_id': 27608960, 'sub_port_id': 27609009, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633476, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 19, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}, 'cartonnette': {'main_port_id': 27608960, 'sub_port_id': 27609010, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18633477, 'last_updated_at': datetime.datetime(2025, 10, 8, 19, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 19, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 19, 19, 35)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27608999,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608963 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609000,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608964 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609001,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608965 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609002,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608966 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609003,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608967 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609004,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608968 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609005,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608969 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609006,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608970 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609007,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608971 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609008,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608972 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609009,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608973 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27609010,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27608974 lien utilise dans velours : https://marlene.fotonower.com/velours/27608999,27609000,27609001,27609002,27609003,27609004,27609005,27609006,27609007,27609008,27609009,27609010?tags=kraft,mal_croppe,metal,autre_refus,plastique,environnement,papier,Teint_Dans_La_Masse,flou,Carton_brun,Carton_gris,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27608960]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] map_info['map_portfolio_photo'] : {27608960: [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974, 1388260944, 1388260911, 1388260898, 1388260865, 1388260855, 1388260848, 1388260827, 1388260825, 1388260823, 1388260806, 1388260803, 1388260801, 1388260800, 1388260799, 1388260757, 1388260753, 1388260751, 1388260737, 1388260734, 1388260729, 1388260725, 1388260723, 1388260656, 1388260646, 1388260641, 1388260636, 1388260632, 1388260593, 1388260591, 1388260589]} final : False mtd_id 4302 list_pids : [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] Looping around the photos to save general results len do output : 1 /27608960. 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, '3887285') ('4302', '27608960', '1388261019', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261016', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261013', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261010', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260983', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260980', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260978', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260974', None, None, None, None, None, '3887285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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, '27608960', "{'kraft': 27608963, 'mal_croppe': 27608964, 'metal': 27608965, 'autre_refus': 27608966, 'plastique': 27608967, 'environnement': 27608968, 'papier': 27608969, 'Teint_Dans_La_Masse': 27608970, 'flou': 27608971, 'Carton_brun': 27608972, 'Carton_gris': 27608973, 'cartonnette': 27608974}", None, None, None, None, '3887285'), ('4302', '27608960', '1388261019', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261016', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261013', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261010', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260983', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260980', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260978', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260974', None, None, None, None, None, '3887285')] time used for this insertion : 0.03780245780944824 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6887249946594238 time spend to save output : 0.03810620307922363 total time spend for step 1 : 1.7268311977386475 step2:final Wed Oct 8 19:24:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (27608960) 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 27608960 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388260593,1388260591,1388260589,1388260656,1388260646,1388260641,1388260636,1388260632,1388260737,1388260734,1388260729,1388260725,1388260723,1388260757,1388260753,1388260751,1388260911,1388260806,1388260898,1388260803,1388260865,1388260801,1388260855,1388260800,1388260848,1388260799,1388260827,1388260825,1388260823,1388260944,1388260983,1388260980,1388260978,1388260974,1388261019,1388261016,1388261013,1388261010); 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([27608960]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} new output for save of step final : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] map_info['map_portfolio_photo'] : {27608960: [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974, 1388260944, 1388260911, 1388260898, 1388260865, 1388260855, 1388260848, 1388260827, 1388260825, 1388260823, 1388260806, 1388260803, 1388260801, 1388260800, 1388260799, 1388260757, 1388260753, 1388260751, 1388260737, 1388260734, 1388260729, 1388260725, 1388260723, 1388260656, 1388260646, 1388260641, 1388260636, 1388260632, 1388260593, 1388260591, 1388260589]} final : False mtd_id 4302 list_pids : [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] Looping around the photos to save general results len do output : 8 /1388261019.Didn't retrieve data . /1388261016.Didn't retrieve data . /1388261013.Didn't retrieve data . /1388261010.Didn't retrieve data . /1388260983.Didn't retrieve data . /1388260980.Didn't retrieve data . /1388260978.Didn't retrieve data . /1388260974.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, '3887285') ('4302', '27608960', '1388261019', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261016', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261013', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261010', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260983', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260980', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260978', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260974', None, None, None, None, None, '3887285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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', '27608960', '1388261019', '0.06518037882633816', None, None, None, None, '3887285'), ('4302', '27608960', '1388261016', '0.06518037882633816', None, None, None, None, '3887285'), ('4302', '27608960', '1388261013', '0.06518037882633816', None, None, None, None, '3887285'), ('4302', '27608960', '1388261010', '0.06518037882633816', None, None, None, None, '3887285'), ('4302', '27608960', '1388260983', '0.06518037882633816', None, None, None, None, '3887285'), ('4302', '27608960', '1388260980', '0.06518037882633816', None, None, None, None, '3887285'), ('4302', '27608960', '1388260978', '0.06518037882633816', None, None, None, None, '3887285'), ('4302', '27608960', '1388260974', '0.06518037882633816', None, None, None, None, '3887285')] time used for this insertion : 0.03678178787231445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.255279541015625 time spend to save output : 0.037197113037109375 total time spend for step 2 : 0.2924766540527344 step3:velours_tree Wed Oct 8 19:24:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {27608960: [{'kraft': 27608963, 'mal_croppe': 27608964, 'metal': 27608965, 'autre_refus': 27608966, 'plastique': 27608967, 'environnement': 27608968, 'papier': 27608969, 'Teint_Dans_La_Masse': 27608970, 'flou': 27608971, 'Carton_brun': 27608972, 'Carton_gris': 27608973, 'cartonnette': 27608974}]} input_args_next_step : {27608960: ()} output_args : {27608960: [{'kraft': 27608963, 'mal_croppe': 27608964, 'metal': 27608965, 'autre_refus': 27608966, 'plastique': 27608967, 'environnement': 27608968, 'papier': 27608969, 'Teint_Dans_La_Masse': 27608970, 'flou': 27608971, 'Carton_brun': 27608972, 'Carton_gris': 27608973, 'cartonnette': 27608974}]} args : 27608960 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 : ({'kraft': 27608963, 'mal_croppe': 27608964, 'metal': 27608965, 'autre_refus': 27608966, 'plastique': 27608967, 'environnement': 27608968, 'papier': 27608969, 'Teint_Dans_La_Masse': 27608970, 'flou': 27608971, 'Carton_brun': 27608972, 'Carton_gris': 27608973, 'cartonnette': 27608974},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27608960) 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([27608960]) 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.34340691566467285 time spend to save output : 4.8160552978515625e-05 total time spend for step 3 : 0.34345507621765137 step4:send_mail_cod Wed Oct 8 19:24:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} input_args_next_step : {1388261019: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388261019 depend.output_id : 0 input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388261016 depend.output_id : 0 input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388261013 depend.output_id : 0 input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388261010 depend.output_id : 0 input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388260983 depend.output_id : 0 input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388260980 depend.output_id : 0 input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388260978 depend.output_id : 0 input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ()} output_args : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',)} args : 1388260974 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 : {27608960: [{'kraft': 27608963, 'mal_croppe': 27608964, 'metal': 27608965, 'autre_refus': 27608966, 'plastique': 27608967, 'environnement': 27608968, 'papier': 27608969, 'Teint_Dans_La_Masse': 27608970, 'flou': 27608971, 'Carton_brun': 27608972, 'Carton_gris': 27608973, 'cartonnette': 27608974}]} input_args_next_step : {1388261019: ('0.06518037882633816',), 1388261016: ('0.06518037882633816',), 1388261013: ('0.06518037882633816',), 1388261010: ('0.06518037882633816',), 1388260983: ('0.06518037882633816',), 1388260980: ('0.06518037882633816',), 1388260978: ('0.06518037882633816',), 1388260974: ('0.06518037882633816',), 27608960: ()} output_args : {27608960: [{'kraft': 27608963, 'mal_croppe': 27608964, 'metal': 27608965, 'autre_refus': 27608966, 'plastique': 27608967, 'environnement': 27608968, 'papier': 27608969, 'Teint_Dans_La_Masse': 27608970, 'flou': 27608971, 'Carton_brun': 27608972, 'Carton_gris': 27608973, 'cartonnette': 27608974}]} args : 27608960 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 :9, first value : ('0.06518037882633816',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27608960) 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 (1388261019,1388261016,1388261013,1388261010,1388260983,1388260980,1388260978,1388260974) Found this number of photos: 8 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388260974 begin to download photo : 1388260980 begin to download photo : 1388261010 begin to download photo : 1388261016 download finish for photo 1388261010 begin to download photo : 1388261013 download finish for photo 1388261016 begin to download photo : 1388261019 download finish for photo 1388260980 begin to download photo : 1388260983 download finish for photo 1388260974 begin to download photo : 1388260978 download finish for photo 1388260983 download finish for photo 1388260978 download finish for photo 1388261013 download finish for photo 1388261019 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 : 8 ; length of list_pids : 8 ; length of list_args : 8 results_Auto_P27608960_08-10-2025_19_25_00.pdf 27608963 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=27608963 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388260993: '1759944187_5077_1388260823_7e70e5d342150832369efaa19dfe64f5_rle_crop_3989524548_0.png'} change filename to text .imagette276089631759944300/ imagette276089631759944300/1759944187_5077_1388260823_7e70e5d342150832369efaa19dfe64f5_rle_crop_3989524548_0.png.png imagette276089641759944300/ imagette276089651759944300/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/ce1114f1eb55f8a731d80e2236f45054_58099599.png imagette276089631759944300 27608964 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=27608964 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276089641759944300 27608965 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=27608965 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276089651759944300 27608966 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=27608966 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388260831: '1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523569_0.png', 1388261003: '1759944207_5476_1388260848_905a41c57ad3ec0703d07a44222b3647_rle_crop_3989524734_0.png', 1388261004: '1759944207_5476_1388260799_958355787bad621eac8ac992e75482b0_rle_crop_3989524782_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/bb339bfb870fb2b402b3d7a7f450f460_74483195.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c34f2c85a3238c661974b35cdf680948_17955126.png change filename to text .imagette276089661759944300/ imagette276089661759944300/1759944207_5476_1388260799_958355787bad621eac8ac992e75482b0_rle_crop_3989524782_0.png.png imagette276089661759944300/1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523569_0.png.png imagette276089661759944300/1759944207_5476_1388260848_905a41c57ad3ec0703d07a44222b3647_rle_crop_3989524734_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c34f2c85a3238c661974b35cdf680948_34202841.png imagette276089661759944300 27608967 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=27608967 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388260689: '1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522457_0.png', 1388260773: '1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523046_0.png', 1388260774: '1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523051_0.png', 1388260912: '1759944087_4192112_1388260734_7ece87cd09ba140b3e9b5873e13b9330_rle_crop_3989524169_0.png', 1388260913: '1759944087_4192112_1388260734_7ece87cd09ba140b3e9b5873e13b9330_rle_crop_3989524170_0.png', 1388260914: '1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524188_0.png', 1388260915: '1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524189_0.png', 1388260916: '1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524192_0.png', 1388260917: '1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524237_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/5a47855a9b62ccf2082f1d7ea6362193_30369804.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/fac2ec8222ced67a6ca6cbe926481d8a_93885623.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/b30505690c83b8cb5df15906214877c9_71761939.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/ea4f724febbfc80b9321f909e3628f44_43498280.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/47e28436964a0add803b5ac0afbe7b7c_10047640.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/199aeab4c86044e8fa81cca8093cdb71_97171289.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/36a12a9b811e69edcefd7b9fff25e330_37442412.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/0117aa075de0cead5d855aa41b5703e3_36532396.png change filename to text .imagette276089671759944300/ imagette276089671759944300/1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523051_0.png.png imagette276089671759944300/1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524189_0.png.png imagette276089671759944300/1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524188_0.png.png imagette276089671759944300/1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522457_0.png.png imagette276089671759944300/1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524237_0.png.png imagette276089671759944300/1759944087_4192112_1388260734_7ece87cd09ba140b3e9b5873e13b9330_rle_crop_3989524169_0.png.png imagette276089671759944300/1759944087_4192112_1388260734_7ece87cd09ba140b3e9b5873e13b9330_rle_crop_3989524170_0.png.png imagette276089671759944300/1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523046_0.png.png imagette276089671759944300/1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524192_0.png.png imagette276089711759944301/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/152cb4f1b504f284d9d161fa0e5c3b8c_76029084.png imagette276089671759944300 27608971 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=27608971 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276089711759944301 27608974 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=27608974 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388260767: '1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523023_0.png', 1388260768: '1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523024_0.png', 1388260769: '1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523039_0.png', 1388260910: '1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524152_0.png', 1388260989: '1759944187_5077_1388260944_2f26efd5f45bef8485824279f26423e0_rle_crop_3989524526_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/9850300ba77ce616e346f4a968acc1a7_93147625.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/85c521b0fcd273e16ffde3aca410ebc8_12154274.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/cee01541bac687c9457784cec17e871c_77373699.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/19f7e9236227ca3b696f523847ca96ef_53027351.png change filename to text .imagette276089741759944301/ imagette276089741759944301/1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523023_0.png.png imagette276089741759944301/1759944187_5077_1388260944_2f26efd5f45bef8485824279f26423e0_rle_crop_3989524526_0.png.png imagette276089741759944301/1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523039_0.png.png imagette276089741759944301/1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523024_0.png.png imagette276089741759944301/1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524152_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/cf8d81feedb8eb6143eae7d5e388bd63_69898484.png imagette276089741759944301 27608970 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=27608970 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388260685: '1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522462_0.png', 1388260761: '1759943943_4184502_1388260641_15a06d5186a960cfe434ce2aaa296b45_rle_crop_3989523010_0.png', 1388260762: '1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523022_0.png', 1388260763: '1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523021_0.png', 1388260764: '1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523043_0.png', 1388260901: '1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524156_0.png', 1388260902: '1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524155_0.png', 1388260903: '1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524186_0.png', 1388260904: '1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524191_0.png', 1388260905: '1759944087_4192112_1388260725_88b3987c5e86df83eeebf2a3fff50329_rle_crop_3989524208_0.png', 1388260906: '1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524241_0.png', 1388260907: '1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524249_0.png', 1388261002: '1759944207_5476_1388260827_8658cdd8079fa5099d461a0629cd7666_rle_crop_3989524753_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/a7083a86601b1b23ff71c008abbf3675_46673464.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/373fef735e29c804cba57706f19140b2_35927009.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/0a93df8e702387baad1325f34949c75c_52307018.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/5bc14224e0f7bf3b956448bcf0ca5729_72937084.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/1610bffc6b58fc32deba628752c74436_1402812.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/353bf409deb969933e390e8397744aa2_66430663.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c5ea1c0375c0d8e42bf0d4fc80dec39c_86145109.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/01b3589abb2dbe42ec3439d586dea375_11604364.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/b653ff9a89cae7d54387a7f006b642f5_61688848.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/ee3266db9fda65e0b79d1c74f8c5ade2_77393009.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/f609dcad685b3171aa8c7fc4d82bfce0_88659241.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/8a71daca3431c2f384a5170c86f586bf_52585250.png change filename to text .imagette276089701759944301/ imagette276089701759944301/1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524241_0.png.png imagette276089701759944301/1759944207_5476_1388260827_8658cdd8079fa5099d461a0629cd7666_rle_crop_3989524753_0.png.png imagette276089701759944301/1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524249_0.png.png imagette276089701759944301/1759943943_4184502_1388260641_15a06d5186a960cfe434ce2aaa296b45_rle_crop_3989523010_0.png.png imagette276089701759944301/1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524155_0.png.png imagette276089701759944301/1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524191_0.png.png imagette276089701759944301/1759944087_4192112_1388260729_d19d5bc19d67e98ee6d2ef0f724a32a3_rle_crop_3989524186_0.png.png imagette276089701759944301/1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524156_0.png.png imagette276089701759944301/1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522462_0.png.png imagette276089701759944301/1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523021_0.png.png imagette276089701759944301/1759944087_4192112_1388260725_88b3987c5e86df83eeebf2a3fff50329_rle_crop_3989524208_0.png.png imagette276089701759944301/1759943943_4184502_1388260632_cfa329af7f64471ea1308e74e1f83dc3_rle_crop_3989523043_0.png.png imagette276089701759944301/1759943943_4184502_1388260636_6936be81eab0880b64197d4ccc4a10f2_rle_crop_3989523022_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/3e4890c6d829ac5e1ebe40f8f6e6fe2c_70412757.png imagette276089701759944301 27608972 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=27608972 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388260687: '1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522455_0.png', 1388260688: '1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522458_0.png', 1388260770: '1759943943_4184502_1388260646_ae7c346fa74101a6e6a587bd272b1e96_rle_crop_3989522994_0.png', 1388260771: '1759943943_4184502_1388260641_15a06d5186a960cfe434ce2aaa296b45_rle_crop_3989523008_0.png', 1388260834: '1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523571_0.png', 1388260836: '1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523575_0.png', 1388260838: '1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523570_0.png', 1388261005: '1759944207_5476_1388260855_ab0a72448200f2ae12cdfa45fd7d1b7b_rle_crop_3989524728_0.png', 1388261006: '1759944207_5476_1388260827_8658cdd8079fa5099d461a0629cd7666_rle_crop_3989524754_0.png', 1388261007: '1759944207_5476_1388260800_6e9c6936506a25c8fd556773e7172843_rle_crop_3989524776_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/d6d48026628fc88916e4069e67a159da_10214862.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/7410109874052c0c1347662a968ae5c2_61864647.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/7d77a550b2567494511612926a921918_83682729.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/d65cfa0496156deecaab5af71467dc08_28837703.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/4dabc772df29ee71284328695b48b31f_64558333.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/25001172b75c79773fd0e3349a960c3a_55013920.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/3da5c24a7d4c300fe8638ffcbf1e1068_77676822.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/5f10bba00a9c419f8b9015895dece74c_74520166.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/bbbc87190e462ed4d395c09eaee9e7a6_84364682.png change filename to text .imagette276089721759944302/ imagette276089721759944302/1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523575_0.png.png imagette276089721759944302/1759944207_5476_1388260800_6e9c6936506a25c8fd556773e7172843_rle_crop_3989524776_0.png.png imagette276089721759944302/1759943943_4184502_1388260646_ae7c346fa74101a6e6a587bd272b1e96_rle_crop_3989522994_0.png.png imagette276089721759944302/1759943943_4184502_1388260641_15a06d5186a960cfe434ce2aaa296b45_rle_crop_3989523008_0.png.png imagette276089721759944302/1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522458_0.png.png imagette276089721759944302/1759944207_5476_1388260827_8658cdd8079fa5099d461a0629cd7666_rle_crop_3989524754_0.png.png imagette276089721759944302/1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523571_0.png.png imagette276089721759944302/1759944207_5476_1388260855_ab0a72448200f2ae12cdfa45fd7d1b7b_rle_crop_3989524728_0.png.png imagette276089721759944302/1759944065_4191273_1388260656_cc5d70aea1a38b56a9721385f50225e2_rle_crop_3989523570_0.png.png imagette276089721759944302/1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522455_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/5f10bba00a9c419f8b9015895dece74c_81787122.png imagette276089721759944302 27608973 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=27608973 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388260686: '1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522460_0.png', 1388260766: '1759943943_4184502_1388260646_ae7c346fa74101a6e6a587bd272b1e96_rle_crop_3989522990_0.png', 1388260908: '1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524153_0.png', 1388260909: '1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524248_0.png', 1388260987: '1759944187_5077_1388260944_2f26efd5f45bef8485824279f26423e0_rle_crop_3989524524_0.png', 1388260988: '1759944187_5077_1388260823_7e70e5d342150832369efaa19dfe64f5_rle_crop_3989524550_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/8f3b9aa8269dc5a6a49ebc6c1d4d0ff7_67970780.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/f845de1bcf4ad0b21d541d5ff57c0615_5389733.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/e2982712f007351e54df4723b7d3cdd3_34083316.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/961fc87159b657abf1d0e0a299305aa9_62439045.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/2d14c90472a3ba0a53f6989e434a291c_11015290.png change filename to text .imagette276089731759944303/ imagette276089731759944303/1759944087_4192112_1388260757_45e196aeac2038522e939153735f4a6a_rle_crop_3989524153_0.png.png imagette276089731759944303/1759944087_4192112_1388260723_cac78774d0d815edc90ab0ca0e4f68f8_rle_crop_3989524248_0.png.png imagette276089731759944303/1759943943_4184502_1388260646_ae7c346fa74101a6e6a587bd272b1e96_rle_crop_3989522990_0.png.png imagette276089731759944303/1759944187_5077_1388260944_2f26efd5f45bef8485824279f26423e0_rle_crop_3989524524_0.png.png imagette276089731759944303/1759943844_4179100_1388260593_cf0d1813cc1b059329450abd4917f46a_rle_crop_3989522460_0.png.png imagette276089731759944303/1759944187_5077_1388260823_7e70e5d342150832369efaa19dfe64f5_rle_crop_3989524550_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/7a47686fec2ab701a879a7e96ee5b879_92724932.png imagette276089731759944303 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27608960 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27608999,27609000,27609001,27609002,27609003,27609004,27609005,27609006,27609007,27609008,27609009,27609010?tags=kraft,mal_croppe,metal,autre_refus,plastique,environnement,papier,Teint_Dans_La_Masse,flou,Carton_brun,Carton_gris,cartonnette your option no_mail is active, we will not send the real mail to your client args[1388261019] : ('0.06518037882633816',) no score found for photo 1388261019 We are sending mail with results at report@fotonower.com args[1388261016] : ('0.06518037882633816',) no score found for photo 1388261016 We are sending mail with results at report@fotonower.com args[1388261013] : ('0.06518037882633816',) no score found for photo 1388261013 We are sending mail with results at report@fotonower.com args[1388261010] : ('0.06518037882633816',) no score found for photo 1388261010 We are sending mail with results at report@fotonower.com args[1388260983] : ('0.06518037882633816',) no score found for photo 1388260983 We are sending mail with results at report@fotonower.com args[1388260980] : ('0.06518037882633816',) no score found for photo 1388260980 We are sending mail with results at report@fotonower.com args[1388260978] : ('0.06518037882633816',) no score found for photo 1388260978 We are sending mail with results at report@fotonower.com args[1388260974] : ('0.06518037882633816',) no score found for photo 1388260974 We are sending mail with results at report@fotonower.com refus_total : 0.06518037882633816 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=27608960 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_P27608960_08-10-2025_19_25_00.pdf results_Auto_P27608960_08-10-2025_19_25_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_25_00.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','27608960','results_Auto_P27608960_08-10-2025_19_25_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_25_00.pdf','pdf','','0.19','0.06518037882633816') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27608960]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] map_info['map_portfolio_photo'] : {27608960: [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974, 1388260944, 1388260911, 1388260898, 1388260865, 1388260855, 1388260848, 1388260827, 1388260825, 1388260823, 1388260806, 1388260803, 1388260801, 1388260800, 1388260799, 1388260757, 1388260753, 1388260751, 1388260737, 1388260734, 1388260729, 1388260725, 1388260723, 1388260656, 1388260646, 1388260641, 1388260636, 1388260632, 1388260593, 1388260591, 1388260589]} final : False mtd_id 4302 list_pids : [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] 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, '3887285') ('4302', '27608960', '1388261019', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261016', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261013', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261010', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260983', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260980', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260978', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260974', None, None, None, None, None, '3887285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 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', '27608960', '1388261019', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261016', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261013', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261010', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260983', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260980', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260978', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260974', None, None, None, None, None, '3887285')] time used for this insertion : 0.03560662269592285 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.101825714111328 time spend to save output : 0.035808563232421875 total time spend for step 4 : 5.13763427734375 step5:split_time_score Wed Oct 8 19:25: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 : ['27608960'] 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 : [('27608960',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27608960) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388260980: {'path': 'temp/1759944299_411143_1388260980_aa605f01e2d16c42038240596b8fafa9.jpg', 'extension': 'jpg'}, 1388260983: {'path': 'temp/1759944299_411143_1388260983_d03159e7a968e5d8f17629d1a533f5f9.jpg', 'extension': 'jpg'}, 1388260974: {'path': 'temp/1759944299_411143_1388260974_fd45990845e55326f7d5f24e372fc77d.jpg', 'extension': 'jpg'}, 1388260978: {'path': 'temp/1759944299_411143_1388260978_26aa161bf5b547e34901d057f3da7733.jpg', 'extension': 'jpg'}, 1388261010: {'path': 'temp/1759944299_411143_1388261010_9f3defc9796be9ac29df4b84d9190821.jpg', 'extension': 'jpg'}, 1388261013: {'path': 'temp/1759944299_411143_1388261013_f760739bec1cb30f389027eb0bd8086d.jpg', 'extension': 'jpg'}, 1388261016: {'path': 'temp/1759944299_411143_1388261016_ef8c38ab8a5bb115f06f926bcde1708e.jpg', 'extension': 'jpg'}, 1388261019: {'path': 'temp/1759944299_411143_1388261019_263275d700c320ded1d22874fbbef8d6.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 = 27608960; (('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 = 27608960 group by h (('19', 38),) 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=27608960 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 (27608960) 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 (27608960) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08102025 27608960 Nombre de photos uploadées : 38 / 23040 (0%) 08102025 27608960 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 08102025 27608960 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1388260593, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/cf0d1813cc1b059329450abd4917f46a.jpg', 'username': None, 'uploaded_at': 1759943767, 'text': 'image_08102025_19_15_04_010152m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388260591, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/00c0b213d34e3df7def7eaf0d68f3fb0.jpg', 'username': None, 'uploaded_at': 1759943767, 'text': 'image_08102025_19_15_15_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388260589, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/603c42c8f3d9058114063dc0cdd93a5d.jpg', 'username': None, 'uploaded_at': 1759943767, 'text': 'image_08102025_19_15_44_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388260656, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/cc5d70aea1a38b56a9721385f50225e2.jpg', 'username': None, 'uploaded_at': 1759943832, 'text': 'image_08102025_19_15_54_010141m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018355846405029297 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27608960, '2025-10-08' ) 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-08' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2407133,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6774861812591553 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= 2407133 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27570631, 'dashboard_result_id': 16137344, '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_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27570709, 'dashboard_result_id': 16137345, '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_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27570914, 'dashboard_result_id': 16137346, '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_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27571567, 'dashboard_result_id': 16137347, '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_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27571642, 'dashboard_result_id': 16137348, '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_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27571858, 'dashboard_result_id': 16137349, '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_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27572099, 'dashboard_result_id': 16137350, '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_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27572479, 'dashboard_result_id': 16137351, '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_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27572540, 'dashboard_result_id': 16137352, '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_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27572709, 'dashboard_result_id': 16137353, '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_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27572825, 'dashboard_result_id': 16137354, '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_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27573623, 'dashboard_result_id': 16137355, '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_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27573806, 'dashboard_result_id': 16137356, '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_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27574080, 'dashboard_result_id': 16137357, '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_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27574493, 'dashboard_result_id': 16137358, '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_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27574915, 'dashboard_result_id': 16137359, '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_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27575448, 'dashboard_result_id': 16137360, '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_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27575977, 'dashboard_result_id': 16137361, '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_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27576419, 'dashboard_result_id': 16137362, '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_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27576741, 'dashboard_result_id': 16137363, '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_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27577488, 'dashboard_result_id': 16137364, '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_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27578065, 'dashboard_result_id': 16137365, '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_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27578618, 'dashboard_result_id': 16137366, '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_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27579031, 'dashboard_result_id': 16137367, '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_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27579676, 'dashboard_result_id': 16137368, '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_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27580231, 'dashboard_result_id': 16137369, '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_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27580884, 'dashboard_result_id': 16137370, '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_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27582329, 'dashboard_result_id': 16137371, '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_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27582718, 'dashboard_result_id': 16137372, '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_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27583297, 'dashboard_result_id': 16137373, '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_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27584475, 'dashboard_result_id': 16137374, '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_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27585601, 'dashboard_result_id': 16137375, '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_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27586735, 'dashboard_result_id': 16137376, '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_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27587655, 'dashboard_result_id': 16137377, '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_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27588770, 'dashboard_result_id': 16137378, '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_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27589876, 'dashboard_result_id': 16137379, '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_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27591042, 'dashboard_result_id': 16137380, '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_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27592015, 'dashboard_result_id': 16137381, '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_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27596112, 'dashboard_result_id': 16137382, '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_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27596722, 'dashboard_result_id': 16137383, '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_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27597213, 'dashboard_result_id': 16137384, '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_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27597939, 'dashboard_result_id': 16137385, '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_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27598818, 'dashboard_result_id': 16137386, '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_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27599617, 'dashboard_result_id': 16137387, '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_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27600623, 'dashboard_result_id': 16137388, '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_P27600623_08-10-2025_15_19_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27600648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27600649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27600650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27600651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27600652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27600653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27600654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27600655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27600656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27600657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27600658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27600659, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27601402, 'dashboard_result_id': 16137389, '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_P27601402_08-10-2025_15_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27601472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27601473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27601474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27601475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27601476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27601477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27601478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27601479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27601480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27601481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27601482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27601483, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27602207, 'dashboard_result_id': 16137390, '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_P27602207_08-10-2025_17_59_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27602229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27602230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27602231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27602232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27602233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27602234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27602235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27602236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27602237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27602238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27602239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27602240, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27603970, 'dashboard_result_id': 16137391, '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_P27603970_08-10-2025_18_00_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604031, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27603566, 'dashboard_result_id': 16137392, '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_P27603566_08-10-2025_16_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603583, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27603402, 'dashboard_result_id': 16137393, '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_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27603716, 'dashboard_result_id': 16137394, '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_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27604223, 'dashboard_result_id': 16137395, '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_P27604223_08-10-2025_17_05_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27604733, 'dashboard_result_id': 16137396, '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_P27604733_08-10-2025_17_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604769, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27605269, 'dashboard_result_id': 16137397, '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_P27605269_08-10-2025_17_54_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27605304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27605305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27605306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27605307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27605308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27605309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27605310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27605311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27605312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27605313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27605314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27605315, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27606584, 'dashboard_result_id': 16137398, '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_P27606584_08-10-2025_18_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27606587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27606588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27606589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27606590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27606591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27606592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27606593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27606594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27606595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27606596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27606597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27606598, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27607068, 'dashboard_result_id': 16137399, '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_P27607068_08-10-2025_18_34_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607084, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27607489, 'dashboard_result_id': 16137400, '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_P27607489_08-10-2025_18_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27607494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607505, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27607964, 'dashboard_result_id': 16137401, '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_P27607964_08-10-2025_19_03_26.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607981, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27608425, 'dashboard_result_id': 16137402, '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_P27608425_08-10-2025_19_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608437, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2418209, 'mtr_portfolio_id': 27608960, 'dashboard_result_id': 16137403, '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_P27608960_08-10-2025_19_23_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608974, '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 = 27570631 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 = 27570631 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 = 27570631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570631 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 = 27570631 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 = 27570631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570631 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_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}" where mtr_portfolio_id = 27570631 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570709 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_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}" where mtr_portfolio_id = 27570709 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570914 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_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}" where mtr_portfolio_id = 27570914 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571567 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_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}" where mtr_portfolio_id = 27571567 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571642 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_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}" where mtr_portfolio_id = 27571642 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571858 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_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}" where mtr_portfolio_id = 27571858 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572099 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_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}" where mtr_portfolio_id = 27572099 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572479 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_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}" where mtr_portfolio_id = 27572479 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572540 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_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}" where mtr_portfolio_id = 27572540 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572709 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_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}" where mtr_portfolio_id = 27572709 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572825 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_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}" where mtr_portfolio_id = 27572825 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573623 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_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}" where mtr_portfolio_id = 27573623 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573806 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_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}" where mtr_portfolio_id = 27573806 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574080 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_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}" where mtr_portfolio_id = 27574080 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574493 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_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}" where mtr_portfolio_id = 27574493 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574915 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_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}" where mtr_portfolio_id = 27574915 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575448 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_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}" where mtr_portfolio_id = 27575448 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575977 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_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}" where mtr_portfolio_id = 27575977 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576419 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_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}" where mtr_portfolio_id = 27576419 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576741 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_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}" where mtr_portfolio_id = 27576741 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27577488 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_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}" where mtr_portfolio_id = 27577488 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578065 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_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}" where mtr_portfolio_id = 27578065 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578618 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_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}" where mtr_portfolio_id = 27578618 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579031 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_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}" where mtr_portfolio_id = 27579031 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579676 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_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}" where mtr_portfolio_id = 27579676 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580231 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_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}" where mtr_portfolio_id = 27580231 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580884 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_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}" where mtr_portfolio_id = 27580884 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582329 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_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}" where mtr_portfolio_id = 27582329 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582718 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': 3883604, 'mtr_portfolio_id': 27582718, 'created_at': datetime.datetime(2025, 10, 8, 10, 3, 30), 'result': '0.019757631340325408', 'result_long': None, 'result_double': None}] Qualite : 0.019757631340325408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27582718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582718 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_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}" where mtr_portfolio_id = 27582718 and dashboard_run_id = 2418209 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`=27582718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137372, 0.019757631340325408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, '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 = 27583297 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': 3883800, 'mtr_portfolio_id': 27583297, 'created_at': datetime.datetime(2025, 10, 8, 10, 19, 24), 'result': '0.06915000976527785', 'result_long': None, 'result_double': None}] Qualite : 0.06915000976527785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27583297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27583297 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_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}" where mtr_portfolio_id = 27583297 and dashboard_run_id = 2418209 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`=27583297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137373, 0.06915000976527785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, '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 = 27584475 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': 3883952, 'mtr_portfolio_id': 27584475, 'created_at': datetime.datetime(2025, 10, 8, 10, 33, 2), 'result': '0.05922128890929629', 'result_long': None, 'result_double': None}] Qualite : 0.05922128890929629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27584475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27584475 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_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}" where mtr_portfolio_id = 27584475 and dashboard_run_id = 2418209 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`=27584475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137374, 0.05922128890929629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, '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 = 27585601 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': 3884165, 'mtr_portfolio_id': 27585601, 'created_at': datetime.datetime(2025, 10, 8, 10, 49), 'result': '0.045017058698008205', 'result_long': None, 'result_double': None}] Qualite : 0.045017058698008205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27585601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27585601 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_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}" where mtr_portfolio_id = 27585601 and dashboard_run_id = 2418209 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`=27585601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137375, 0.045017058698008205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, '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 = 27586735 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': 3884344, 'mtr_portfolio_id': 27586735, 'created_at': datetime.datetime(2025, 10, 8, 11, 4, 59), 'result': '0.04302911545524617', 'result_long': None, 'result_double': None}] Qualite : 0.04302911545524617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27586735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27586735 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_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}" where mtr_portfolio_id = 27586735 and dashboard_run_id = 2418209 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`=27586735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137376, 0.04302911545524617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, '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 = 27587655 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': 3884426, 'mtr_portfolio_id': 27587655, 'created_at': datetime.datetime(2025, 10, 8, 11, 19, 26), 'result': '0.037767543284158676', 'result_long': None, 'result_double': None}] Qualite : 0.037767543284158676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27587655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27587655 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_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}" where mtr_portfolio_id = 27587655 and dashboard_run_id = 2418209 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`=27587655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137377, 0.037767543284158676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, '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 = 27588770 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': 3884509, 'mtr_portfolio_id': 27588770, 'created_at': datetime.datetime(2025, 10, 8, 11, 33, 32), 'result': '0.05614687729208558', 'result_long': None, 'result_double': None}] Qualite : 0.05614687729208558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27588770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27588770 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_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}" where mtr_portfolio_id = 27588770 and dashboard_run_id = 2418209 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`=27588770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137378, 0.05614687729208558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, '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 = 27589876 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': 3884874, 'mtr_portfolio_id': 27589876, 'created_at': datetime.datetime(2025, 10, 8, 11, 47, 5), 'result': '0.04306909769730264', 'result_long': None, 'result_double': None}] Qualite : 0.04306909769730264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27589876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27589876 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_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}" where mtr_portfolio_id = 27589876 and dashboard_run_id = 2418209 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`=27589876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137379, 0.04306909769730264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, '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 = 27591042 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': 3885025, 'mtr_portfolio_id': 27591042, 'created_at': datetime.datetime(2025, 10, 8, 12, 5), 'result': '0.03804122737603823', 'result_long': None, 'result_double': None}] Qualite : 0.03804122737603823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27591042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27591042 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_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}" where mtr_portfolio_id = 27591042 and dashboard_run_id = 2418209 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`=27591042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137380, 0.03804122737603823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, '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 = 27592015 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': 3885159, 'mtr_portfolio_id': 27592015, 'created_at': datetime.datetime(2025, 10, 8, 14, 1, 5), 'result': '0.026623661315220214', 'result_long': None, 'result_double': None}] Qualite : 0.026623661315220214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27592015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27592015 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_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}" where mtr_portfolio_id = 27592015 and dashboard_run_id = 2418209 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`=27592015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137381, 0.026623661315220214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, '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 = 27596112 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': 3885485, 'mtr_portfolio_id': 27596112, 'created_at': datetime.datetime(2025, 10, 8, 13, 49, 25), 'result': '0.03616330670330915', 'result_long': None, 'result_double': None}] Qualite : 0.03616330670330915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596112 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_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}" where mtr_portfolio_id = 27596112 and dashboard_run_id = 2418209 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`=27596112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137382, 0.03616330670330915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, '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 = 27596722 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': 3885518, 'mtr_portfolio_id': 27596722, 'created_at': datetime.datetime(2025, 10, 8, 14, 2, 30), 'result': '0.05226452392431788', 'result_long': None, 'result_double': None}] Qualite : 0.05226452392431788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596722 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_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}" where mtr_portfolio_id = 27596722 and dashboard_run_id = 2418209 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`=27596722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137383, 0.05226452392431788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, '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 = 27597213 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': 3885566, 'mtr_portfolio_id': 27597213, 'created_at': datetime.datetime(2025, 10, 8, 14, 18, 3), 'result': '0.047841645043801215', 'result_long': None, 'result_double': None}] Qualite : 0.047841645043801215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597213 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_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}" where mtr_portfolio_id = 27597213 and dashboard_run_id = 2418209 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`=27597213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137384, 0.047841645043801215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, '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 = 27597939 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': 3885661, 'mtr_portfolio_id': 27597939, 'created_at': datetime.datetime(2025, 10, 8, 14, 33, 3), 'result': '0.0576736527518991', 'result_long': None, 'result_double': None}] Qualite : 0.0576736527518991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597939 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_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}" where mtr_portfolio_id = 27597939 and dashboard_run_id = 2418209 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`=27597939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137385, 0.0576736527518991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, '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 = 27598818 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': 3885801, 'mtr_portfolio_id': 27598818, 'created_at': datetime.datetime(2025, 10, 8, 14, 47, 1), 'result': '0.04741846765055205', 'result_long': None, 'result_double': None}] Qualite : 0.04741846765055205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27598818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27598818 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_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, 'pht': 3726}}" where mtr_portfolio_id = 27598818 and dashboard_run_id = 2418209 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`=27598818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137386, 0.04741846765055205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, '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 = 27599617 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': 3885928, 'mtr_portfolio_id': 27599617, 'created_at': datetime.datetime(2025, 10, 8, 15, 5, 1), 'result': '0.04467187989463263', 'result_long': None, 'result_double': None}] Qualite : 0.04467187989463263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27599617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27599617 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_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, 'pht': 3726}}" where mtr_portfolio_id = 27599617 and dashboard_run_id = 2418209 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`=27599617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137387, 0.04467187989463263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, '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 = 27600623 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': 3886058, 'mtr_portfolio_id': 27600623, 'created_at': datetime.datetime(2025, 10, 8, 15, 19, 3), 'result': '0.04477483069304709', 'result_long': None, 'result_double': None}] Qualite : 0.04477483069304709 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27600623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27600623_08-10-2025_15_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27600623 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_P27600623_08-10-2025_15_19_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27600648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27600649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27600650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27600651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27600652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27600653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27600654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27600655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27600656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27600657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27600658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27600659, 'pht': 3726}}" where mtr_portfolio_id = 27600623 and dashboard_run_id = 2418209 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`=27600623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137388, 0.04477483069304709, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27600623_08-10-2025_15_19_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27600648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27600649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27600650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27600651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27600652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27600653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27600654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27600655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27600656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27600657, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27600658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27600659, '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 = 27601402 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': 3886196, 'mtr_portfolio_id': 27601402, 'created_at': datetime.datetime(2025, 10, 8, 15, 33), 'result': '0.06185312321457659', 'result_long': None, 'result_double': None}] Qualite : 0.06185312321457659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27601402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27601402_08-10-2025_15_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27601402 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_P27601402_08-10-2025_15_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27601472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27601473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27601474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27601475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27601476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27601477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27601478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27601479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27601480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27601481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27601482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27601483, 'pht': 3726}}" where mtr_portfolio_id = 27601402 and dashboard_run_id = 2418209 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`=27601402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137389, 0.06185312321457659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27601402_08-10-2025_15_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27601472, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27601473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27601474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27601475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27601476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27601477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27601478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27601479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27601480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27601481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27601482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27601483, '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 = 27602207 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': 3886280, 'mtr_portfolio_id': 27602207, 'created_at': datetime.datetime(2025, 10, 8, 17, 59, 28), 'result': '0.07750506909065354', 'result_long': None, 'result_double': None}] Qualite : 0.07750506909065354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27602207 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27602207_08-10-2025_17_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27602207 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_P27602207_08-10-2025_17_59_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27602229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27602230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27602231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27602232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27602233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27602234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27602235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27602236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27602237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27602238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27602239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27602240, 'pht': 3726}}" where mtr_portfolio_id = 27602207 and dashboard_run_id = 2418209 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`=27602207 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137390, 0.07750506909065354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27602207_08-10-2025_17_59_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27602229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27602230, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27602231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27602232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27602233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27602234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27602235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27602236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27602237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27602238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27602239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27602240, '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 = 27603970 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 = 27603970 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 = 27603970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603970 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 = 27603970 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 = 27603970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603970_08-10-2025_18_00_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603970 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_P27603970_08-10-2025_18_00_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604029, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604030, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604031, 'pht': 3726}}" where mtr_portfolio_id = 27603970 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603566 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 = 27603566 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 = 27603566 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603566 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 = 27603566 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 = 27603566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603566_08-10-2025_16_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603566 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_P27603566_08-10-2025_16_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603583, 'pht': 3726}}" where mtr_portfolio_id = 27603566 and dashboard_run_id = 2418209 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603402 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': 3886336, 'mtr_portfolio_id': 27603402, 'created_at': datetime.datetime(2025, 10, 8, 16, 35, 33), 'result': '0.06955059295411097', 'result_long': None, 'result_double': None}] Qualite : 0.06955059295411097 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27603402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603402 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_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, 'pht': 3726}}" where mtr_portfolio_id = 27603402 and dashboard_run_id = 2418209 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`=27603402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137393, 0.06955059295411097, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, '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 = 27603716 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': 3886393, 'mtr_portfolio_id': 27603716, 'created_at': datetime.datetime(2025, 10, 8, 16, 49, 29), 'result': '0.05815530728484656', 'result_long': None, 'result_double': None}] Qualite : 0.05815530728484656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27603716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603716 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_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, 'pht': 3726}}" where mtr_portfolio_id = 27603716 and dashboard_run_id = 2418209 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`=27603716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137394, 0.05815530728484656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, '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 = 27604223 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': 3886515, 'mtr_portfolio_id': 27604223, 'created_at': datetime.datetime(2025, 10, 8, 17, 5, 26), 'result': '0.04124886514178371', 'result_long': None, 'result_double': None}] Qualite : 0.04124886514178371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27604223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_17_05_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27604223 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_P27604223_08-10-2025_17_05_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, 'pht': 3726}}" where mtr_portfolio_id = 27604223 and dashboard_run_id = 2418209 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`=27604223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137395, 0.04124886514178371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_17_05_27.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, '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 = 27604733 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': 3886708, 'mtr_portfolio_id': 27604733, 'created_at': datetime.datetime(2025, 10, 8, 17, 17, 3), 'result': '0.04538715470565654', 'result_long': None, 'result_double': None}] Qualite : 0.04538715470565654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27604733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604733_08-10-2025_17_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27604733 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_P27604733_08-10-2025_17_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604769, 'pht': 3726}}" where mtr_portfolio_id = 27604733 and dashboard_run_id = 2418209 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`=27604733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137396, 0.04538715470565654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604733_08-10-2025_17_17_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27604761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604765, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604768, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604769, '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 = 27605269 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': 3886788, 'mtr_portfolio_id': 27605269, 'created_at': datetime.datetime(2025, 10, 8, 17, 54, 33), 'result': '0.04683569861072005', 'result_long': None, 'result_double': None}] Qualite : 0.04683569861072005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27605269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27605269_08-10-2025_17_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27605269 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_P27605269_08-10-2025_17_54_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27605304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27605305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27605306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27605307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27605308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27605309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27605310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27605311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27605312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27605313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27605314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27605315, 'pht': 3726}}" where mtr_portfolio_id = 27605269 and dashboard_run_id = 2418209 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`=27605269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137397, 0.04683569861072005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27605269_08-10-2025_17_54_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27605304, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27605305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27605306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27605307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27605308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27605309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27605310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27605311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27605312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27605313, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27605314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27605315, '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 = 27606584 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': 3887024, 'mtr_portfolio_id': 27606584, 'created_at': datetime.datetime(2025, 10, 8, 18, 19), 'result': '0.058039014734152065', 'result_long': None, 'result_double': None}] Qualite : 0.058039014734152065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27606584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27606584_08-10-2025_18_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27606584 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_P27606584_08-10-2025_18_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27606587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27606588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27606589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27606590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27606591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27606592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27606593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27606594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27606595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27606596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27606597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27606598, 'pht': 3726}}" where mtr_portfolio_id = 27606584 and dashboard_run_id = 2418209 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`=27606584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137398, 0.058039014734152065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27606584_08-10-2025_18_19_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27606587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27606588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27606589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27606590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27606591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27606592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27606593, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27606594, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27606595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27606596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27606597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27606598, '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 = 27607068 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': 3887075, 'mtr_portfolio_id': 27607068, 'created_at': datetime.datetime(2025, 10, 8, 18, 34, 30), 'result': '0.05490564902491305', 'result_long': None, 'result_double': None}] Qualite : 0.05490564902491305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27607068 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607068_08-10-2025_18_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27607068 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_P27607068_08-10-2025_18_34_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607084, 'pht': 3726}}" where mtr_portfolio_id = 27607068 and dashboard_run_id = 2418209 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`=27607068 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137399, 0.05490564902491305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607068_08-10-2025_18_34_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607073, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607084, '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 = 27607489 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': 3887122, 'mtr_portfolio_id': 27607489, 'created_at': datetime.datetime(2025, 10, 8, 18, 49, 4), 'result': '0.06121485195910283', 'result_long': None, 'result_double': None}] Qualite : 0.06121485195910283 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27607489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607489_08-10-2025_18_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27607489 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_P27607489_08-10-2025_18_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27607494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607505, 'pht': 3726}}" where mtr_portfolio_id = 27607489 and dashboard_run_id = 2418213 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`=27607489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137400, 0.06121485195910283, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607489_08-10-2025_18_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27607494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607505, '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 = 27607964 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': 3887180, 'mtr_portfolio_id': 27607964, 'created_at': datetime.datetime(2025, 10, 8, 19, 3, 25), 'result': '0.04830409771078138', 'result_long': None, 'result_double': None}] Qualite : 0.04830409771078138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27607964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607964_08-10-2025_19_03_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27607964 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_P27607964_08-10-2025_19_03_26.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607981, 'pht': 3726}}" where mtr_portfolio_id = 27607964 and dashboard_run_id = 2418213 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`=27607964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137401, 0.04830409771078138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27607964_08-10-2025_19_03_26.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27607970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27607971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27607972, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27607973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27607974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27607975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27607976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27607977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27607978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27607979, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27607980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27607981, '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 = 27608425 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': 3887240, 'mtr_portfolio_id': 27608425, 'created_at': datetime.datetime(2025, 10, 8, 19, 19, 4), 'result': '0.050595427030624196', 'result_long': None, 'result_double': None}] Qualite : 0.050595427030624196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27608425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608425_08-10-2025_19_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27608425 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_P27608425_08-10-2025_19_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608437, 'pht': 3726}}" where mtr_portfolio_id = 27608425 and dashboard_run_id = 2418213 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`=27608425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137402, 0.050595427030624196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608425_08-10-2025_19_19_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608429, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608437, '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 = 27608960 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': 3887285, 'mtr_portfolio_id': 27608960, 'created_at': datetime.datetime(2025, 10, 8, 19, 24, 59), 'result': '0.06518037882633816', 'result_long': None, 'result_double': None}] Qualite : 0.06518037882633816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27608960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_25_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27608960 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_P27608960_08-10-2025_19_25_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608974, 'pht': 3726}}" where mtr_portfolio_id = 27608960 and dashboard_run_id = 2418213 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`=27608960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16137403, 0.06518037882633816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27608960_08-10-2025_19_25_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27608963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27608964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27608965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27608966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27608967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27608968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27608969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27608970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27608971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27608972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27608973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27608974, '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 (27570631,27570709,27570914,27571567,27571642,27571858,27572099,27572479,27572540,27572709,27572825,27573623,27573806,27574080,27574493,27574915,27575448,27575977,27576419,27576741,27577488,27578065,27578618,27579031,27579676,27580231,27580884,27582329,27582718,27583297,27584475,27585601,27586735,27587655,27588770,27589876,27591042,27592015,27596112,27596722,27597213,27597939,27598818,27599617,27600623,27601402,27602207,27603970,27603566,27603402,27603716,27604223,27604733,27605269,27606584,27607068,27607489,27607964,27608425,27608960) result : ((1388030203,), (1388030204,), (1388030257,), (1388030272,), (1388030287,), (1388030301,), (1388030302,), (1388030331,), (1388030367,), (1388030368,), (1388030410,), (1388030425,), (1388030500,), (1388030502,), (1388030528,), (1388030537,), (1388030567,), (1388030569,), (1388030666,), (1388031677,), (1388031679,), (1388031704,), (1388031706,), (1388031714,), (1388032212,), (1388032262,), (1388032485,), (1388032591,), (1388032686,), (1388032688,), (1388037828,), (1388039875,), (1388039894,), (1388039901,), (1388039919,), (1388039936,), (1388039938,), (1388039946,), (1388039957,), (1388039973,), (1388039975,), (1388039994,), (1388040043,), (1388041267,), (1388041988,), (1388042042,), (1388042506,), (1388042766,), (1388043408,), (1388043662,), (1388043664,), (1388044761,), (1388045393,), (1388045375,), (1388045442,), (1388046013,), (1388046143,), (1388046546,), (1388046548,), (1388046686,), (1388046705,), (1388046875,), (1388047797,), (1388047881,), (1388047899,), (1388047918,), (1388048176,), (1388048317,), (1388048380,), (1388048397,), (1388048952,), (1388048955,), (1388049264,), (1388051245,), (1388051356,), (1388051359,), (1388051374,), (1388051749,), (1388051799,), (1388052353,), (1388052593,), (1388052590,), (1388053815,), (1388054084,), (1388054120,), (1388054257,), (1388054273,), (1388055217,), (1388055220,), (1388055223,), (1388055225,), (1388055526,), (1388055531,), (1388055633,), (1388055630,), (1388056016,), (1388056457,), (1388056722,), (1388056822,), (1388056824,), (1388056827,), (1388056838,), (1388056841,), (1388056844,), (1388056860,), (1388056879,), (1388056881,), (1388056900,), (1388056917,), (1388056920,), (1388056926,), (1388056951,), (1388056967,), (1388056973,), (1388057480,), (1388057847,), (1388057850,), (1388058157,), (1388058326,), (1388058360,), (1388058363,), (1388058545,), (1388058601,), (1388059519,), (1388059524,), (1388059528,), (1388060995,), (1388068696,), (1388068710,), (1388069029,), (1388069073,), (1388069251,), (1388069293,), (1388069304,), (1388069372,), (1388069375,), (1388069378,), (1388069381,), (1388069391,), (1388069394,), (1388069400,), (1388069402,), (1388069409,), (1388069411,), (1388069413,), (1388069416,), (1388069426,), (1388069429,), (1388069488,), (1388069535,), (1388069575,), (1388070048,), (1388070092,), (1388070133,), (1388070135,), (1388070139,), (1388070142,), (1388070148,), (1388070151,), (1388070157,), (1388070165,), (1388070210,), (1388070410,), (1388070449,), (1388070455,), (1388070470,), (1388070474,), (1388070479,), (1388070483,), (1388070486,), (1388070489,), (1388070922,), (1388070696,), (1388070736,), (1388070777,), (1388070822,), (1388070876,), (1388071121,), (1388071123,), (1388071124,), (1388071127,), (1388071312,), (1388071366,), (1388071369,), (1388071396,), (1388071399,), (1388071402,), (1388071763,), (1388071807,), (1388071848,), (1388071871,), (1388071912,), (1388071954,), (1388072001,), (1388072051,), (1388072059,), (1388072113,), (1388072114,), (1388072115,), (1388072118,), (1388072122,), (1388072127,), (1388072130,), (1388072133,), (1388072136,), (1388072141,), (1388072142,), (1388072145,), (1388072148,), (1388072150,), (1388072152,), (1388072165,), (1388072170,), (1388072176,), (1388072180,), (1388072222,), (1388072223,), (1388072225,), (1388072227,), (1388072230,), (1388072234,), (1388072237,), (1388072239,), (1388072240,), (1388072243,), (1388072251,), (1388072252,), (1388072254,), (1388072256,), (1388072258,), (1388072261,), (1388072266,), (1388072269,), (1388072273,), (1388072275,), (1388072285,), (1388072286,), (1388072287,), (1388072289,), (1388072291,), (1388072293,), (1388072609,), (1388072652,), (1388072691,), (1388072736,), (1388073079,), (1388073067,), (1388073068,), (1388073069,), (1388073071,), (1388073077,), (1388073084,), (1388073086,), (1388073089,), (1388073091,), (1388073418,), (1388073419,), (1388073425,), (1388073427,), (1388073441,), (1388073522,), (1388073526,), (1388073527,), (1388073529,), (1388073532,), (1388073537,), (1388073538,), (1388073539,), (1388073541,), (1388073543,), (1388073549,), (1388073551,), (1388073552,), (1388073590,), (1388073632,), (1388073676,), (1388074005,), (1388074052,), (1388074099,), (1388074148,), (1388074176,), (1388074181,), (1388074183,), (1388074184,), (1388074231,), (1388074276,), (1388074319,), (1388074412,), (1388074418,), (1388074462,), (1388074478,), (1388074526,), (1388074528,), (1388074530,), (1388074558,), (1388074605,), (1388074647,), (1388074969,), (1388075011,), (1388075055,), (1388075060,), (1388075063,), (1388075069,), (1388075104,), (1388075157,), (1388075200,), (1388075246,), (1388075263,), (1388075340,), (1388075343,), (1388075348,), (1388075351,), (1388075641,), (1388075689,), (1388075730,), (1388075732,), (1388075735,), (1388075737,), (1388075826,), (1388075867,), (1388075907,), (1388075912,), (1388075915,), (1388075991,), (1388075981,), (1388075983,), (1388075985,), (1388075987,), (1388075989,), (1388075996,), (1388075998,), (1388076000,), (1388076004,), (1388076008,), (1388076017,), (1388076019,), (1388076020,), (1388076022,), (1388076024,), (1388076213,), (1388076256,), (1388076315,), (1388076362,), (1388076405,), (1388076413,), (1388076533,), (1388076550,), (1388076566,), (1388076576,), (1388076594,), (1388076597,), (1388076601,), (1388076604,), (1388076606,), (1388076609,), (1388076611,), (1388076618,), (1388076619,), (1388076620,), (1388076622,), (1388076624,), (1388076625,), (1388076629,), (1388076631,), (1388076633,), (1388076635,), (1388076636,), (1388076637,), (1388076639,), (1388076640,), (1388076641,), (1388076646,), (1388076648,), (1388076651,), (1388076792,), (1388076839,), (1388076883,), (1388076928,), (1388076970,), (1388077015,), (1388077068,), (1388077113,), (1388077170,), (1388077209,), (1388077277,), (1388077279,), (1388077280,), (1388077282,), (1388077284,), (1388077286,), (1388077294,), (1388077295,), (1388077296,), (1388077305,), (1388077307,), (1388077308,), (1388077310,), (1388077312,), (1388077564,), (1388077612,), (1388077664,), (1388077711,), (1388077835,), (1388077837,), (1388077838,), (1388077839,), (1388077840,), (1388077841,), (1388077842,), (1388077844,), (1388077846,), (1388077848,), (1388078009,), (1388078047,), (1388078064,), (1388078090,), (1388078102,), (1388078106,), (1388078007,), (1388078117,), (1388078118,), (1388078119,), (1388078121,), (1388078123,), (1388078134,), (1388078136,), (1388078137,), (1388078139,), (1388078140,), (1388078142,), (1388078151,), (1388078154,), (1388078157,), (1388078160,), (1388078165,), (1388078166,), (1388078170,), (1388078172,), (1388078174,), (1388078176,), (1388078180,), (1388078181,), (1388078183,), (1388078186,), (1388078194,), (1388078195,), (1388078198,), (1388078200,), (1388078203,), (1388078425,), (1388078472,), (1388078521,), (1388078550,), (1388078552,), (1388078650,), (1388078690,), (1388078699,), (1388078701,), (1388078732,), (1388078768,), (1388078770,), (1388078771,), (1388078773,), (1388078775,), (1388078782,), (1388078783,), (1388078785,), (1388078787,), (1388078789,), (1388078794,), (1388078796,), (1388078797,), (1388078800,), (1388078802,), (1388079081,), (1388079125,), (1388079148,), (1388079151,), (1388079154,), (1388079282,), (1388079305,), (1388079311,), (1388079314,), (1388079317,), (1388079357,), (1388079349,), (1388079350,), (1388079351,), (1388079354,), (1388079363,), (1388079365,), (1388079367,), (1388079369,), (1388079372,), (1388079577,), (1388079597,), (1388079641,), (1388079651,), (1388079668,), (1388079694,), (1388079696,), (1388079697,), (1388079700,), (1388079702,), (1388079709,), (1388079711,), (1388079713,), (1388079716,), (1388079719,), (1388079722,), (1388079727,), (1388079728,), (1388079729,), (1388079731,), (1388079738,), (1388079739,), (1388079740,), (1388079743,), (1388079746,), (1388079748,), (1388079753,), (1388079755,), (1388079757,), (1388079760,), (1388079763,), (1388080100,), (1388080119,), (1388080121,), (1388080123,), (1388080126,), (1388080128,), (1388080273,), (1388080301,), (1388080304,), (1388080306,), (1388080309,), (1388080316,), (1388080317,), (1388080318,), (1388080320,), (1388080323,), (1388080326,), (1388080330,), (1388080332,), (1388080333,), (1388080335,), (1388080343,), (1388080344,), (1388080346,), (1388080348,), (1388080350,), (1388080352,), (1388080359,), (1388080360,), (1388080361,), (1388080367,), (1388080453,), (1388080493,), (1388080536,), (1388080578,), (1388080625,), (1388080668,), (1388080781,), (1388080823,), (1388080854,), (1388081079,), (1388081082,), (1388081104,), (1388081106,), (1388081024,), (1388081031,), (1388081053,), (1388081054,), (1388081086,), (1388081088,), (1388081090,), (1388081091,), (1388081092,), (1388081094,), (1388081096,), (1388081098,), (1388081100,), (1388081102,), (1388081111,), (1388081113,), (1388081116,), (1388081119,), (1388081123,), (1388081127,), (1388081133,), (1388081135,), (1388081139,), (1388081142,), (1388081352,), (1388081399,), (1388081443,), (1388081563,), (1388081608,), (1388081649,), (1388081826,), (1388081847,), (1388081891,), (1388081916,), (1388081973,), (1388081974,), (1388081976,), (1388081979,), (1388081982,), (1388081984,), (1388081990,), (1388081991,), (1388081992,), (1388082002,), (1388082003,), (1388082005,), (1388082007,), (1388082009,), (1388082012,), (1388082024,), (1388082025,), (1388082026,), (1388082029,), (1388082032,), (1388082034,), (1388082044,), (1388082045,), (1388082046,), (1388082055,), (1388082057,), (1388082059,), (1388082061,), (1388082063,), (1388082066,), (1388082071,), (1388082072,), (1388082073,), (1388082075,), (1388082083,), (1388082085,), (1388082086,), (1388082089,), (1388082092,), (1388082094,), (1388082106,), (1388082098,), (1388082099,), (1388082100,), (1388082102,), (1388082104,), (1388082117,), (1388082119,), (1388082120,), (1388082122,), (1388082130,), (1388082132,), (1388082135,), (1388082138,), (1388082140,), (1388082143,), (1388082148,), (1388082150,), (1388082152,), (1388082157,), (1388082161,), (1388082168,), (1388082169,), (1388082170,), (1388082173,), (1388082181,), (1388082183,), (1388082184,), (1388082187,), (1388082195,), (1388082196,), (1388082197,), (1388082200,), (1388082203,), (1388082241,), (1388082470,), (1388082472,), (1388082497,), (1388082571,), (1388083076,), (1388083118,), (1388083161,), (1388083204,), (1388083245,), (1388083296,), (1388083645,), (1388083690,), (1388083733,), (1388083745,), (1388083748,), (1388083753,), (1388083763,), (1388083765,), (1388083766,), (1388083805,), (1388083854,), (1388084198,), (1388084206,), (1388084208,), (1388084211,), (1388084214,), (1388084248,), (1388084411,), (1388084415,), (1388084418,), (1388084421,), (1388084423,), (1388084427,), (1388084428,), (1388084429,), (1388084432,), (1388084456,), (1388084467,), (1388084469,), (1388084470,), (1388084471,), (1388084446,), (1388084448,), (1388084450,), (1388084452,), (1388084454,), (1388084457,), (1388084459,), (1388084461,), (1388084463,), (1388084465,), (1388084474,), (1388084477,), (1388084480,), (1388084483,), (1388084487,), (1388084492,), (1388084494,), (1388084495,), (1388084497,), (1388084711,), (1388084756,), (1388084804,), (1388084848,), (1388084890,), (1388084935,), (1388085290,), (1388085312,), (1388085315,), (1388085317,), (1388085319,), (1388085459,), (1388085462,), (1388085484,), (1388085523,), (1388085628,), (1388085668,), (1388085705,), (1388085749,), (1388085791,), (1388085829,), (1388085930,), (1388085940,), (1388085957,), (1388085981,), (1388085990,), (1388085992,), (1388085993,), (1388085997,), (1388086000,), (1388086002,), (1388086006,), (1388086008,), (1388086010,), (1388086013,), (1388086017,), (1388086026,), (1388086028,), (1388086030,), (1388086032,), (1388086035,), (1388086037,), (1388086041,), (1388086042,), (1388086061,), (1388086064,), (1388086067,), (1388086073,), (1388086074,), (1388086084,), (1388086087,), (1388086089,), (1388086094,), (1388086098,), (1388086115,), (1388086105,), (1388086106,), (1388086108,), (1388086110,), (1388086113,), (1388086120,), (1388086122,), (1388086124,), (1388086128,), (1388086132,), (1388086139,), (1388086141,), (1388086142,), (1388086144,), (1388086146,), (1388086162,), (1388086163,), (1388086165,), (1388086168,), (1388086171,), (1388086173,), (1388086178,), (1388086179,), (1388086182,), (1388086184,), (1388086186,), (1388086188,), (1388086194,), (1388086196,), (1388086198,), (1388086200,), (1388086202,), (1388086204,), (1388086205,), (1388086206,), (1388086207,), (1388086209,), (1388086211,), (1388086212,), (1388086215,), (1388086218,), (1388086220,), (1388086222,), (1388086223,), (1388086224,), (1388086225,), (1388086227,), (1388086228,), (1388086230,), (1388086238,), (1388086239,), (1388086241,), (1388086243,), (1388086245,), (1388086247,), (1388086248,), (1388086249,), (1388086251,), (1388086252,), (1388086255,), (1388086258,), (1388086259,), (1388086261,), (1388086263,), (1388086266,), (1388086279,), (1388086280,), (1388086281,), (1388086285,), (1388086302,), (1388086305,), (1388086307,), (1388086310,), (1388086312,), (1388086314,), (1388086316,), (1388086318,), (1388086320,), (1388086324,), (1388086325,), (1388086326,), (1388086334,), (1388086337,), (1388086338,), (1388086341,), (1388086343,), (1388086345,), (1388086370,), (1388086349,), (1388086353,), (1388086364,), (1388086366,), (1388086368,), (1388086376,), (1388086380,), (1388086382,), (1388086385,), (1388086392,), (1388086393,), (1388086395,), (1388086398,), (1388086400,), (1388086408,), (1388086410,), (1388086917,), (1388087106,), (1388087107,), (1388087108,), (1388087110,), (1388087112,), (1388087118,), (1388087120,), (1388087131,), (1388087142,), (1388087143,), (1388087145,), (1388087152,), (1388087154,), (1388087155,), (1388087157,), (1388087355,), (1388087491,), (1388087534,), (1388087579,), (1388087629,), (1388088137,), (1388087960,), (1388088005,), (1388088051,), (1388088104,), (1388088142,), (1388088143,), (1388088144,), (1388088152,), (1388088154,), (1388088155,), (1388088186,), (1388088580,), (1388088593,), (1388088739,), (1388088741,), (1388088743,), (1388088746,), (1388088748,), (1388088750,), (1388088755,), (1388088757,), (1388088764,), (1388088768,), (1388088772,), (1388088774,), (1388088775,), (1388088778,), (1388088781,), (1388088783,), (1388088788,), (1388088790,), (1388088792,), (1388088795,), (1388088798,), (1388088804,), (1388088806,), (1388088807,), (1388088810,), (1388088813,), (1388088815,), (1388088827,), (1388088830,), (1388088833,), (1388089058,), (1388089103,), (1388089143,), (1388089194,), (1388089240,), (1388089665,), (1388089711,), (1388089754,), (1388089809,), (1388089826,), (1388089850,), (1388089890,), (1388089932,), (1388089979,), (1388089999,), (1388090001,), (1388090218,), (1388090263,), (1388090313,), (1388090594,), (1388090588,), (1388090591,), (1388090702,), (1388090704,), (1388090706,), (1388090709,), (1388090712,), (1388090716,), (1388090722,), (1388090724,), (1388090728,), (1388090733,), (1388090738,), (1388090744,), (1388090746,), (1388090749,), (1388090753,), (1388090755,), (1388090757,), (1388090761,), (1388090763,), (1388090765,), (1388090769,), (1388090773,), (1388090785,), (1388090786,), (1388090788,), (1388090791,), (1388090793,), (1388090795,), (1388090800,), (1388090807,), (1388090815,), (1388090819,), (1388091058,), (1388091099,), (1388091147,), (1388091193,), (1388091237,), (1388091448,), (1388091450,), (1388091451,), (1388091455,), (1388091499,), (1388091542,), (1388092076,), (1388092095,), (1388092104,), (1388092106,), (1388092109,), (1388092111,), (1388092114,), (1388092155,), (1388092198,), (1388092238,), (1388092291,), (1388092292,), (1388092294,), (1388092295,), (1388092296,), (1388092299,), (1388092309,), (1388092311,), (1388092314,), (1388092355,), (1388092397,), (1388092446,), (1388092511,), (1388092513,), (1388092517,), (1388092546,), (1388092575,), (1388092606,), (1388092608,), (1388092610,), (1388092615,), (1388092617,), (1388092619,), (1388092621,), (1388092623,), (1388092626,), (1388092629,), (1388092630,), (1388092633,), (1388092636,), (1388092652,), (1388092647,), (1388092648,), (1388092649,), (1388092664,), (1388092666,), (1388092667,), (1388092669,), (1388092672,), (1388092675,), (1388092685,), (1388092687,), (1388092690,), (1388092733,), (1388092777,), (1388093005,), (1388093008,), (1388093047,), (1388093091,), (1388093098,), (1388093144,), (1388093145,), (1388093147,), (1388093150,), (1388093153,), (1388093156,), (1388093163,), (1388093164,), (1388093166,), (1388093169,), (1388093188,), (1388093190,), (1388093192,), (1388093196,), (1388093198,), (1388093200,), (1388093207,), (1388093210,), (1388093213,), (1388093216,), (1388093218,), (1388093220,), (1388093225,), (1388093228,), (1388093230,), (1388093234,), (1388093238,), (1388093241,), (1388093245,), (1388093247,), (1388093254,), (1388093255,), (1388093256,), (1388093259,), (1388093262,), (1388093282,), (1388093284,), (1388093286,), (1388093290,), (1388093293,), (1388093307,), (1388093310,), (1388093314,), (1388093318,), (1388093321,), (1388093323,), (1388093333,), (1388093335,), (1388093336,), (1388093340,), (1388093352,), (1388093355,), (1388093358,), (1388093361,), (1388093366,), (1388093369,), (1388093384,), (1388093386,), (1388093388,), (1388093391,), (1388093406,), (1388093409,), (1388093411,), (1388093415,), (1388093418,), (1388093422,), (1388093825,), (1388093681,), (1388093740,), (1388093783,), (1388094048,), (1388094052,), (1388094057,), (1388094061,), (1388094121,), (1388094167,), (1388094302,), (1388094305,), (1388094308,), (1388094312,), (1388094565,), (1388094606,), (1388094650,), (1388094696,), (1388094732,), (1388094735,), (1388094843,), (1388094845,), (1388094871,), (1388094886,), (1388094909,), (1388094910,), (1388094911,), (1388094914,), (1388094917,), (1388094919,), (1388094926,), (1388094939,), (1388094942,), (1388094945,), (1388094947,), (1388094952,), (1388094953,), (1388094956,), (1388094960,), (1388094963,), (1388094965,), (1388094969,), (1388094971,), (1388094973,), (1388094976,), (1388094983,), (1388095019,), (1388095067,), (1388095111,), (1388095159,), (1388095208,), (1388095510,), (1388095511,), (1388095513,), (1388095515,), (1388095644,), (1388095645,), (1388095647,), (1388095649,), (1388095652,), (1388095654,), (1388095664,), (1388095666,), (1388095667,), (1388095677,), (1388095678,), (1388095679,), (1388095710,), (1388095750,), (1388095796,), (1388096094,), (1388096097,), (1388096098,), (1388096102,), (1388096273,), (1388096264,), (1388096265,), (1388096268,), (1388096271,), (1388096299,), (1388096340,), (1388096384,), (1388096427,), (1388096545,), (1388096547,), (1388096548,), (1388096550,), (1388096552,), (1388096554,), (1388096558,), (1388096576,), (1388096579,), (1388096582,), (1388096585,), (1388096590,), (1388096591,), (1388096593,), (1388096595,), (1388096597,), (1388096599,), (1388096602,), (1388096603,), (1388096604,), (1388096606,), (1388096608,), (1388096622,), (1388096624,), (1388096627,), (1388096630,), (1388096632,), (1388096635,), (1388096643,), (1388096646,), (1388096648,), (1388096650,), (1388096651,), (1388096652,), (1388096656,), (1388096658,), (1388096661,), (1388096663,), (1388096665,), (1388096667,), (1388096668,), (1388096669,), (1388096671,), (1388096675,), (1388096678,), (1388096680,), (1388096682,), (1388096684,), (1388096687,), (1388096690,), (1388096703,), (1388096706,), (1388096709,), (1388096711,), (1388096716,), (1388096717,), (1388096718,), (1388096728,), (1388096730,), (1388096732,), (1388096734,), (1388096737,), (1388096981,), (1388097063,), (1388097146,), (1388097231,), (1388097321,), (1388097424,), (1388098012,), (1388098016,), (1388098019,), (1388098041,), (1388101067,), (1388101069,), (1388101084,), (1388101087,), (1388101089,), (1388101093,), (1388101097,), (1388101107,), (1388101108,), (1388101116,), (1388101147,), (1388101188,), (1388101231,), (1388101634,), (1388101635,), (1388101636,), (1388101638,), (1388101661,), (1388101709,), (1388101756,), (1388101758,), (1388101759,), (1388101762,), (1388101775,), (1388101777,), (1388101780,), (1388101814,), (1388101815,), (1388101824,), (1388101826,), (1388101829,), (1388101831,), (1388101845,), (1388101848,), (1388101851,), (1388101856,), (1388101862,), (1388101875,), (1388101889,), (1388101890,), (1388101893,), (1388101912,), (1388101913,), (1388101915,), (1388101919,), (1388101923,), (1388101933,), (1388101935,), (1388101936,), (1388101940,), (1388101944,), (1388101947,), (1388101961,), (1388101952,), (1388101953,), (1388101954,), (1388101957,), (1388101970,), (1388101972,), (1388101973,), (1388101976,), (1388101980,), (1388101983,), (1388102210,), (1388102252,), (1388102282,), (1388102320,), (1388102342,), (1388102369,), (1388102370,), (1388102372,), (1388102375,), (1388102378,), (1388102380,), (1388102384,), (1388102386,), (1388102389,), (1388102393,), (1388102394,), (1388102396,), (1388102399,), (1388102400,), (1388102401,), (1388102402,), (1388102435,), (1388102436,), (1388102437,), (1388102439,), (1388102441,), (1388102443,), (1388102449,), (1388102450,), (1388102452,), (1388102454,), (1388102456,), (1388102457,), (1388102458,), (1388102460,), (1388102464,), (1388102466,), (1388102469,), (1388102471,), (1388102473,), (1388102474,), (1388102476,), (1388102477,), (1388102479,), (1388102482,), (1388102485,), (1388102491,), (1388102499,), (1388102510,), (1388102513,), (1388102517,), (1388102527,), (1388102528,), (1388102529,), (1388102532,), (1388102544,), (1388102546,), (1388102550,), (1388102553,), (1388103019,), (1388103040,), (1388103042,), (1388103772,), (1388103732,), (1388103758,), (1388103760,), (1388103762,), (1388103767,), (1388103859,), (1388103925,), (1388103983,), (1388103995,), (1388104448,), (1388104449,), (1388104450,), (1388104452,), (1388104456,), (1388104681,), (1388104682,), (1388104683,), (1388104686,), (1388104689,), (1388104692,), (1388104848,), (1388104865,), (1388104868,), (1388104871,), (1388105307,), (1388105308,), (1388105422,), (1388105484,), (1388105516,), (1388105542,), (1388105622,), (1388105623,), (1388105627,), (1388105629,), (1388105673,), (1388105689,), (1388105832,), (1388105891,), (1388105895,), (1388105898,), (1388107265,), (1388107267,), (1388107380,), (1388107383,), (1388107390,), (1388108535,), (1388108536,), (1388108538,), (1388108765,), (1388108804,), (1388108881,), (1388109013,), (1388109016,), (1388109020,), (1388109037,), (1388109043,), (1388109153,), (1388109520,), (1388109570,), (1388109616,), (1388109665,), (1388110383,), (1388110447,), (1388110470,), (1388110473,), (1388110477,), (1388110711,), (1388110725,), (1388110744,), (1388110749,), (1388110751,), (1388110805,), (1388110809,), (1388110920,), (1388110933,), (1388110947,), (1388111041,), (1388111010,), (1388111011,), (1388111014,), (1388111019,), (1388111022,), (1388111686,), (1388111689,), (1388111699,), (1388112238,), (1388112244,), (1388112347,), (1388112373,), (1388112397,), (1388112410,), (1388113071,), (1388113074,), (1388113087,), (1388113090,), (1388113518,), (1388113539,), (1388113540,), (1388113543,), (1388113548,), (1388113552,), (1388113990,), (1388114044,), (1388114103,), (1388114161,), (1388114208,), (1388114639,), (1388114681,), (1388114725,), (1388114734,), (1388114738,), (1388115002,), (1388115206,), (1388115247,), (1388115298,), (1388115378,), (1388115420,), (1388115583,), (1388115585,), (1388115587,), (1388115590,), (1388115594,), (1388115643,), (1388115644,), (1388115647,), (1388115769,), (1388115770,), (1388115771,), (1388116204,), (1388116205,), (1388116339,), (1388116389,), (1388116440,), (1388116466,), (1388116499,), (1388116501,), (1388116850,), (1388116949,), (1388116953,), (1388116962,), (1388117026,), (1388117015,), (1388117017,), (1388117018,), (1388117022,), (1388117024,), (1388117082,), (1388117083,), (1388117084,), (1388117092,), (1388117463,), (1388117514,), (1388117517,), (1388117520,), (1388117524,), (1388117532,), (1388117563,), (1388117572,), (1388117583,), (1388117831,), (1388117849,), (1388117860,), (1388117871,), (1388117881,), (1388117889,), (1388117896,), (1388117897,), (1388117898,), (1388117902,), (1388117929,), (1388117944,), (1388117951,), (1388117968,), (1388118053,), (1388118090,), (1388118278,), (1388118309,), (1388118310,), (1388118314,), (1388118463,), (1388118468,), (1388118528,), (1388118531,), (1388118536,), (1388118549,), (1388118593,), (1388118597,), (1388118599,), (1388118603,), (1388118629,), (1388118675,), (1388118745,), (1388118748,), (1388118756,), (1388118891,), (1388119058,), (1388119059,), (1388119062,), (1388119064,), (1388119072,), (1388119080,), (1388119088,), (1388119091,), (1388119100,), (1388119102,), (1388119104,), (1388119106,), (1388119127,), (1388119130,), (1388119132,), (1388119135,), (1388119200,), (1388119203,), (1388119208,), (1388119211,), (1388119233,), (1388119241,), (1388119243,), (1388119245,), (1388119247,), (1388119249,), (1388119614,), (1388119618,), (1388119620,), (1388119623,), (1388119934,), (1388119924,), (1388119927,), (1388119931,), (1388120098,), (1388120100,), (1388120113,), (1388120118,), (1388120243,), (1388120261,), (1388120279,), (1388120290,), (1388120297,), (1388120477,), (1388120672,), (1388120674,), (1388120676,), (1388120679,), (1388120682,), (1388121519,), (1388121520,), (1388121522,), (1388121525,), (1388121533,), (1388122238,), (1388122240,), (1388122306,), (1388122334,), (1388122339,), (1388122346,), (1388122386,), (1388122397,), (1388122401,), (1388122405,), (1388123909,), (1388123926,), (1388123931,), (1388123935,), (1388123971,), (1388124252,), (1388124259,), (1388124305,), (1388124319,), (1388124322,), (1388124326,), (1388124527,), (1388124529,), (1388124558,), (1388124563,), (1388124576,), (1388125398,), (1388125410,), (1388125529,), (1388125533,), (1388125584,), (1388125589,), (1388125661,), (1388125694,), (1388125699,), (1388125861,), (1388125893,), (1388125924,), (1388125962,), (1388125997,), (1388126553,), (1388126704,), (1388126710,), (1388126976,), (1388126980,), (1388126985,), (1388126988,), (1388126992,), (1388127495,), (1388127666,), (1388127676,), (1388127679,), (1388127684,), (1388128914,), (1388128956,), (1388128987,), (1388129020,), (1388129066,), (1388129110,), (1388128743,), (1388128757,), (1388128833,), (1388128913,), (1388128960,), (1388128963,), (1388128966,), (1388128968,), (1388128971,), (1388128980,), (1388129306,), (1388129307,), (1388129392,), (1388129401,), (1388129486,), (1388129487,), (1388129540,), (1388129544,), (1388129669,), (1388129735,), (1388130251,), (1388130301,), (1388130446,), (1388130501,), (1388130517,), (1388130537,), (1388130575,), (1388130591,), (1388130635,), (1388130696,), (1388131327,), (1388131346,), (1388131371,), (1388131383,), (1388131387,), (1388131403,), (1388131406,), (1388131433,), (1388131552,), (1388131704,), (1388131705,), (1388131733,), (1388131737,), (1388131757,), (1388131759,), (1388131766,), (1388131768,), (1388131770,), (1388132060,), (1388132215,), (1388132391,), (1388132392,), (1388132404,), (1388132406,), (1388132409,), (1388132411,), (1388132864,), (1388132866,), (1388132868,), (1388133040,), (1388133286,), (1388133697,), (1388133719,), (1388133721,), (1388133725,), (1388133727,), (1388133729,), (1388133743,), (1388133745,), (1388133746,), (1388133749,), (1388133752,), (1388133754,), (1388134750,), (1388134791,), (1388134798,), (1388134816,), (1388134823,), (1388135200,), (1388135569,), (1388135576,), (1388135579,), (1388135641,), (1388136067,), (1388135967,), (1388135972,), (1388135974,), (1388136001,), (1388136259,), (1388136274,), (1388136277,), (1388136285,), (1388136297,), (1388136300,), (1388136301,), (1388136303,), (1388136312,), (1388136315,), (1388136317,), (1388136494,), (1388136513,), (1388136525,), (1388136529,), (1388136587,), (1388136588,), (1388136649,), (1388136653,), (1388136656,), (1388136658,), (1388138028,), (1388138100,), (1388138101,), (1388138104,), (1388138509,), (1388138510,), (1388138511,), (1388138513,), (1388138516,), (1388138518,), (1388138723,), (1388138776,), (1388138895,), (1388138995,), (1388139127,), (1388139128,), (1388139129,), (1388139132,), (1388139136,), (1388139139,), (1388139351,), (1388139392,), (1388139433,), (1388139478,), (1388140113,), (1388140158,), (1388140214,), (1388140262,), (1388140305,), (1388140730,), (1388140889,), (1388141103,), (1388141111,), (1388141115,), (1388141305,), (1388141307,), (1388141316,), (1388141361,), (1388141419,), (1388141925,), (1388141941,), (1388142248,), (1388142906,), (1388142954,), (1388144105,), (1388144123,), (1388144151,), (1388144214,), (1388146442,), (1388146087,), (1388146089,), (1388146213,), (1388146221,), (1388146406,), (1388146729,), (1388146730,), (1388146766,), (1388146818,), (1388146943,), (1388146945,), (1388146972,), (1388146974,), (1388146994,), (1388146997,), (1388147001,), (1388147003,), (1388147116,), (1388147118,), (1388147137,), (1388147167,), (1388147175,), (1388147230,), (1388147322,), (1388147331,), (1388147349,), (1388147405,), (1388147419,), (1388147421,), (1388147424,), (1388147429,), (1388147495,), (1388147499,), (1388147522,), (1388147526,), (1388148672,), (1388148854,), (1388148863,), (1388148868,), (1388148881,), (1388148885,), (1388149707,), (1388149753,), (1388149758,), (1388149762,), (1388149765,), (1388149819,), (1388149824,), (1388149826,), (1388149827,), (1388149940,), (1388149942,), (1388150239,), (1388150243,), (1388150244,), (1388150254,), (1388150272,), (1388150276,), (1388150330,), (1388150332,), (1388150480,), (1388150523,), (1388150525,), (1388150527,), (1388150531,), (1388150533,), (1388150609,), (1388150616,), (1388150625,), (1388150626,), (1388150693,), (1388150695,), (1388150696,), (1388150710,), (1388150714,), (1388150815,), (1388150871,), (1388150874,), (1388150876,), (1388150943,), (1388150949,), (1388150954,), (1388150958,), (1388150962,), (1388150965,), (1388150988,), (1388150991,), (1388150992,), (1388150996,), (1388151082,), (1388151075,), (1388151077,), (1388151079,), (1388151112,), (1388151117,), (1388151119,), (1388151122,), (1388151206,), (1388152154,), (1388152156,), (1388152157,), (1388152159,), (1388152433,), (1388152444,), (1388152483,), (1388152486,), (1388152489,), (1388152505,), (1388152638,), (1388152664,), (1388152686,), (1388154218,), (1388154229,), (1388154235,), (1388154243,), (1388154246,), (1388154532,), (1388154545,), (1388154550,), (1388154553,), (1388154558,), (1388154625,), (1388154642,), (1388154644,), (1388154646,), (1388154798,), (1388154800,), (1388154802,), (1388154806,), (1388154889,), (1388155288,), (1388155516,), (1388155653,), (1388155686,), (1388155738,), (1388155787,), (1388155823,), (1388155835,), (1388155848,), (1388155851,), (1388155855,), (1388155858,), (1388155946,), (1388155970,), (1388155991,), (1388155995,), (1388156001,), (1388156003,), (1388156014,), (1388156026,), (1388156027,), (1388156030,), (1388156963,), (1388157371,), (1388157948,), (1388158107,), (1388158111,), (1388158126,), (1388158155,), (1388158179,), (1388158883,), (1388158926,), (1388159243,), (1388159311,), (1388159426,), (1388159437,), (1388159479,), (1388159211,), (1388159213,), (1388159218,), (1388159220,), (1388159222,), (1388159255,), (1388159270,), (1388159274,), (1388159277,), (1388159280,), (1388159521,), (1388159525,), (1388159559,), (1388159568,), (1388159595,), (1388159607,), (1388159918,), (1388160141,), (1388160145,), (1388160150,), (1388160474,), (1388160477,), (1388160479,), (1388160488,), (1388160492,), (1388160520,), (1388160521,), (1388160522,), (1388160711,), (1388160713,), (1388160725,), (1388160729,), (1388160733,), (1388160736,), (1388161582,), (1388161584,), (1388161650,), (1388161958,), (1388161960,), (1388161966,), (1388161973,), (1388161981,), (1388162015,), (1388195380,), (1388196327,), (1388196329,), (1388196330,), (1388196752,), (1388196760,), (1388197553,), (1388197556,), (1388198520,), (1388199679,), (1388199684,), (1388199752,), (1388200378,), (1388200643,), (1388200650,), (1388200667,), (1388200672,), (1388200732,), (1388200740,), (1388200746,), (1388200769,), (1388200838,), (1388200821,), (1388200823,), (1388200825,), (1388200828,), (1388200833,), (1388201753,), (1388201769,), (1388201829,), (1388201833,), (1388201974,), (1388201989,), (1388201999,), (1388202014,), (1388202374,), (1388202386,), (1388202581,), (1388202584,), (1388202586,), (1388202591,), (1388202596,), (1388202600,), (1388202612,), (1388202616,), (1388202620,), (1388202624,), (1388202628,), (1388202631,), (1388202917,), (1388202920,), (1388202925,), (1388203045,), (1388203147,), (1388203151,), (1388203154,), (1388203158,), (1388203176,), (1388203180,), (1388203207,), (1388203209,), (1388203211,), (1388203213,), (1388203215,), (1388203220,), (1388203224,), (1388203228,), (1388203233,), (1388203237,), (1388203239,), (1388203242,), (1388203554,), (1388203556,), (1388203660,), (1388203663,), (1388203702,), (1388203730,), (1388203777,), (1388203783,), (1388203799,), (1388203804,), (1388203807,), (1388203811,), (1388203828,), (1388203832,), (1388203836,), (1388203842,), (1388203961,), (1388203964,), (1388203968,), (1388203973,), (1388203977,), (1388204032,), (1388204395,), (1388204639,), (1388204642,), (1388204646,), (1388204651,), (1388205518,), (1388205660,), (1388205666,), (1388205748,), (1388205755,), (1388205765,), (1388205770,), (1388205851,), (1388205834,), (1388205837,), (1388205839,), (1388205843,), (1388205847,), (1388206609,), (1388206614,), (1388206627,), (1388206756,), (1388207257,), (1388207259,), (1388207263,), (1388207268,), (1388207272,), (1388207278,), (1388207307,), (1388207310,), (1388207312,), (1388207462,), (1388207485,), (1388207553,), (1388207556,), (1388207557,), (1388207560,), (1388207565,), (1388207570,), (1388207634,), (1388207637,), (1388207640,), (1388207651,), (1388207667,), (1388207695,), (1388207699,), (1388207893,), (1388208108,), (1388208149,), (1388208155,), (1388208160,), (1388208164,), (1388208172,), (1388208245,), (1388208291,), (1388208310,), (1388208326,), (1388208338,), (1388208350,), (1388208355,), (1388208357,), (1388208360,), (1388208363,), (1388208365,), (1388208401,), (1388208405,), (1388208409,), (1388208411,), (1388208419,), (1388208438,), (1388208455,), (1388208468,), (1388208469,), (1388208470,), (1388208471,), (1388208474,), (1388208477,), (1388208482,), (1388208487,), (1388208498,), (1388208506,), (1388208513,), (1388208527,), (1388208530,), (1388208533,), (1388208540,), (1388208543,), (1388208701,), (1388209380,), (1388209595,), (1388209602,), (1388209605,), (1388209607,), (1388209610,), (1388209614,), (1388209838,), (1388209946,), (1388209943,), (1388209945,), (1388209977,), (1388209990,), (1388210002,), (1388210006,), (1388210011,), (1388210015,), (1388210050,), (1388210051,), (1388210296,), (1388211104,), (1388211897,), (1388211924,), (1388211957,), (1388211998,), (1388212003,), (1388212007,), (1388212070,), (1388212072,), (1388212075,), (1388212079,), (1388212082,), (1388212085,), (1388212089,), (1388212090,), (1388212091,), (1388212094,), (1388212095,), (1388212153,), (1388212158,), (1388212161,), (1388212164,), (1388212166,), (1388212170,), (1388212202,), (1388212203,), (1388212205,), (1388212206,), (1388212208,), (1388212209,), (1388212212,), (1388212213,), (1388212215,), (1388212216,), (1388212218,), (1388212219,), (1388212941,), (1388212942,), (1388212945,), (1388212988,), (1388213035,), (1388213080,), (1388213318,), (1388213389,), (1388213425,), (1388213820,), (1388213912,), (1388213921,), (1388214166,), (1388214168,), (1388214197,), (1388214271,), (1388214296,), (1388214303,), (1388214338,), (1388214368,), (1388214379,), (1388214380,), (1388214385,), (1388214455,), (1388214458,), (1388214461,), (1388214463,), (1388214890,), (1388214893,), (1388214895,), (1388215081,), (1388215089,), (1388215091,), (1388215138,), (1388215142,), (1388215143,), (1388215145,), (1388215150,), (1388215192,), (1388215197,), (1388215198,), (1388215201,), (1388215205,), (1388215954,), (1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,), (1388216132,), (1388216135,), (1388216137,), (1388216140,), (1388216143,), (1388216148,), (1388216208,), (1388216210,), (1388216213,), (1388216217,), (1388216220,), (1388216245,), (1388216252,), (1388216253,), (1388216266,), (1388216271,), (1388216668,), (1388216935,), (1388216937,), (1388216939,), (1388216943,), (1388216952,), (1388217092,), (1388217095,), (1388217096,), (1388217099,), (1388217103,), (1388217486,), (1388217488,), (1388217522,), (1388217530,), (1388217533,), (1388217666,), (1388217669,), (1388217673,), (1388217676,), (1388217678,), (1388217681,), (1388217685,), (1388217686,), (1388217687,), (1388217749,), (1388217757,), (1388217768,), (1388217772,), (1388217773,), (1388217775,), (1388217781,), (1388217782,), (1388217784,), (1388217799,), (1388218009,), (1388218357,), (1388218362,), (1388218376,), (1388218378,), (1388218381,), (1388218862,), (1388218879,), (1388218882,), (1388218950,), (1388219129,), (1388219178,), (1388219267,), (1388219270,), (1388219275,), (1388219277,), (1388219322,), (1388219312,), (1388219318,), (1388219388,), (1388219389,), (1388219390,), (1388219392,), (1388219399,), (1388219416,), (1388219437,), (1388220023,), (1388220053,), (1388220093,), (1388220097,), (1388220100,), (1388220110,), (1388220293,), (1388220310,), (1388220312,), (1388220315,), (1388220364,), (1388220373,), (1388220397,), (1388220401,), (1388220449,), (1388220452,), (1388220811,), (1388221097,), (1388221104,), (1388221142,), (1388221155,), (1388221158,), (1388221161,), (1388221174,), (1388221184,), (1388221186,), (1388221214,), (1388221254,), (1388221291,), (1388221301,), (1388221323,), (1388221327,), (1388221345,), (1388221350,), (1388221358,), (1388221373,), (1388221381,), (1388221386,), (1388221388,), (1388221390,), (1388221492,), (1388221833,), (1388221949,), (1388222030,), (1388222034,), (1388222079,), (1388222117,), (1388222277,), (1388222281,), (1388222285,), (1388222290,), (1388222293,), (1388222306,), (1388222330,), (1388222332,), (1388222347,), (1388222519,), (1388222523,), (1388222526,), (1388222531,), (1388222972,), (1388222986,), (1388222989,), (1388222993,), (1388222998,), (1388223001,), (1388223009,), (1388223081,), (1388223683,), (1388224215,), (1388224300,), (1388224307,), (1388224857,), (1388224881,), (1388225042,), (1388224246,), (1388224257,), (1388224262,), (1388224285,), (1388224708,), (1388224726,), (1388224729,), (1388224732,), (1388224735,), (1388225056,), (1388225132,), (1388225161,), (1388225190,), (1388225196,), (1388225202,), (1388225205,), (1388225906,), (1388225908,), (1388225910,), (1388226087,), (1388226092,), (1388226095,), (1388226246,), (1388226249,), (1388226251,), (1388226254,), (1388226289,), (1388226296,), (1388226299,), (1388226303,), (1388226316,), (1388226323,), (1388226342,), (1388226345,), (1388226348,), (1388226561,), (1388227326,), (1388227328,), (1388227786,), (1388227810,), (1388227812,), (1388227824,), (1388227943,), (1388227952,), (1388228009,), (1388228106,), (1388228109,), (1388228532,), (1388228535,), (1388228538,), (1388228747,), (1388228812,), (1388228840,), (1388228849,), (1388228875,), (1388228893,), (1388228896,), (1388228898,), (1388228903,), (1388228932,), (1388228935,), (1388228974,), (1388228978,), (1388229071,), (1388229060,), (1388229063,), (1388229064,), (1388229067,), (1388229521,), (1388229575,), (1388230994,), (1388231010,), (1388231037,), (1388231558,), (1388231599,), (1388231746,), (1388231754,), (1388231976,), (1388231979,), (1388232019,), (1388232021,), (1388232025,), (1388232028,), (1388232038,), (1388232040,), (1388232043,), (1388232649,), (1388232652,), (1388232654,), (1388232658,), (1388232780,), (1388233032,), (1388233034,), (1388233042,), (1388233046,), (1388233052,), (1388233058,), (1388233147,), (1388233150,), (1388233200,), (1388233203,), (1388233228,), (1388233306,), (1388233308,), (1388233310,), (1388233313,), (1388233420,), (1388233435,), (1388233437,), (1388233468,), (1388233471,), (1388233474,), (1388233498,), (1388233507,), (1388233517,), (1388233521,), (1388233571,), (1388233595,), (1388233597,), (1388233601,), (1388233605,), (1388233608,), (1388233666,), (1388233682,), (1388233684,), (1388233697,), (1388233745,), (1388233749,), (1388233750,), (1388233753,), (1388233756,), (1388233831,), (1388233807,), (1388233820,), (1388233827,), (1388233829,), (1388233830,), (1388233837,), (1388233840,), (1388234002,), (1388234005,), (1388234011,), (1388234013,), (1388234015,), (1388234018,), (1388234022,), (1388234028,), (1388234059,), (1388234062,), (1388234063,), (1388234095,), (1388234173,), (1388234175,), (1388234178,), (1388234182,), (1388234186,), (1388234196,), (1388234211,), (1388234215,), (1388234218,), (1388234222,), (1388234225,), (1388234281,), (1388234311,), (1388234328,), (1388234340,), (1388234453,), (1388234465,), (1388234469,), (1388234473,), (1388234477,), (1388234480,), (1388234505,), (1388234507,), (1388234509,), (1388234512,), (1388240804,), (1388240816,), (1388240820,), (1388240844,), (1388240848,), (1388240925,), (1388240938,), (1388240941,), (1388240943,), (1388240945,), (1388240949,), (1388240996,), (1388240998,), (1388241006,), (1388241009,), (1388241011,), (1388241013,), (1388241027,), (1388241043,), (1388243149,), (1388244251,), (1388244254,), (1388244258,), (1388244397,), (1388244400,), (1388244407,), (1388244408,), (1388244411,), (1388244414,), (1388244416,), (1388244434,), (1388244471,), (1388244472,), (1388236918,), (1388236920,), (1388236922,), (1388236923,), (1388236929,), (1388236949,), (1388236979,), (1388236982,), (1388236983,), (1388236985,), (1388236986,), (1388236987,), (1388236989,), (1388236992,), (1388236995,), (1388236998,), (1388237001,), (1388237004,), (1388237016,), (1388237018,), (1388237023,), (1388237026,), (1388237032,), (1388237036,), (1388237056,), (1388237058,), (1388237061,), (1388237064,), (1388237067,), (1388237070,), (1388237083,), (1388237087,), (1388237090,), (1388237092,), (1388237096,), (1388237099,), (1388237124,), (1388237125,), (1388237129,), (1388237131,), (1388237133,), (1388237134,), (1388237138,), (1388237139,), (1388237146,), (1388237147,), (1388237151,), (1388237152,), (1388237344,), (1388237345,), (1388237411,), (1388237416,), (1388237421,), (1388237425,), (1388237433,), (1388237435,), (1388237589,), (1388237593,), (1388237597,), (1388237615,), (1388237675,), (1388237678,), (1388237698,), (1388237751,), (1388237755,), (1388237158,), (1388237163,), (1388237167,), (1388237170,), (1388237177,), (1388237180,), (1388237184,), (1388237188,), (1388237191,), (1388237194,), (1388237206,), (1388237224,), (1388237236,), (1388237239,), (1388237241,), (1388237250,), (1388237255,), (1388237258,), (1388237280,), (1388237283,), (1388237286,), (1388237289,), (1388237292,), (1388237296,), (1388237349,), (1388237350,), (1388237353,), (1388237354,), (1388237357,), (1388237358,), (1388237369,), (1388237370,), (1388237377,), (1388237378,), (1388237486,), (1388237520,), (1388237531,), (1388237534,), (1388237537,), (1388237542,), (1388237621,), (1388237629,), (1388237761,), (1388237766,), (1388237777,), (1388237779,), (1388237784,), (1388237788,), (1388237886,), (1388237890,), (1388237899,), (1388237905,), (1388237908,), (1388237911,), (1388237914,), (1388237916,), (1388237991,), (1388237992,), (1388237996,), (1388238000,), (1388238005,), (1388238030,), (1388238103,), (1388238104,), (1388238172,), (1388238182,), (1388238186,), (1388238190,), (1388238208,), (1388238210,), (1388238226,), (1388238230,), (1388238233,), (1388238236,), (1388238237,), (1388238239,), (1388238241,), (1388238243,), (1388238245,), (1388238267,), (1388238270,), (1388238273,), (1388238309,), (1388238311,), (1388238313,), (1388238392,), (1388238419,), (1388238445,), (1388237664,), (1388237667,), (1388237671,), (1388237735,), (1388237740,), (1388237743,), (1388237747,), (1388237822,), (1388237823,), (1388237832,), (1388237833,), (1388237841,), (1388237842,), (1388237845,), (1388237848,), (1388237851,), (1388237854,), (1388237856,), (1388237858,), (1388237869,), (1388237873,), (1388237875,), (1388237881,), (1388237950,), (1388237954,), (1388237959,), (1388237967,), (1388237979,), (1388237981,), (1388238040,), (1388238041,), (1388238061,), (1388238062,), (1388238064,), (1388238065,), (1388238081,), (1388238083,), (1388238098,), (1388238100,), (1388238134,), (1388238147,), (1388238149,), (1388238157,), (1388238160,), (1388238163,), (1388238216,), (1388238219,), (1388238222,), (1388238255,), (1388238258,), (1388238305,), (1388238307,), (1388238330,), (1388238333,), (1388238341,), (1388238368,), (1388238382,), (1388238399,), (1388238402,), (1388238405,), (1388238408,), (1388238491,), (1388238494,), (1388238532,), (1388238536,), (1388238540,), (1388238550,), (1388238551,), (1388238553,), (1388238555,), (1388238558,), (1388238562,), (1388238619,), (1388238632,), (1388238644,), (1388238658,), (1388238723,), (1388238753,), (1388238759,), (1388238765,), (1388238768,), (1388238275,), (1388238315,), (1388238464,), (1388238469,), (1388238473,), (1388238477,), (1388238481,), (1388238487,), (1388238544,), (1388238585,), (1388238588,), (1388238599,), (1388238607,), (1388238610,), (1388238612,), (1388238661,), (1388238663,), (1388238771,), (1388238774,), (1388238777,), (1388238862,), (1388238866,), (1388238871,), (1388238875,), (1388238879,), (1388238883,), (1388238905,), (1388238906,), (1388238909,), (1388238910,), (1388239068,), (1388239124,), (1388239128,), (1388239131,), (1388239133,), (1388239136,), (1388239139,), (1388239171,), (1388239191,), (1388239206,), (1388239210,), (1388239213,), (1388239216,), (1388239219,), (1388239222,), (1388239264,), (1388239281,), (1388239283,), (1388239284,), (1388239287,), (1388239289,), (1388239291,), (1388239322,), (1388239342,), (1388239347,), (1388239350,), (1388239354,), (1388239358,), (1388239362,), (1388239384,), (1388239604,), (1388239617,), (1388239623,), (1388239625,), (1388239629,), (1388239645,), (1388239647,), (1388239653,), (1388240032,), (1388240442,), (1388240445,), (1388240447,), (1388240448,), (1388240725,), (1388240728,), (1388240782,), (1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,), (1388239253,), (1388239254,), (1388239256,), (1388239258,), (1388239261,), (1388239297,), (1388239305,), (1388239307,), (1388239309,), (1388239312,), (1388239364,), (1388239366,), (1388239369,), (1388239376,), (1388239381,), (1388239403,), (1388239407,), (1388239412,), (1388239416,), (1388239422,), (1388239426,), (1388239468,), (1388239471,), (1388239478,), (1388239480,), (1388239483,), (1388239484,), (1388239487,), (1388239489,), (1388239575,), (1388239580,), (1388239461,), (1388239464,), (1388239465,), (1388239466,), (1388239512,), (1388239515,), (1388239517,), (1388239520,), (1388239523,), (1388239526,), (1388239552,), (1388239556,), (1388239559,), (1388239561,), (1388239569,), (1388239635,), (1388239638,), (1388239641,), (1388239643,), (1388240456,), (1388240462,), (1388240465,), (1388240468,), (1388240471,), (1388240672,), (1388240824,), (1388240826,), (1388240829,), (1388240841,), (1388240885,), (1388240888,), (1388240896,), (1388240903,), (1388240907,), (1388240910,), (1388240956,), (1388240957,), (1388240959,), (1388240960,), (1388240962,), (1388240963,), (1388240966,), (1388240967,), (1388240969,), (1388240970,), (1388240972,), (1388240973,), (1388240981,), (1388240983,), (1388240986,), (1388240993,), (1388241743,), (1388242418,), (1388242925,), (1388243144,), (1388243146,), (1388243329,), (1388243332,), (1388243476,), (1388243689,), (1388243966,), (1388243968,), (1388244136,), (1388244152,), (1388244226,), (1388244275,), (1388244278,), (1388244284,), (1388244307,), (1388244311,), (1388244315,), (1388244347,), (1388244357,), (1388244373,), (1388244386,), (1388244451,), (1388244452,), (1388244454,), (1388244455,), (1388244457,), (1388244458,), (1388244462,), (1388244465,), (1388244468,), (1388244469,), (1388244491,), (1388244496,), (1388244501,), (1388244505,), (1388244510,), (1388244535,), (1388244574,), (1388244570,), (1388244573,), (1388244591,), (1388244606,), (1388244821,), (1388245346,), (1388245519,), (1388245524,), (1388245568,), (1388245577,), (1388245579,), (1388245834,), (1388246003,), (1388246007,), (1388246792,), (1388246803,), (1388246805,), (1388246810,), (1388246907,), (1388247016,), (1388247149,), (1388247151,), (1388247155,), (1388247159,), (1388247166,), (1388247168,), (1388247181,), (1388247192,), (1388247198,), (1388247206,), (1388247213,), (1388247215,), (1388247220,), (1388247222,), (1388247224,), (1388247246,), (1388247253,), (1388247258,), (1388247261,), (1388247265,), (1388247342,), (1388247345,), (1388247347,), (1388247350,), (1388247354,), (1388247388,), (1388247392,), (1388247394,), (1388247413,), (1388247416,), (1388247418,), (1388247452,), (1388247468,), (1388247471,), (1388247473,), (1388247480,), (1388247514,), (1388247530,), (1388247539,), (1388247543,), (1388247559,), (1388247571,), (1388247575,), (1388247576,), (1388247626,), (1388247629,), (1388249359,), (1388250767,), (1388250772,), (1388250780,), (1388250834,), (1388250880,), (1388250883,), (1388250902,), (1388250913,), (1388250929,), (1388251991,), (1388251995,), (1388251998,), (1388252306,), (1388252344,), (1388252357,), (1388252361,), (1388252365,), (1388252368,), (1388252378,), (1388252381,), (1388252383,), (1388252395,), (1388253372,), (1388253374,), (1388253376,), (1388253379,), (1388253383,), (1388253688,), (1388253822,), (1388253842,), (1388253857,), (1388253861,), (1388253865,), (1388253906,), (1388253908,), (1388253910,), (1388253914,), (1388253919,), (1388253933,), (1388253936,), (1388253938,), (1388253941,), (1388253967,), (1388253969,), (1388253971,), (1388253990,), (1388253991,), (1388253992,), (1388253995,), (1388254000,), (1388254012,), (1388254014,), (1388254017,), (1388254021,), (1388254058,), (1388254069,), (1388254112,), (1388254136,), (1388254138,), (1388254144,), (1388254150,), (1388254154,), (1388254157,), (1388254189,), (1388254173,), (1388254178,), (1388254182,), (1388254186,), (1388254215,), (1388254230,), (1388254240,), (1388254254,), (1388254257,), (1388254276,), (1388254279,), (1388254282,), (1388254306,), (1388254308,), (1388254310,), (1388254313,), (1388254317,), (1388254343,), (1388254345,), (1388254364,), (1388254379,), (1388254381,), (1388254386,), (1388254390,), (1388254394,), (1388254503,), (1388254507,), (1388254510,), (1388254514,), (1388254517,), (1388254533,), (1388254539,), (1388254540,), (1388254559,), (1388254563,), (1388254565,), (1388254568,), (1388254575,), (1388254577,), (1388254600,), (1388254604,), (1388254606,), (1388254610,), (1388254614,), (1388254623,), (1388254655,), (1388254657,), (1388254658,), (1388254660,), (1388254693,), (1388254698,), (1388254703,), (1388254709,), (1388254758,), (1388254760,), (1388254762,), (1388254764,), (1388254767,), (1388254778,), (1388254781,), (1388254783,), (1388254850,), (1388254853,), (1388254854,), (1388254858,), (1388254862,), (1388254915,), (1388254975,), (1388254902,), (1388254905,), (1388254911,), (1388254913,), (1388254914,), (1388254944,), (1388254946,), (1388254950,), (1388254954,), (1388254957,), (1388254959,), (1388254963,), (1388254965,), (1388254967,), (1388254969,), (1388254972,), (1388254984,), (1388254991,), (1388255005,), (1388255007,), (1388255046,), (1388255048,), (1388255050,), (1388255053,), (1388255056,), (1388255059,), (1388255072,), (1388255074,), (1388255075,), (1388255078,), (1388255082,), (1388255089,), (1388255109,), (1388255111,), (1388255130,), (1388255132,), (1388255135,), (1388255139,), (1388255154,), (1388255206,), (1388255214,), (1388255302,), (1388255305,), (1388255307,), (1388255310,), (1388255313,), (1388255348,), (1388255350,), (1388255352,), (1388255367,), (1388255372,), (1388255376,), (1388255387,), (1388255390,), (1388255394,), (1388255443,), (1388255448,), (1388255450,), (1388255452,), (1388255456,), (1388255477,), (1388255491,), (1388255493,), (1388255575,), (1388255599,), (1388255603,), (1388255606,), (1388255608,), (1388255637,), (1388255647,), (1388255652,), (1388255659,), (1388255716,), (1388255706,), (1388255708,), (1388255710,), (1388255712,), (1388255772,), (1388255787,), (1388255800,), (1388255806,), (1388255810,), (1388255814,), (1388255828,), (1388255861,), (1388255863,), (1388255865,), (1388255868,), (1388255871,), (1388255879,), (1388255956,), (1388255962,), (1388255964,), (1388255968,), (1388255989,), (1388255991,), (1388256003,), (1388256009,), (1388256020,), (1388256025,), (1388256028,), (1388256031,), (1388256039,), (1388256048,), (1388256060,), (1388256082,), (1388256084,), (1388256086,), (1388256089,), (1388256091,), (1388256122,), (1388256126,), (1388256130,), (1388256141,), (1388256161,), (1388256163,), (1388258750,), (1388258421,), (1388258748,), (1388258899,), (1388258901,), (1388258904,), (1388258912,), (1388258918,), (1388258921,), (1388258944,), (1388258946,), (1388258948,), (1388258951,), (1388259717,), (1388259741,), (1388259745,), (1388259748,), (1388259751,), (1388259754,), (1388260068,), (1388260071,), (1388260074,), (1388260136,), (1388260139,), (1388260184,), (1388260212,), (1388260215,), (1388260217,), (1388260368,), (1388260452,), (1388260454,), (1388260455,), (1388260458,), (1388260462,), (1388260464,), (1388260503,), (1388260507,), (1388260510,), (1388260513,), (1388260537,), (1388260539,), (1388260542,), (1388260545,), (1388260562,), (1388260565,), (1388260567,), (1388260570,), (1388260577,), (1388260580,), (1388260595,), (1388260589,), (1388260591,), (1388260593,), (1388260632,), (1388260636,), (1388260641,), (1388260646,), (1388260656,), (1388260723,), (1388260725,), (1388260729,), (1388260734,), (1388260737,), (1388260751,), (1388260753,), (1388260757,), (1388260799,), (1388260800,), (1388260801,), (1388260803,), (1388260806,), (1388260823,), (1388260825,), (1388260827,), (1388260848,), (1388260855,), (1388260865,), (1388260898,), (1388260911,), (1388260944,), (1388260974,), (1388260978,), (1388260980,), (1388260983,), (1388261010,), (1388261013,), (1388261016,), (1388261019,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08102025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27608960]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] map_info['map_portfolio_photo'] : {27608960: [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974, 1388260944, 1388260911, 1388260898, 1388260865, 1388260855, 1388260848, 1388260827, 1388260825, 1388260823, 1388260806, 1388260803, 1388260801, 1388260800, 1388260799, 1388260757, 1388260753, 1388260751, 1388260737, 1388260734, 1388260729, 1388260725, 1388260723, 1388260656, 1388260646, 1388260641, 1388260636, 1388260632, 1388260593, 1388260591, 1388260589]} final : True mtd_id 4302 list_pids : [1388261019, 1388261016, 1388261013, 1388261010, 1388260983, 1388260980, 1388260978, 1388260974] Looping around the photos to save general results len do output : 1 /27608960Didn'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, '3887285') ('4302', '27608960', '1388261019', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261016', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261013', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388261010', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260983', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260980', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260978', None, None, None, None, None, '3887285') ('4302', None, None, None, None, None, None, None, '3887285') ('4302', '27608960', '1388260974', None, None, None, None, None, '3887285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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, '27608960', 'None', None, None, None, None, '3887285'), ('4302', '27608960', '1388261019', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261016', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261013', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388261010', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260983', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260980', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260978', None, None, None, None, None, '3887285'), ('4302', '27608960', '1388260974', None, None, None, None, None, '3887285')] time used for this insertion : 0.037712812423706055 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.918631315231323 time spend to save output : 0.03791522979736328 total time spend for step 5 : 10.956546545028687 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 (3887285) 1.99user 1.74system 0:21.51elapsed 17%CPU (0avgtext+0avgdata 160080maxresident)k 448inputs+11200outputs (2major+64279minor)pagefaults 0swaps