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 : 3757602 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 (3916997) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3916997) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649321 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3916997'] with mtr_portfolio_ids : ['27649321'] and first list_photo_ids : [] new path : /proc/3757602/ Name: python3 Umask: 0002 State: R (running) Tgid: 3757602 Ngid: 0 Pid: 3757602 PPid: 3757601 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3757602 NSpid: 3757602 NSpgid: 3756591 NSsid: 3756591 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99328 kB VmRSS: 99328 kB RssAnon: 59836 kB RssFile: 39492 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 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: 82 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3757602', 'Ngid': '0', 'Pid': '3757602', 'PPid': '3757601', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3757602', 'NSpid': '3757602', 'NSpgid': '3756591', 'NSsid': '3756591', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99328 kB', 'VmRSS': '99328 kB', 'RssAnon': '59836 kB', 'RssFile': '39492 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 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': '82', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '3757602', '1106856', '0', '1106856', '865608', '99328', b'', 'marlene', '3916997') 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 (27649321) 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 (3916997 ) ) 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 (27649321) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388452241, 'portfolio_id': 27649321}, {'photo_id': 1388452179, 'portfolio_id': 27649321}, {'photo_id': 1388452176, 'portfolio_id': 27649321}, {'photo_id': 1388452172, 'portfolio_id': 27649321}, {'photo_id': 1388452161, 'portfolio_id': 27649321}, {'photo_id': 1388452157, 'portfolio_id': 27649321}, {'photo_id': 1388451688, 'portfolio_id': 27649321}, {'photo_id': 1388451298, 'portfolio_id': 27649321}, {'photo_id': 1388451296, 'portfolio_id': 27649321}, {'photo_id': 1388451268, 'portfolio_id': 27649321}, {'photo_id': 1388450433, 'portfolio_id': 27649321}, {'photo_id': 1388450413, 'portfolio_id': 27649321}, {'photo_id': 1388450410, 'portfolio_id': 27649321}, {'photo_id': 1388450396, 'portfolio_id': 27649321}, {'photo_id': 1388450392, 'portfolio_id': 27649321}, {'photo_id': 1388450387, 'portfolio_id': 27649321}, {'photo_id': 1388450385, 'portfolio_id': 27649321}, {'photo_id': 1388450383, 'portfolio_id': 27649321}, {'photo_id': 1388449524, 'portfolio_id': 27649321}, {'photo_id': 1388449522, 'portfolio_id': 27649321}, {'photo_id': 1388449520, 'portfolio_id': 27649321}, {'photo_id': 1388449503, 'portfolio_id': 27649321}, {'photo_id': 1388449500, 'portfolio_id': 27649321}] map_portfolio_id_photo_id: {27649321: [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500]} ##### 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.05132293701171875 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Oct 10 06:03: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 (27649321) 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 : 27649321 get user id for portfolio 27649321 get sub ptf for main ptf 27649321, type 3726 and hashtags ['mal_croppe', 'papier', 'flou', 'Carton_brun', 'kraft', 'metal', 'cartonnette', 'plastique', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_gris', 'environnement'] 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`=27649321 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','flou','Carton_brun','kraft','metal','cartonnette','plastique','Teint_Dans_La_Masse','autre_refus','Carton_gris','environnement')) 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`=27649321 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','flou','Carton_brun','kraft','metal','cartonnette','plastique','Teint_Dans_La_Masse','autre_refus','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27649321, 'sub_port_id': 27649322, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654821, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'autre_refus': {'main_port_id': 27649321, 'sub_port_id': 27649323, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654822, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'metal': {'main_port_id': 27649321, 'sub_port_id': 27649324, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654823, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'kraft': {'main_port_id': 27649321, 'sub_port_id': 27649325, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654824, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'plastique': {'main_port_id': 27649321, 'sub_port_id': 27649326, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654825, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'Carton_gris': {'main_port_id': 27649321, 'sub_port_id': 27649327, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654826, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'environnement': {'main_port_id': 27649321, 'sub_port_id': 27649328, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654827, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'Teint_Dans_La_Masse': {'main_port_id': 27649321, 'sub_port_id': 27649329, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654828, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'papier': {'main_port_id': 27649321, 'sub_port_id': 27649330, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654829, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'flou': {'main_port_id': 27649321, 'sub_port_id': 27649331, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654830, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'mal_croppe': {'main_port_id': 27649321, 'sub_port_id': 27649332, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654831, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'cartonnette': {'main_port_id': 27649321, 'sub_port_id': 27649333, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654832, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27649322 , 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=27649321 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 (27649322) result : ((1388450444,), (1388452900,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649323 , 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=27649321 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 (27649323) result : ((1388451693,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649324 , 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=27649321 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 (27649324) result : ((1388452156,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649325 , 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=27649321 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 (27649325) result : ((1388452903,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649326 , 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=27649321 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 (27649326) result : ((1388450446,), (1388450447,), (1388452902,), (1388453201,), (1388453202,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649327 , 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=27649321 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 (27649327) result : ((1388450441,), (1388450442,), (1388452897,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649328 , 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=27649321 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 (27649328) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649329 , 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=27649321 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 (27649329) result : ((1388452154,), (1388452155,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649330 , 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=27649321 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 (27649330) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649331 , 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=27649321 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 (27649331) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649332 , 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=27649321 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 (27649332) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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 27649333 , 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=27649321 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 (27649333) result : ((1388450443,), (1388452898,), (1388453198,), (1388453199,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27649321) result : ((1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,)) 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 (1388449500) 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`=27649321 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','flou','Carton_brun','kraft','metal','cartonnette','plastique','Teint_Dans_La_Masse','autre_refus','Carton_gris','environnement')) 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`=27649321 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','papier','flou','Carton_brun','kraft','metal','cartonnette','plastique','Teint_Dans_La_Masse','autre_refus','Carton_gris','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 27649321, 'sub_port_id': 27649334, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654833, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'autre_refus': {'main_port_id': 27649321, 'sub_port_id': 27649335, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654834, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'metal': {'main_port_id': 27649321, 'sub_port_id': 27649336, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654835, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'kraft': {'main_port_id': 27649321, 'sub_port_id': 27649337, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654836, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'plastique': {'main_port_id': 27649321, 'sub_port_id': 27649338, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654837, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'Carton_gris': {'main_port_id': 27649321, 'sub_port_id': 27649339, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654838, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'environnement': {'main_port_id': 27649321, 'sub_port_id': 27649340, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654839, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'Teint_Dans_La_Masse': {'main_port_id': 27649321, 'sub_port_id': 27649341, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654840, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'papier': {'main_port_id': 27649321, 'sub_port_id': 27649342, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654841, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'flou': {'main_port_id': 27649321, 'sub_port_id': 27649343, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654842, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'mal_croppe': {'main_port_id': 27649321, 'sub_port_id': 27649344, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654843, 'last_updated_at': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 15, 51, 6), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}, 'cartonnette': {'main_port_id': 27649321, 'sub_port_id': 27649345, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18654844, 'last_updated_at': datetime.datetime(2025, 10, 9, 16, 3, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 9, 16, 3, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 9, 15, 51, 6)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649334,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649322 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649335,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649323 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649336,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649324 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649337,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649325 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649338,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649326 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649339,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649327 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649340,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649328 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649341,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649329 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649342,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649330 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649343,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649331 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649344,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649332 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27649345,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27649333 lien utilise dans velours : https://marlene.fotonower.com/velours/27649334,27649335,27649336,27649337,27649338,27649339,27649340,27649341,27649342,27649343,27649344,27649345?tags=Carton_brun,autre_refus,metal,kraft,plastique,Carton_gris,environnement,Teint_Dans_La_Masse,papier,flou,mal_croppe,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27649321]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] map_info['map_portfolio_photo'] : {27649321: [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500]} final : False mtd_id 4302 list_pids : [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] Looping around the photos to save general results len do output : 1 /27649321. 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, '3916997') ('4302', '27649321', '1388452241', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452179', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452176', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452172', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452161', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452157', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451688', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451298', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451296', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451268', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450433', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450413', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450410', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450396', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450392', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450387', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450385', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450383', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449524', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449522', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449520', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449503', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449500', None, None, None, None, None, '3916997') 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', None, '27649321', "{'Carton_brun': 27649322, 'autre_refus': 27649323, 'metal': 27649324, 'kraft': 27649325, 'plastique': 27649326, 'Carton_gris': 27649327, 'environnement': 27649328, 'Teint_Dans_La_Masse': 27649329, 'papier': 27649330, 'flou': 27649331, 'mal_croppe': 27649332, 'cartonnette': 27649333}", None, None, None, None, '3916997'), ('4302', '27649321', '1388452241', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452179', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452176', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452172', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452161', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452157', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451688', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451298', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451296', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451268', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450433', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450413', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450410', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450396', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450392', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450387', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450385', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450383', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449524', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449522', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449520', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449503', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449500', None, None, None, None, None, '3916997')] time used for this insertion : 0.040494441986083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.667555809020996 time spend to save output : 0.04084062576293945 total time spend for step 1 : 1.7083964347839355 step2:final Fri Oct 10 06:03:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27649321) 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 27649321 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388449503,1388449500,1388449524,1388449522,1388449520,1388450396,1388450392,1388450387,1388450385,1388450383,1388450413,1388450410,1388450433,1388451298,1388451296,1388451268,1388451688,1388452161,1388452157,1388452179,1388452176,1388452172,1388452241); 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([27649321]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} new output for save of step final : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] map_info['map_portfolio_photo'] : {27649321: [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500]} final : False mtd_id 4302 list_pids : [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] Looping around the photos to save general results len do output : 23 /1388452241.Didn't retrieve data . /1388452179.Didn't retrieve data . /1388452176.Didn't retrieve data . /1388452172.Didn't retrieve data . /1388452161.Didn't retrieve data . /1388452157.Didn't retrieve data . /1388451688.Didn't retrieve data . /1388451298.Didn't retrieve data . /1388451296.Didn't retrieve data . /1388451268.Didn't retrieve data . /1388450433.Didn't retrieve data . /1388450413.Didn't retrieve data . /1388450410.Didn't retrieve data . /1388450396.Didn't retrieve data . /1388450392.Didn't retrieve data . /1388450387.Didn't retrieve data . /1388450385.Didn't retrieve data . /1388450383.Didn't retrieve data . /1388449524.Didn't retrieve data . /1388449522.Didn't retrieve data . /1388449520.Didn't retrieve data . /1388449503.Didn't retrieve data . /1388449500.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, '3916997') ('4302', '27649321', '1388452241', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452179', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452176', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452172', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452161', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452157', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451688', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451298', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451296', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451268', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450433', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450413', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450410', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450396', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450392', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450387', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450385', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450383', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449524', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449522', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449520', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449503', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449500', None, None, None, None, None, '3916997') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 69 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', '27649321', '1388452241', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388452179', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388452176', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388452172', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388452161', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388452157', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388451688', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388451298', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388451296', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388451268', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450433', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450413', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450410', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450396', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450392', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450387', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450385', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388450383', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388449524', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388449522', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388449520', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388449503', '0.039060171108011', None, None, None, None, '3916997'), ('4302', '27649321', '1388449500', '0.039060171108011', None, None, None, None, '3916997')] time used for this insertion : 0.09559106826782227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24560856819152832 time spend to save output : 0.09665417671203613 total time spend for step 2 : 0.34226274490356445 step3:velours_tree Fri Oct 10 06:03: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 : {27649321: [{'Carton_brun': 27649322, 'autre_refus': 27649323, 'metal': 27649324, 'kraft': 27649325, 'plastique': 27649326, 'Carton_gris': 27649327, 'environnement': 27649328, 'Teint_Dans_La_Masse': 27649329, 'papier': 27649330, 'flou': 27649331, 'mal_croppe': 27649332, 'cartonnette': 27649333}]} input_args_next_step : {27649321: ()} output_args : {27649321: [{'Carton_brun': 27649322, 'autre_refus': 27649323, 'metal': 27649324, 'kraft': 27649325, 'plastique': 27649326, 'Carton_gris': 27649327, 'environnement': 27649328, 'Teint_Dans_La_Masse': 27649329, 'papier': 27649330, 'flou': 27649331, 'mal_croppe': 27649332, 'cartonnette': 27649333}]} args : 27649321 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 : ({'Carton_brun': 27649322, 'autre_refus': 27649323, 'metal': 27649324, 'kraft': 27649325, 'plastique': 27649326, 'Carton_gris': 27649327, 'environnement': 27649328, 'Teint_Dans_La_Masse': 27649329, 'papier': 27649330, 'flou': 27649331, 'mal_croppe': 27649332, 'cartonnette': 27649333},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27649321) 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([27649321]) 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.2996792793273926 time spend to save output : 5.626678466796875e-05 total time spend for step 3 : 0.29973554611206055 step4:send_mail_cod Fri Oct 10 06:03: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 : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} input_args_next_step : {1388452241: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388452241 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388452179 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388452176 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388452172 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388452161 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388452157 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388451688 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388451298 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388451296 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388451268 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450433 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450413 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450410 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450396 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450392 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450387 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450385 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388450383 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388449524 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388449522 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388449520 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388449503 depend.output_id : 0 input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ()} output_args : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',)} args : 1388449500 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 : {27649321: [{'Carton_brun': 27649322, 'autre_refus': 27649323, 'metal': 27649324, 'kraft': 27649325, 'plastique': 27649326, 'Carton_gris': 27649327, 'environnement': 27649328, 'Teint_Dans_La_Masse': 27649329, 'papier': 27649330, 'flou': 27649331, 'mal_croppe': 27649332, 'cartonnette': 27649333}]} input_args_next_step : {1388452241: ('0.039060171108011',), 1388452179: ('0.039060171108011',), 1388452176: ('0.039060171108011',), 1388452172: ('0.039060171108011',), 1388452161: ('0.039060171108011',), 1388452157: ('0.039060171108011',), 1388451688: ('0.039060171108011',), 1388451298: ('0.039060171108011',), 1388451296: ('0.039060171108011',), 1388451268: ('0.039060171108011',), 1388450433: ('0.039060171108011',), 1388450413: ('0.039060171108011',), 1388450410: ('0.039060171108011',), 1388450396: ('0.039060171108011',), 1388450392: ('0.039060171108011',), 1388450387: ('0.039060171108011',), 1388450385: ('0.039060171108011',), 1388450383: ('0.039060171108011',), 1388449524: ('0.039060171108011',), 1388449522: ('0.039060171108011',), 1388449520: ('0.039060171108011',), 1388449503: ('0.039060171108011',), 1388449500: ('0.039060171108011',), 27649321: ()} output_args : {27649321: [{'Carton_brun': 27649322, 'autre_refus': 27649323, 'metal': 27649324, 'kraft': 27649325, 'plastique': 27649326, 'Carton_gris': 27649327, 'environnement': 27649328, 'Teint_Dans_La_Masse': 27649329, 'papier': 27649330, 'flou': 27649331, 'mal_croppe': 27649332, 'cartonnette': 27649333}]} args : 27649321 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 :24, first value : ('0.039060171108011',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27649321) 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 (1388452241,1388452179,1388452176,1388452172,1388452161,1388452157,1388451688,1388451298,1388451296,1388451268,1388450433,1388450413,1388450410,1388450396,1388450392,1388450387,1388450385,1388450383,1388449524,1388449522,1388449520,1388449503,1388449500) Found this number of photos: 23 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388449500 begin to download photo : 1388450383 begin to download photo : 1388450410 begin to download photo : 1388451298 begin to download photo : 1388452176 download finish for photo 1388450383 begin to download photo : 1388450385 download finish for photo 1388449500 begin to download photo : 1388449503 download finish for photo 1388451298 begin to download photo : 1388451688 download finish for photo 1388450410 begin to download photo : 1388450413 download finish for photo 1388452176 begin to download photo : 1388452179 download finish for photo 1388452179 begin to download photo : 1388452241 download finish for photo 1388450385 begin to download photo : 1388450387 download finish for photo 1388449503 begin to download photo : 1388449520 download finish for photo 1388450413 begin to download photo : 1388450433 download finish for photo 1388451688 begin to download photo : 1388452157 download finish for photo 1388452241 download finish for photo 1388449520 begin to download photo : 1388449522 download finish for photo 1388452157 begin to download photo : 1388452161 download finish for photo 1388450387 begin to download photo : 1388450392 download finish for photo 1388450433 begin to download photo : 1388451268 download finish for photo 1388450392 begin to download photo : 1388450396 download finish for photo 1388452161 begin to download photo : 1388452172 download finish for photo 1388451268 begin to download photo : 1388451296 download finish for photo 1388449522 begin to download photo : 1388449524 download finish for photo 1388452172 download finish for photo 1388451296 download finish for photo 1388450396 download finish for photo 1388449524 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 : 23 ; length of list_pids : 23 ; length of list_args : 23 results_Auto_P27649321_10-10-2025_06_04_00.pdf 27649323 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=27649323 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388451693: '1760018226_2214174_1388451268_8f18a73f87336553dd5f07310166f7e8_rle_crop_3990821618_0.png'} change filename to text .imagette276493231760069040/ imagette276493231760069040/1760018226_2214174_1388451268_8f18a73f87336553dd5f07310166f7e8_rle_crop_3990821618_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/59aa834ab70e3ef641b01cf7ab41ae19_99124864.png imagette276493231760069040 27649324 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=27649324 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388452156: '1760018346_2218517_1388450433_916bc3639a86dc39017182d4b636706f_rle_crop_3990829155_0.png'} change filename to text .imagette276493241760069040/ imagette276493241760069040/1760018346_2218517_1388450433_916bc3639a86dc39017182d4b636706f_rle_crop_3990829155_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/59cec445394fca4843ec825cecc3a31b_99667544.png imagette276493241760069040 27649325 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=27649325 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388452903: '1760018465_2340798_1388449520_09a389172e5778ab7dce25e8a4a9c483_rle_crop_3990833927_0.png'} change filename to text .imagette276493251760069040/ imagette276493251760069040/1760018465_2340798_1388449520_09a389172e5778ab7dce25e8a4a9c483_rle_crop_3990833927_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/ce4eb903acdbcf4d1c1966b6309d00c1_94171608.png imagette276493251760069040 27649326 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=27649326 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388450446: '1760018106_2209596_1388450413_b8a25a948c6032a0056f96c55561e266_rle_crop_3990820389_0.png', 1388450447: '1760018106_2209596_1388450383_60b90065272a63257125d03c89d067c2_rle_crop_3990820872_0.png', 1388452902: '1760018465_2340798_1388449522_8d6c28a18d9b03c61cf050c9c0615fc7_rle_crop_3990833912_0.png', 1388453201: '1760018584_2353810_1388452241_73d12951c3a0119cdd9843ff49891a73_rle_crop_3990843404_0.png', 1388453202: '1760018584_2353810_1388452172_a54e55577671a6a5c25a03b1b28a5324_rle_crop_3990843421_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/8795d20c980426d53a97637eb8240dd9_1426011.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/39058551b5428d09283e9bc2be372691_96278898.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/6f113954a88d00c03408b38b1ac2953f_62614444.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/428ce2f04a65c5981928e78aaf54a024_76003742.png change filename to text .imagette276493261760069041/ imagette276493261760069041/1760018106_2209596_1388450383_60b90065272a63257125d03c89d067c2_rle_crop_3990820872_0.png.png imagette276493261760069041/1760018584_2353810_1388452241_73d12951c3a0119cdd9843ff49891a73_rle_crop_3990843404_0.png.png imagette276493261760069041/1760018106_2209596_1388450413_b8a25a948c6032a0056f96c55561e266_rle_crop_3990820389_0.png.png imagette276493261760069041/1760018465_2340798_1388449522_8d6c28a18d9b03c61cf050c9c0615fc7_rle_crop_3990833912_0.png.png imagette276493261760069041/1760018584_2353810_1388452172_a54e55577671a6a5c25a03b1b28a5324_rle_crop_3990843421_0.png.png imagette276493311760069041/ imagette276493321760069041/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/bb3d93140820c8e7abcb393966e58025_2817694.png imagette276493261760069041 27649331 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=27649331 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276493311760069041 27649332 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=27649332 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276493321760069041 27649333 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=27649333 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388450443: '1760018106_2209596_1388450385_8e0ae7691c2f559fbdc4f4557044f284_rle_crop_3990820638_0.png', 1388452898: '1760018465_2340798_1388449520_09a389172e5778ab7dce25e8a4a9c483_rle_crop_3990833923_0.png', 1388453198: '1760018584_2353810_1388452241_73d12951c3a0119cdd9843ff49891a73_rle_crop_3990843405_0.png', 1388453199: '1760018584_2353810_1388452241_73d12951c3a0119cdd9843ff49891a73_rle_crop_3990843407_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/30907d51308b2f93a97344aed0d29a2f_17985879.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/a68da389e3249d7ced2682a79c921aa4_84643320.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/d7121777ff16268e4d69ce2ac4f92032_89539648.png change filename to text .imagette276493331760069041/ imagette276493331760069041/1760018584_2353810_1388452241_73d12951c3a0119cdd9843ff49891a73_rle_crop_3990843405_0.png.png imagette276493331760069041/1760018584_2353810_1388452241_73d12951c3a0119cdd9843ff49891a73_rle_crop_3990843407_0.png.png imagette276493331760069041/1760018465_2340798_1388449520_09a389172e5778ab7dce25e8a4a9c483_rle_crop_3990833923_0.png.png imagette276493331760069041/1760018106_2209596_1388450385_8e0ae7691c2f559fbdc4f4557044f284_rle_crop_3990820638_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/83b52d7f29dd772c8d349ce0864a31c7_9097132.png imagette276493331760069041 27649322 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=27649322 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388450444: '1760018106_2209596_1388450413_b8a25a948c6032a0056f96c55561e266_rle_crop_3990820393_0.png', 1388452900: '1760018465_2340798_1388450396_5717e08a60d3ba188c02cea8c535f19b_rle_crop_3990833894_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/ae3cbdfac1841a2ae5e1e3e7c1c2d6ce_96715971.png change filename to text .imagette276493221760069042/ imagette276493221760069042/1760018106_2209596_1388450413_b8a25a948c6032a0056f96c55561e266_rle_crop_3990820393_0.png.png imagette276493221760069042/1760018465_2340798_1388450396_5717e08a60d3ba188c02cea8c535f19b_rle_crop_3990833894_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/13ad67840eb8d362935eadcf4190d2a1_31587111.png imagette276493221760069042 27649327 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=27649327 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388450441: '1760018106_2209596_1388450413_b8a25a948c6032a0056f96c55561e266_rle_crop_3990820390_0.png', 1388450442: '1760018106_2209596_1388450385_8e0ae7691c2f559fbdc4f4557044f284_rle_crop_3990820639_0.png', 1388452897: '1760018465_2340798_1388449520_09a389172e5778ab7dce25e8a4a9c483_rle_crop_3990833920_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/c7576bf3f808a1dd21129e5fc364871f_79888320.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/c7b6a2f15360cbd985696966c0b9ecf2_80132774.png change filename to text .imagette276493271760069042/ imagette276493271760069042/1760018106_2209596_1388450385_8e0ae7691c2f559fbdc4f4557044f284_rle_crop_3990820639_0.png.png imagette276493271760069042/1760018465_2340798_1388449520_09a389172e5778ab7dce25e8a4a9c483_rle_crop_3990833920_0.png.png imagette276493271760069042/1760018106_2209596_1388450413_b8a25a948c6032a0056f96c55561e266_rle_crop_3990820390_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/9357f93658ad5ba6f2330595c738e3d9_37440964.png imagette276493271760069042 27649329 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=27649329 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388452154: '1760018346_2218517_1388450410_685410dab0bc5f3d94fefd23b73b86c5_rle_crop_3990829177_0.png', 1388452155: '1760018346_2218517_1388450410_685410dab0bc5f3d94fefd23b73b86c5_rle_crop_3990829180_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/70c782cb8970b68bdc3b8c496eef4ee6_64157135.png change filename to text .imagette276493291760069042/ imagette276493291760069042/1760018346_2218517_1388450410_685410dab0bc5f3d94fefd23b73b86c5_rle_crop_3990829177_0.png.png imagette276493291760069042/1760018346_2218517_1388450410_685410dab0bc5f3d94fefd23b73b86c5_rle_crop_3990829180_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/b8638d5d4e59a5337b9d8a9559b61881_57075491.png imagette276493291760069042 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27649321 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27649334,27649335,27649336,27649337,27649338,27649339,27649340,27649341,27649342,27649343,27649344,27649345?tags=Carton_brun,autre_refus,metal,kraft,plastique,Carton_gris,environnement,Teint_Dans_La_Masse,papier,flou,mal_croppe,cartonnette your option no_mail is active, we will not send the real mail to your client args[1388452241] : ('0.039060171108011',) no score found for photo 1388452241 We are sending mail with results at report@fotonower.com args[1388452179] : ('0.039060171108011',) no score found for photo 1388452179 We are sending mail with results at report@fotonower.com args[1388452176] : ('0.039060171108011',) no score found for photo 1388452176 We are sending mail with results at report@fotonower.com args[1388452172] : ('0.039060171108011',) no score found for photo 1388452172 We are sending mail with results at report@fotonower.com args[1388452161] : ('0.039060171108011',) no score found for photo 1388452161 We are sending mail with results at report@fotonower.com args[1388452157] : ('0.039060171108011',) no score found for photo 1388452157 We are sending mail with results at report@fotonower.com args[1388451688] : ('0.039060171108011',) no score found for photo 1388451688 We are sending mail with results at report@fotonower.com args[1388451298] : ('0.039060171108011',) no score found for photo 1388451298 We are sending mail with results at report@fotonower.com args[1388451296] : ('0.039060171108011',) no score found for photo 1388451296 We are sending mail with results at report@fotonower.com args[1388451268] : ('0.039060171108011',) no score found for photo 1388451268 We are sending mail with results at report@fotonower.com args[1388450433] : ('0.039060171108011',) no score found for photo 1388450433 We are sending mail with results at report@fotonower.com args[1388450413] : ('0.039060171108011',) no score found for photo 1388450413 We are sending mail with results at report@fotonower.com args[1388450410] : ('0.039060171108011',) no score found for photo 1388450410 We are sending mail with results at report@fotonower.com args[1388450396] : ('0.039060171108011',) no score found for photo 1388450396 We are sending mail with results at report@fotonower.com args[1388450392] : ('0.039060171108011',) no score found for photo 1388450392 We are sending mail with results at report@fotonower.com args[1388450387] : ('0.039060171108011',) no score found for photo 1388450387 We are sending mail with results at report@fotonower.com args[1388450385] : ('0.039060171108011',) no score found for photo 1388450385 We are sending mail with results at report@fotonower.com args[1388450383] : ('0.039060171108011',) no score found for photo 1388450383 We are sending mail with results at report@fotonower.com args[1388449524] : ('0.039060171108011',) no score found for photo 1388449524 We are sending mail with results at report@fotonower.com args[1388449522] : ('0.039060171108011',) no score found for photo 1388449522 We are sending mail with results at report@fotonower.com args[1388449520] : ('0.039060171108011',) no score found for photo 1388449520 We are sending mail with results at report@fotonower.com args[1388449503] : ('0.039060171108011',) no score found for photo 1388449503 We are sending mail with results at report@fotonower.com args[1388449500] : ('0.039060171108011',) no score found for photo 1388449500 We are sending mail with results at report@fotonower.com refus_total : 0.039060171108011 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=27649321 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_P27649321_10-10-2025_06_04_00.pdf results_Auto_P27649321_10-10-2025_06_04_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649321_10-10-2025_06_04_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','27649321','results_Auto_P27649321_10-10-2025_06_04_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649321_10-10-2025_06_04_00.pdf','pdf','','0.23','0.039060171108011') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27649321]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] map_info['map_portfolio_photo'] : {27649321: [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500]} final : False mtd_id 4302 list_pids : [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] 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, '3916997') ('4302', '27649321', '1388452241', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452179', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452176', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452172', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452161', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452157', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451688', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451298', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451296', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451268', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450433', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450413', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450410', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450396', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450392', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450387', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450385', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450383', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449524', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449522', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449520', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449503', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449500', None, None, None, None, None, '3916997') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 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', '27649321', '1388452241', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452179', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452176', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452172', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452161', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452157', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451688', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451298', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451296', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451268', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450433', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450413', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450410', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450396', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450392', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450387', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450385', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450383', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449524', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449522', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449520', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449503', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449500', None, None, None, None, None, '3916997')] time used for this insertion : 0.03602719306945801 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.967724800109863 time spend to save output : 0.03635406494140625 total time spend for step 4 : 6.0040788650512695 step5:split_time_score Fri Oct 10 06:04: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 : ['27649321'] 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 : [('27649321',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27649321) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388452176: {'path': 'temp/1760069039_3757602_1388452176_f836d636a6cf17a28e7bc1ea9c79390b.jpg', 'extension': 'jpg'}, 1388452179: {'path': 'temp/1760069039_3757602_1388452179_987b8542f32efa476d25b5024e30f7e0.jpg', 'extension': 'jpg'}, 1388452241: {'path': 'temp/1760069039_3757602_1388452241_73d12951c3a0119cdd9843ff49891a73.jpg', 'extension': 'jpg'}, 1388451298: {'path': 'temp/1760069039_3757602_1388451298_a08d49b0f64914b6a0ed1b7685d97ca5.jpg', 'extension': 'jpg'}, 1388451688: {'path': 'temp/1760069039_3757602_1388451688_923f5b2b0b17c2b1ba7b19eb1e599c08.jpg', 'extension': 'jpg'}, 1388452157: {'path': 'temp/1760069039_3757602_1388452157_5f9edc294532d9acd6fed72fbabd6404.jpg', 'extension': 'jpg'}, 1388452161: {'path': 'temp/1760069039_3757602_1388452161_6f1756a7db443ea365b3d6394e0fce38.jpg', 'extension': 'jpg'}, 1388452172: {'path': 'temp/1760069039_3757602_1388452172_a54e55577671a6a5c25a03b1b28a5324.jpg', 'extension': 'jpg'}, 1388450410: {'path': 'temp/1760069039_3757602_1388450410_685410dab0bc5f3d94fefd23b73b86c5.jpg', 'extension': 'jpg'}, 1388450413: {'path': 'temp/1760069039_3757602_1388450413_b8a25a948c6032a0056f96c55561e266.jpg', 'extension': 'jpg'}, 1388450433: {'path': 'temp/1760069039_3757602_1388450433_916bc3639a86dc39017182d4b636706f.jpg', 'extension': 'jpg'}, 1388451268: {'path': 'temp/1760069039_3757602_1388451268_8f18a73f87336553dd5f07310166f7e8.jpg', 'extension': 'jpg'}, 1388451296: {'path': 'temp/1760069039_3757602_1388451296_77995e93a4a11c3eb0af9f924c01ebef.jpg', 'extension': 'jpg'}, 1388450383: {'path': 'temp/1760069039_3757602_1388450383_60b90065272a63257125d03c89d067c2.jpg', 'extension': 'jpg'}, 1388450385: {'path': 'temp/1760069039_3757602_1388450385_8e0ae7691c2f559fbdc4f4557044f284.jpg', 'extension': 'jpg'}, 1388450387: {'path': 'temp/1760069039_3757602_1388450387_8ad41e15a4829b45bd012fce6f9e79d8.jpg', 'extension': 'jpg'}, 1388450392: {'path': 'temp/1760069039_3757602_1388450392_f7887b47d0c50343da669f670d08c316.jpg', 'extension': 'jpg'}, 1388450396: {'path': 'temp/1760069039_3757602_1388450396_5717e08a60d3ba188c02cea8c535f19b.jpg', 'extension': 'jpg'}, 1388449500: {'path': 'temp/1760069039_3757602_1388449500_1087690bf4f836b332002dff168e0cc6.jpg', 'extension': 'jpg'}, 1388449503: {'path': 'temp/1760069039_3757602_1388449503_cecaa1d92ac9f67705c206ea7151ee1e.jpg', 'extension': 'jpg'}, 1388449520: {'path': 'temp/1760069039_3757602_1388449520_09a389172e5778ab7dce25e8a4a9c483.jpg', 'extension': 'jpg'}, 1388449522: {'path': 'temp/1760069039_3757602_1388449522_8d6c28a18d9b03c61cf050c9c0615fc7.jpg', 'extension': 'jpg'}, 1388449524: {'path': 'temp/1760069039_3757602_1388449524_8e32f4a64ec84827f1f4f17cf963f721.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 = 27649321; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27649321 group by h (('15', 23),) 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=27649321 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 (27649321) 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 (27649321) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09102025 27649321 Nombre de photos uploadées : 23 / 23040 (0%) 09102025 27649321 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 09102025 27649321 Nombre de photos taguées (volume) : 0 / 23 (0%) [{'photo_id': 1388449503, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/cecaa1d92ac9f67705c206ea7151ee1e.jpg', 'username': None, 'uploaded_at': 1760017807, 'text': 'image_09102025_15_49_24_10135.jpg'}, {'photo_id': 1388449500, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/1087690bf4f836b332002dff168e0cc6.jpg', 'username': None, 'uploaded_at': 1760017807, 'text': 'image_09102025_15_49_44_10136.jpg'}, {'photo_id': 1388449524, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/8e32f4a64ec84827f1f4f17cf963f721.jpg', 'username': None, 'uploaded_at': 1760017868, 'text': 'image_09102025_15_49_54_10139.jpg'}, {'photo_id': 1388449522, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/9/8d6c28a18d9b03c61cf050c9c0615fc7.jpg', 'username': None, 'uploaded_at': 1760017868, 'text': 'image_09102025_15_50_15_010136m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011293888092041016 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27649321, '2025-10-09' ) 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-09' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2413509,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6501307487487793 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= 2413509 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27616397, 'dashboard_result_id': 16217177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616397_10-10-2025_05_34_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27616401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27616402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27616403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27616404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27616405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27616406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27616407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27616408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27616409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27616410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27616411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27616412, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27616511, 'dashboard_result_id': 16217178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616511_10-10-2025_05_35_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27616517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27616518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27616519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27616520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27616521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27616522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27616523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27616524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27616525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27616526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27616527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27616528, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27616659, 'dashboard_result_id': 16217179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616659_10-10-2025_05_36_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27616673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27616674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27616676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27616677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27616678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27616679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27616680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27616681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27616682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27616683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27616684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27616685, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27616991, 'dashboard_result_id': 16217180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616991_10-10-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27617004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27617005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27617006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27617007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27617009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27617010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27617011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27617012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27617013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27617014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27617015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27617016, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27618012, 'dashboard_result_id': 16217181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618012_10-10-2025_05_37_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618044, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27618241, 'dashboard_result_id': 16217182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618241_10-10-2025_05_38_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618259, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27618510, 'dashboard_result_id': 16217183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618510_10-10-2025_05_38_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618527, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27618804, 'dashboard_result_id': 16217184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618804_10-10-2025_05_39_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618827, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27619103, 'dashboard_result_id': 16217185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27619103_10-10-2025_05_40_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27619136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27619137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27619138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27619139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27619140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27619141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27619142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27619143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27619144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27619145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27619147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27619148, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27619532, 'dashboard_result_id': 16217186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27619532_10-10-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27619559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27619560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27619562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27619563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27619564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27619565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27619566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27619567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27619568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27619569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27619570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27619571, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27620022, 'dashboard_result_id': 16217187, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620022_10-10-2025_05_41_39.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27620038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27620039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27620040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27620041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27620042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27620043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27620044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27620045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27620047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27620048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27620049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27620050, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27620507, 'dashboard_result_id': 16217188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620507_10-10-2025_05_42_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27620535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27620536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27620537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27620538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27620539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27620540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27620541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27620542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27620543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27620544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27620545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27620546, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27620936, 'dashboard_result_id': 16217189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620936_10-10-2025_05_42_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27620965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27620966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27620967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27620968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27620969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27620970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27620971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27620972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27620973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27620974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27620975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27620976, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27621421, 'dashboard_result_id': 16217190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27621421_10-10-2025_05_43_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27621446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27621447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27621448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27621449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27621450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27621451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27621452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27621453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27621454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27621455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27621456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27621457, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27621858, 'dashboard_result_id': 16217191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27621858_10-10-2025_05_44_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27621886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27621887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27621888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27621889, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27621890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27621891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27621892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27621893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27621894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27621895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27621896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27621897, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27622985, 'dashboard_result_id': 16217192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27622985_10-10-2025_05_44_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27622990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27622991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27622992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27622993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27622994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27622995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27622996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27622997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27622998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27622999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623001, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27623042, 'dashboard_result_id': 16217193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623042_10-10-2025_05_45_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27623049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623060, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27623172, 'dashboard_result_id': 16217194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623172_10-10-2025_05_46_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27623192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623197, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27623708, 'dashboard_result_id': 16217195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623708_10-10-2025_05_46_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27623724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623725, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623736, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27624416, 'dashboard_result_id': 16217196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27624416_10-10-2025_05_47_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27624426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27624427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27624428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27624429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27624430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27624431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27624432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27624434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27624435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27624436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27624437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27624438, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27625035, 'dashboard_result_id': 16217197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625035_10-10-2025_05_48_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27625058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27625059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27625060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27625061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27625062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27625063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27625064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27625065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27625066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27625067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27625068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27625069, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27625716, 'dashboard_result_id': 16217198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625716_10-10-2025_05_48_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27625736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27625737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27625738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27625739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27625740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27625741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27625742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27625743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27625744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27625746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27625747, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27626354, 'dashboard_result_id': 16217199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626354_10-10-2025_05_50_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27626365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27626366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27626367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27626368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27626369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27626370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27626371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27626372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27626374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27626375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27626376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27626377, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27626904, 'dashboard_result_id': 16217200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626904_10-10-2025_05_50_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27626955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27626956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27626957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27626958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27626959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27626960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27626961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27626962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27626963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27626964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27626965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27626966, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27627828, 'dashboard_result_id': 16217201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27627828_10-10-2025_05_51_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27627860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27627861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27627862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27627863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27627864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27627865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27627866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27627867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27627868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27627869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27627870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27627871, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27628633, 'dashboard_result_id': 16217202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27628633_10-10-2025_05_52_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27628706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27628707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27628708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27628709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27628710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27628711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27628712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27628713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27628714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27628715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27628716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27628717, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27629335, 'dashboard_result_id': 16217203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27629335_10-10-2025_05_52_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27629349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27629350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27629352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27629353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27629354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27629355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27629356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27629357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27629358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27629359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27629360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27629361, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27630015, 'dashboard_result_id': 16217204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630015_10-10-2025_05_53_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27630051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27630052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27630053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27630054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27630055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27630056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27630057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27630058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27630059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27630060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27630061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27630062, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27630822, 'dashboard_result_id': 16217205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630822_10-10-2025_05_54_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27630853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27630854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27630855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27630856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27630857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27630858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27630859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27630860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27630861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27630862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27630863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27630864, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27631512, 'dashboard_result_id': 16217206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27631512_10-10-2025_05_54_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27631531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27631532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27631533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27631534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27631535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27631536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27631537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27631538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27631539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27631540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27631541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27631542, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27632207, 'dashboard_result_id': 16217207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27632207_10-10-2025_05_55_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27632261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27632262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27632263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27632264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27632265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27632266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27632267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27632268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27632269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27632270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27632271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27632272, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27634525, 'dashboard_result_id': 16217208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27634525_10-10-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27634536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27634537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27634538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27634539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27634540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27634541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27634542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27634543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27634544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27634545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27634546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27634547, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27635080, 'dashboard_result_id': 16217209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27635080_10-10-2025_05_56_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27635090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27635091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27635092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27635093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27635094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27635095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27635096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27635097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27635098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27635099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27635100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27635102, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27636064, 'dashboard_result_id': 16217210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27636064_10-10-2025_05_57_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27636074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27636075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27636076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27636077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27636078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27636079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27636080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27636081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27636082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27636083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27636084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27636086, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27637006, 'dashboard_result_id': 16217211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27637006_10-10-2025_05_58_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27637072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27637073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27637074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27637075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27637076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27637077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27637094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27637095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27637096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27637097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27637098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27637099, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27644666, 'dashboard_result_id': 16217212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644666_10-10-2025_05_59_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27644670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27644671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27644672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27644673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27644674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27644676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27644677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27644678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27644679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27644680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27644681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27644682, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27644949, 'dashboard_result_id': 16217213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644949_10-10-2025_05_59_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27645027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27645028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27645029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27645030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27645031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27645032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27645033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27645034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27645035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27645036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27645037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27645038, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27645669, 'dashboard_result_id': 16217214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27645669_10-10-2025_06_00_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27645675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27645676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27645677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27645678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27645679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27645680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27645681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27645683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27645684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27645685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27645686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27645687, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27646241, 'dashboard_result_id': 16217215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646241_10-10-2025_06_00_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27646328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27646329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27646330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27646331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27646332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27646333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27646334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27646335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27646336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27646337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27646338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27646339, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27646955, 'dashboard_result_id': 16217216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646955_10-10-2025_06_01_44.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27646981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27646982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27646983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27646984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27646985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27646986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27646987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27646989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27646990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27646991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27646992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27646993, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27647577, 'dashboard_result_id': 16217217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27647577_10-10-2025_06_02_41.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27647642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27647643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27647644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27647645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27647646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27647647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27647648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27647649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27647650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27647651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27647653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27647654, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27649321, 'dashboard_result_id': 16217218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649321_09-10-2025_16_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27649322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27649323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27649324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27649325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27649326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27649327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27649328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27649329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27649330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27649331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27649332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27649333, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27649626, 'dashboard_result_id': 16217219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649626_09-10-2025_16_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27649668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27649669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27649670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27649671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27649672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27649673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27649674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27649675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27649676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27649678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27649679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27649680, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27650213, 'dashboard_result_id': 16217220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650213_09-10-2025_16_35_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27650263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27650264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27650265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27650266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27650267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27650268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27650269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27650270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27650271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27650272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27650273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27650274, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27650751, 'dashboard_result_id': 16217221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650751_09-10-2025_16_47_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27650757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27650758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27650759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27650760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27650762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27650763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27650764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27650765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27650766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27650767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27650768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27650769, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27651293, 'dashboard_result_id': 16217222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651293_09-10-2025_17_07_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27651294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27651295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27651296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27651297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27651298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27651299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27651300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27651301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27651302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27651303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27651304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27651305, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27651809, 'dashboard_result_id': 16217223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651809_09-10-2025_17_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27651850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27651851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27651852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27651853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27651854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27651855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27651856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27651857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27651870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27651871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27651872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27651873, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27652587, 'dashboard_result_id': 16217224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27652587_09-10-2025_18_03_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27652594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27652595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27652596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27652597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27652598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27652599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27652600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27652601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27652602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27652603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27652604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27652606, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27654052, 'dashboard_result_id': 16217225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654052_09-10-2025_18_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27654090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27654091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27654092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27654093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27654094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27654095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27654096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27654097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27654098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27654099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27654100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27654101, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27654478, 'dashboard_result_id': 16217226, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654478_09-10-2025_18_35_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27654507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27654508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27654509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27654510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27654511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27654512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27654513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27654514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27654515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27654516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27654517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27654518, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27655003, 'dashboard_result_id': 16217227, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655003_09-10-2025_18_49_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27655015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27655016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27655017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27655018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27655019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27655021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27655022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27655023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27655024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27655025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27655026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27655027, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27655633, 'dashboard_result_id': 16217228, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655633_09-10-2025_19_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27655635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27655636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27655637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27655638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27655639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27655640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27655641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27655642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27655643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27655644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27655645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27655646, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27656089, 'dashboard_result_id': 16217230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27656089_09-10-2025_19_17_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27656129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27656130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27656132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27656133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27656134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27656135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27656136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27656137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27656138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27656139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27656140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27656141, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27656782, 'dashboard_result_id': 16217231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27656782_09-10-2025_19_33_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27656856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27656857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27656858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27656859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27656860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27656861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27656862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27656863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27656864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27656865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27656866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27656867, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27657419, 'dashboard_result_id': 16217232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27657419_09-10-2025_19_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27657431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27657432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27657433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27657434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27657435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27657436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27657437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27657438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27657439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27657440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27657441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27657442, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27658174, 'dashboard_result_id': 16217233, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658174_09-10-2025_20_05_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27658213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27658214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27658215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27658216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27658217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27658218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27658219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27658220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27658221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27658222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27658223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27658224, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27658831, 'dashboard_result_id': 16217234, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658831_09-10-2025_20_17_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27658907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27658908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27658909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27658910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27658911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27658912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27658913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27658914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27658915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27658916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27658917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27658918, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27659587, 'dashboard_result_id': 16217235, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27659587_09-10-2025_20_35_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27659622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27659623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27659625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27659626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27659627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27659628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27659629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27659630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27659631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27659632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27659633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27659634, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27660217, 'dashboard_result_id': 16217237, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27660217_09-10-2025_21_05_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27660246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27660247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27660249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27660250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27660251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27660252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27660253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27660254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27660255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27660256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27660257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27660258, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27665423, 'dashboard_result_id': 16217238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27665423_09-10-2025_23_17_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27665447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27665448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27665449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27665450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27665451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27665452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27665453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27665454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27665455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27665456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27665457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27665458, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27665756, 'dashboard_result_id': 16217239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27665756_09-10-2025_23_35_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27665782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27665783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27665785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27665786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27665787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27665788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27665789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27665790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27665791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27665792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27665793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27665794, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27666168, 'dashboard_result_id': 16217240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666168_09-10-2025_23_49_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666206, 'pht': 3726}}"}, {'dashboat_entry_day': 2413509, 'dashboard_run_id': 2428115, 'mtr_portfolio_id': 27666588, 'dashboard_result_id': 16217241, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666588_09-10-2025_23_55_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27666648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666659, '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 = 27616397 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 = 27616397 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 = 27616397 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27616397 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 = 27616397 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 = 27616397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616397_10-10-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27616397 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616397_10-10-2025_05_34_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27616401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27616402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27616403, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27616404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27616405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27616406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27616407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27616408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27616409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27616410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27616411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27616412, 'pht': 3726}}" where mtr_portfolio_id = 27616397 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27616511 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 = 27616511 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 = 27616511 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27616511 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 = 27616511 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 = 27616511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616511_10-10-2025_05_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27616511 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616511_10-10-2025_05_35_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27616517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27616518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27616519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27616520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27616521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27616522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27616523, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27616524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27616525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27616526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27616527, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27616528, 'pht': 3726}}" where mtr_portfolio_id = 27616511 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27616659 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 = 27616659 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 = 27616659 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27616659 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 = 27616659 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 = 27616659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616659_10-10-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27616659 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616659_10-10-2025_05_36_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27616673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27616674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27616676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27616677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27616678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27616679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27616680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27616681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27616682, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27616683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27616684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27616685, 'pht': 3726}}" where mtr_portfolio_id = 27616659 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27616991 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 = 27616991 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 = 27616991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27616991 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 = 27616991 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 = 27616991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616991_10-10-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27616991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27616991_10-10-2025_05_36_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27617004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27617005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27617006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27617007, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27617009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27617010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27617011, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27617012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27617013, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27617014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27617015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27617016, 'pht': 3726}}" where mtr_portfolio_id = 27616991 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618012 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 = 27618012 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 = 27618012 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618012 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 = 27618012 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 = 27618012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618012_10-10-2025_05_37_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27618012 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618012_10-10-2025_05_37_39.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618035, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618040, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618042, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618044, 'pht': 3726}}" where mtr_portfolio_id = 27618012 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618241 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 = 27618241 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 = 27618241 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618241 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 = 27618241 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 = 27618241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618241_10-10-2025_05_38_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27618241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618241_10-10-2025_05_38_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618259, 'pht': 3726}}" where mtr_portfolio_id = 27618241 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618510 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 = 27618510 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 = 27618510 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618510 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 = 27618510 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 = 27618510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618510_10-10-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27618510 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618510_10-10-2025_05_38_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618527, 'pht': 3726}}" where mtr_portfolio_id = 27618510 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618804 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 = 27618804 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 = 27618804 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27618804 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 = 27618804 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 = 27618804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618804_10-10-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27618804 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27618804_10-10-2025_05_39_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27618816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27618817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27618818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27618819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27618820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27618821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27618822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27618823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27618824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27618825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27618826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27618827, 'pht': 3726}}" where mtr_portfolio_id = 27618804 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27619103 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 = 27619103 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 = 27619103 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27619103 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 = 27619103 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 = 27619103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27619103_10-10-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27619103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27619103_10-10-2025_05_40_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27619136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27619137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27619138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27619139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27619140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27619141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27619142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27619143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27619144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27619145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27619147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27619148, 'pht': 3726}}" where mtr_portfolio_id = 27619103 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27619532 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 = 27619532 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 = 27619532 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27619532 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 = 27619532 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 = 27619532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27619532_10-10-2025_05_40_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27619532 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27619532_10-10-2025_05_40_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27619559, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27619560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27619562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27619563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27619564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27619565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27619566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27619567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27619568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27619569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27619570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27619571, 'pht': 3726}}" where mtr_portfolio_id = 27619532 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27620022 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 = 27620022 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 = 27620022 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27620022 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 = 27620022 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 = 27620022 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620022_10-10-2025_05_41_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27620022 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620022_10-10-2025_05_41_39.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27620038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27620039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27620040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27620041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27620042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27620043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27620044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27620045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27620047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27620048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27620049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27620050, 'pht': 3726}}" where mtr_portfolio_id = 27620022 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27620507 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 = 27620507 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 = 27620507 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27620507 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 = 27620507 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 = 27620507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620507_10-10-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27620507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620507_10-10-2025_05_42_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27620535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27620536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27620537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27620538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27620539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27620540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27620541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27620542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27620543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27620544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27620545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27620546, 'pht': 3726}}" where mtr_portfolio_id = 27620507 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27620936 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 = 27620936 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 = 27620936 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27620936 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 = 27620936 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 = 27620936 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620936_10-10-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27620936 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27620936_10-10-2025_05_42_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27620965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27620966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27620967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27620968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27620969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27620970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27620971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27620972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27620973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27620974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27620975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27620976, 'pht': 3726}}" where mtr_portfolio_id = 27620936 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27621421 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 = 27621421 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 = 27621421 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27621421 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 = 27621421 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 = 27621421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27621421_10-10-2025_05_43_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27621421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27621421_10-10-2025_05_43_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27621446, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27621447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27621448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27621449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27621450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27621451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27621452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27621453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27621454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27621455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27621456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27621457, 'pht': 3726}}" where mtr_portfolio_id = 27621421 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27621858 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 = 27621858 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 = 27621858 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27621858 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 = 27621858 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 = 27621858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27621858_10-10-2025_05_44_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27621858 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27621858_10-10-2025_05_44_07.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27621886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27621887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27621888, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27621889, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27621890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27621891, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27621892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27621893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27621894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27621895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27621896, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27621897, 'pht': 3726}}" where mtr_portfolio_id = 27621858 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27622985 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 = 27622985 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 = 27622985 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27622985 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 = 27622985 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 = 27622985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27622985_10-10-2025_05_44_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27622985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27622985_10-10-2025_05_44_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27622990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27622991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27622992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27622993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27622994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27622995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27622996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27622997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27622998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27622999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623001, 'pht': 3726}}" where mtr_portfolio_id = 27622985 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27623042 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': 3916972, 'mtr_portfolio_id': 27623042, 'created_at': datetime.datetime(2025, 10, 10, 5, 45, 35), 'result': '0.048170360487193115', 'result_long': None, 'result_double': None}] Qualite : 0.048170360487193115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27623042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623042_10-10-2025_05_45_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27623042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623042_10-10-2025_05_45_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27623049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623060, 'pht': 3726}}" where mtr_portfolio_id = 27623042 and dashboard_run_id = 2428115 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`=27623042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217193, 0.048170360487193115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623042_10-10-2025_05_45_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27623049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623051, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623060, '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 = 27623172 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': 3916973, 'mtr_portfolio_id': 27623172, 'created_at': datetime.datetime(2025, 10, 10, 5, 46, 1), 'result': '0.05403782781615809', 'result_long': None, 'result_double': None}] Qualite : 0.05403782781615809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27623172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623172_10-10-2025_05_46_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27623172 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623172_10-10-2025_05_46_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27623192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623197, 'pht': 3726}}" where mtr_portfolio_id = 27623172 and dashboard_run_id = 2428115 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`=27623172 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217194, 0.05403782781615809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623172_10-10-2025_05_46_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27623192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623197, '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 = 27623708 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': 3916974, 'mtr_portfolio_id': 27623708, 'created_at': datetime.datetime(2025, 10, 10, 5, 46, 31), 'result': '0.03610732122848751', 'result_long': None, 'result_double': None}] Qualite : 0.03610732122848751 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27623708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623708_10-10-2025_05_46_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27623708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623708_10-10-2025_05_46_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27623724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623725, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623736, 'pht': 3726}}" where mtr_portfolio_id = 27623708 and dashboard_run_id = 2428115 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`=27623708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217195, 0.03610732122848751, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27623708_10-10-2025_05_46_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27623724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27623725, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27623727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27623728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27623729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27623730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27623731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27623732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27623733, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27623734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27623735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27623736, '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 = 27624416 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': 3916975, 'mtr_portfolio_id': 27624416, 'created_at': datetime.datetime(2025, 10, 10, 5, 47, 34), 'result': '0.03535644824719412', 'result_long': None, 'result_double': None}] Qualite : 0.03535644824719412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27624416 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27624416_10-10-2025_05_47_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27624416 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27624416_10-10-2025_05_47_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27624426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27624427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27624428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27624429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27624430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27624431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27624432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27624434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27624435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27624436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27624437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27624438, 'pht': 3726}}" where mtr_portfolio_id = 27624416 and dashboard_run_id = 2428115 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`=27624416 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217196, 0.03535644824719412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27624416_10-10-2025_05_47_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27624426, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27624427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27624428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27624429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27624430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27624431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27624432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27624434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27624435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27624436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27624437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27624438, '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 = 27625035 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': 3916976, 'mtr_portfolio_id': 27625035, 'created_at': datetime.datetime(2025, 10, 10, 5, 48, 2), 'result': '0.060996408322817906', 'result_long': None, 'result_double': None}] Qualite : 0.060996408322817906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27625035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625035_10-10-2025_05_48_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27625035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625035_10-10-2025_05_48_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27625058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27625059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27625060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27625061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27625062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27625063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27625064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27625065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27625066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27625067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27625068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27625069, 'pht': 3726}}" where mtr_portfolio_id = 27625035 and dashboard_run_id = 2428115 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`=27625035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217197, 0.060996408322817906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625035_10-10-2025_05_48_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27625058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27625059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27625060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27625061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27625062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27625063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27625064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27625065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27625066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27625067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27625068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27625069, '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 = 27625716 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': 3916977, 'mtr_portfolio_id': 27625716, 'created_at': datetime.datetime(2025, 10, 10, 5, 48, 33), 'result': '0.04304618884815759', 'result_long': None, 'result_double': None}] Qualite : 0.04304618884815759 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27625716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625716_10-10-2025_05_48_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27625716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625716_10-10-2025_05_48_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27625736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27625737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27625738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27625739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27625740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27625741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27625742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27625743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27625744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27625746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27625747, 'pht': 3726}}" where mtr_portfolio_id = 27625716 and dashboard_run_id = 2428115 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`=27625716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217198, 0.04304618884815759, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27625716_10-10-2025_05_48_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27625736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27625737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27625738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27625739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27625740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27625741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27625742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27625743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27625744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27625745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27625746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27625747, '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 = 27626354 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': 3916978, 'mtr_portfolio_id': 27626354, 'created_at': datetime.datetime(2025, 10, 10, 5, 50), 'result': '0.036356777451126164', 'result_long': None, 'result_double': None}] Qualite : 0.036356777451126164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27626354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626354_10-10-2025_05_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27626354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626354_10-10-2025_05_50_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27626365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27626366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27626367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27626368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27626369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27626370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27626371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27626372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27626374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27626375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27626376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27626377, 'pht': 3726}}" where mtr_portfolio_id = 27626354 and dashboard_run_id = 2428115 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`=27626354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217199, 0.036356777451126164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626354_10-10-2025_05_50_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27626365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27626366, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27626367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27626368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27626369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27626370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27626371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27626372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27626374, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27626375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27626376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27626377, '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 = 27626904 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': 3916979, 'mtr_portfolio_id': 27626904, 'created_at': datetime.datetime(2025, 10, 10, 5, 50, 36), 'result': '0.04339988082877766', 'result_long': None, 'result_double': None}] Qualite : 0.04339988082877766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27626904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626904_10-10-2025_05_50_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27626904 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626904_10-10-2025_05_50_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27626955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27626956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27626957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27626958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27626959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27626960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27626961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27626962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27626963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27626964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27626965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27626966, 'pht': 3726}}" where mtr_portfolio_id = 27626904 and dashboard_run_id = 2428115 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`=27626904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217200, 0.04339988082877766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27626904_10-10-2025_05_50_40.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27626955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27626956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27626957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27626958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27626959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27626960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27626961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27626962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27626963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27626964, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27626965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27626966, '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 = 27627828 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': 3916980, 'mtr_portfolio_id': 27627828, 'created_at': datetime.datetime(2025, 10, 10, 5, 51, 33), 'result': '0.04415028837793787', 'result_long': None, 'result_double': None}] Qualite : 0.04415028837793787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27627828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27627828_10-10-2025_05_51_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27627828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27627828_10-10-2025_05_51_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27627860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27627861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27627862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27627863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27627864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27627865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27627866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27627867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27627868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27627869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27627870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27627871, 'pht': 3726}}" where mtr_portfolio_id = 27627828 and dashboard_run_id = 2428115 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`=27627828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217201, 0.04415028837793787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27627828_10-10-2025_05_51_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27627860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27627861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27627862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27627863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27627864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27627865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27627866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27627867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27627868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27627869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27627870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27627871, '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 = 27628633 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': 3916981, 'mtr_portfolio_id': 27628633, 'created_at': datetime.datetime(2025, 10, 10, 5, 52), 'result': '0.06738873489643545', 'result_long': None, 'result_double': None}] Qualite : 0.06738873489643545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27628633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27628633_10-10-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27628633 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27628633_10-10-2025_05_52_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27628706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27628707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27628708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27628709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27628710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27628711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27628712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27628713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27628714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27628715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27628716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27628717, 'pht': 3726}}" where mtr_portfolio_id = 27628633 and dashboard_run_id = 2428115 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`=27628633 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217202, 0.06738873489643545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27628633_10-10-2025_05_52_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27628706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27628707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27628708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27628709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27628710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27628711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27628712, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27628713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27628714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27628715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27628716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27628717, '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 = 27629335 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': 3916982, 'mtr_portfolio_id': 27629335, 'created_at': datetime.datetime(2025, 10, 10, 5, 52, 34), 'result': '0.05953414897567306', 'result_long': None, 'result_double': None}] Qualite : 0.05953414897567306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27629335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27629335_10-10-2025_05_52_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27629335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27629335_10-10-2025_05_52_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27629349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27629350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27629352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27629353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27629354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27629355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27629356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27629357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27629358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27629359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27629360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27629361, 'pht': 3726}}" where mtr_portfolio_id = 27629335 and dashboard_run_id = 2428115 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`=27629335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217203, 0.05953414897567306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27629335_10-10-2025_05_52_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27629349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27629350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27629352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27629353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27629354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27629355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27629356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27629357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27629358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27629359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27629360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27629361, '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 = 27630015 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': 3916983, 'mtr_portfolio_id': 27630015, 'created_at': datetime.datetime(2025, 10, 10, 5, 53, 31), 'result': '0.038439651448997816', 'result_long': None, 'result_double': None}] Qualite : 0.038439651448997816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27630015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630015_10-10-2025_05_53_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27630015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630015_10-10-2025_05_53_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27630051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27630052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27630053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27630054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27630055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27630056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27630057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27630058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27630059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27630060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27630061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27630062, 'pht': 3726}}" where mtr_portfolio_id = 27630015 and dashboard_run_id = 2428115 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`=27630015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217204, 0.038439651448997816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630015_10-10-2025_05_53_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27630051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27630052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27630053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27630054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27630055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27630056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27630057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27630058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27630059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27630060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27630061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27630062, '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 = 27630822 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': 3916984, 'mtr_portfolio_id': 27630822, 'created_at': datetime.datetime(2025, 10, 10, 5, 54, 3), 'result': '0.04374296600986935', 'result_long': None, 'result_double': None}] Qualite : 0.04374296600986935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27630822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630822_10-10-2025_05_54_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27630822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630822_10-10-2025_05_54_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27630853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27630854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27630855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27630856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27630857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27630858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27630859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27630860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27630861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27630862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27630863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27630864, 'pht': 3726}}" where mtr_portfolio_id = 27630822 and dashboard_run_id = 2428115 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`=27630822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217205, 0.04374296600986935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27630822_10-10-2025_05_54_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27630853, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27630854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27630855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27630856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27630857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27630858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27630859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27630860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27630861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27630862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27630863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27630864, '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 = 27631512 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': 3916985, 'mtr_portfolio_id': 27631512, 'created_at': datetime.datetime(2025, 10, 10, 5, 54, 30), 'result': '0.0475908971018055', 'result_long': None, 'result_double': None}] Qualite : 0.0475908971018055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27631512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27631512_10-10-2025_05_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27631512 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27631512_10-10-2025_05_54_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27631531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27631532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27631533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27631534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27631535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27631536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27631537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27631538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27631539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27631540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27631541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27631542, 'pht': 3726}}" where mtr_portfolio_id = 27631512 and dashboard_run_id = 2428115 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`=27631512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217206, 0.0475908971018055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27631512_10-10-2025_05_54_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27631531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27631532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27631533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27631534, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27631535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27631536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27631537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27631538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27631539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27631540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27631541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27631542, '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 = 27632207 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': 3916986, 'mtr_portfolio_id': 27632207, 'created_at': datetime.datetime(2025, 10, 10, 5, 55, 29), 'result': '0.036934425745816506', 'result_long': None, 'result_double': None}] Qualite : 0.036934425745816506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27632207 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27632207_10-10-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27632207 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27632207_10-10-2025_05_55_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27632261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27632262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27632263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27632264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27632265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27632266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27632267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27632268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27632269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27632270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27632271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27632272, 'pht': 3726}}" where mtr_portfolio_id = 27632207 and dashboard_run_id = 2428115 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`=27632207 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217207, 0.036934425745816506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27632207_10-10-2025_05_55_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27632261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27632262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27632263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27632264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27632265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27632266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27632267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27632268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27632269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27632270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27632271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27632272, '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 = 27634525 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': 3916987, 'mtr_portfolio_id': 27634525, 'created_at': datetime.datetime(2025, 10, 10, 5, 55, 59), 'result': '0.0596792229432291', 'result_long': None, 'result_double': None}] Qualite : 0.0596792229432291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27634525 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27634525_10-10-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27634525 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27634525_10-10-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27634536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27634537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27634538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27634539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27634540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27634541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27634542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27634543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27634544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27634545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27634546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27634547, 'pht': 3726}}" where mtr_portfolio_id = 27634525 and dashboard_run_id = 2428115 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`=27634525 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217208, 0.0596792229432291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27634525_10-10-2025_05_56_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27634536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27634537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27634538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27634539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27634540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27634541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27634542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27634543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27634544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27634545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27634546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27634547, '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 = 27635080 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': 3916988, 'mtr_portfolio_id': 27635080, 'created_at': datetime.datetime(2025, 10, 10, 5, 56, 34), 'result': '0.040429073766092415', 'result_long': None, 'result_double': None}] Qualite : 0.040429073766092415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27635080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27635080_10-10-2025_05_56_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27635080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27635080_10-10-2025_05_56_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27635090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27635091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27635092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27635093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27635094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27635095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27635096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27635097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27635098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27635099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27635100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27635102, 'pht': 3726}}" where mtr_portfolio_id = 27635080 and dashboard_run_id = 2428115 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`=27635080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217209, 0.040429073766092415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27635080_10-10-2025_05_56_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27635090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27635091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27635092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27635093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27635094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27635095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27635096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27635097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27635098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27635099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27635100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27635102, '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 = 27636064 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': 3916989, 'mtr_portfolio_id': 27636064, 'created_at': datetime.datetime(2025, 10, 10, 5, 57, 33), 'result': '0.05353404405944844', 'result_long': None, 'result_double': None}] Qualite : 0.05353404405944844 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27636064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27636064_10-10-2025_05_57_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27636064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27636064_10-10-2025_05_57_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27636074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27636075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27636076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27636077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27636078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27636079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27636080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27636081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27636082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27636083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27636084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27636086, 'pht': 3726}}" where mtr_portfolio_id = 27636064 and dashboard_run_id = 2428115 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`=27636064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217210, 0.05353404405944844, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27636064_10-10-2025_05_57_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27636074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27636075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27636076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27636077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27636078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27636079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27636080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27636081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27636082, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27636083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27636084, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27636086, '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 = 27637006 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': 3916990, 'mtr_portfolio_id': 27637006, 'created_at': datetime.datetime(2025, 10, 10, 5, 58, 2), 'result': '0.03969372545000926', 'result_long': None, 'result_double': None}] Qualite : 0.03969372545000926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27637006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27637006_10-10-2025_05_58_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27637006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27637006_10-10-2025_05_58_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27637072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27637073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27637074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27637075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27637076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27637077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27637094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27637095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27637096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27637097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27637098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27637099, 'pht': 3726}}" where mtr_portfolio_id = 27637006 and dashboard_run_id = 2428115 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`=27637006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217211, 0.03969372545000926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27637006_10-10-2025_05_58_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27637072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27637073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27637074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27637075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27637076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27637077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27637094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27637095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27637096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27637097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27637098, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27637099, '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 = 27644666 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': 3916991, 'mtr_portfolio_id': 27644666, 'created_at': datetime.datetime(2025, 10, 10, 5, 59), 'result': '0.043474370113462335', 'result_long': None, 'result_double': None}] Qualite : 0.043474370113462335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27644666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644666_10-10-2025_05_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27644666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644666_10-10-2025_05_59_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27644670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27644671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27644672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27644673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27644674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27644676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27644677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27644678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27644679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27644680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27644681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27644682, 'pht': 3726}}" where mtr_portfolio_id = 27644666 and dashboard_run_id = 2428115 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`=27644666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217212, 0.043474370113462335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644666_10-10-2025_05_59_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27644670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27644671, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27644672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27644673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27644674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27644676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27644677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27644678, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27644679, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27644680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27644681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27644682, '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 = 27644949 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': 3916992, 'mtr_portfolio_id': 27644949, 'created_at': datetime.datetime(2025, 10, 10, 5, 59, 32), 'result': '0.044646936062867806', 'result_long': None, 'result_double': None}] Qualite : 0.044646936062867806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27644949 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644949_10-10-2025_05_59_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27644949 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644949_10-10-2025_05_59_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27645027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27645028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27645029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27645030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27645031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27645032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27645033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27645034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27645035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27645036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27645037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27645038, 'pht': 3726}}" where mtr_portfolio_id = 27644949 and dashboard_run_id = 2428115 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`=27644949 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217213, 0.044646936062867806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27644949_10-10-2025_05_59_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27645027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27645028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27645029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27645030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27645031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27645032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27645033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27645034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27645035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27645036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27645037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27645038, '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 = 27645669 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': 3916993, 'mtr_portfolio_id': 27645669, 'created_at': datetime.datetime(2025, 10, 10, 6, 0, 4), 'result': '0.05028752481468218', 'result_long': None, 'result_double': None}] Qualite : 0.05028752481468218 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27645669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27645669_10-10-2025_06_00_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27645669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27645669_10-10-2025_06_00_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27645675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27645676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27645677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27645678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27645679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27645680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27645681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27645683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27645684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27645685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27645686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27645687, 'pht': 3726}}" where mtr_portfolio_id = 27645669 and dashboard_run_id = 2428115 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`=27645669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217214, 0.05028752481468218, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27645669_10-10-2025_06_00_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27645675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27645676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27645677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27645678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27645679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27645680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27645681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27645683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27645684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27645685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27645686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27645687, '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 = 27646241 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': 3916994, 'mtr_portfolio_id': 27646241, 'created_at': datetime.datetime(2025, 10, 10, 6, 0, 34), 'result': '0.038683319848581116', 'result_long': None, 'result_double': None}] Qualite : 0.038683319848581116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27646241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646241_10-10-2025_06_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27646241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646241_10-10-2025_06_00_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27646328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27646329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27646330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27646331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27646332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27646333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27646334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27646335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27646336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27646337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27646338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27646339, 'pht': 3726}}" where mtr_portfolio_id = 27646241 and dashboard_run_id = 2428115 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`=27646241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217215, 0.038683319848581116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646241_10-10-2025_06_00_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27646328, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27646329, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27646330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27646331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27646332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27646333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27646334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27646335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27646336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27646337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27646338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27646339, '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 = 27646955 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': 3916995, 'mtr_portfolio_id': 27646955, 'created_at': datetime.datetime(2025, 10, 10, 6, 1, 41), 'result': '0.05032615816562841', 'result_long': None, 'result_double': None}] Qualite : 0.05032615816562841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27646955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646955_10-10-2025_06_01_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27646955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646955_10-10-2025_06_01_44.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27646981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27646982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27646983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27646984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27646985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27646986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27646987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27646989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27646990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27646991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27646992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27646993, 'pht': 3726}}" where mtr_portfolio_id = 27646955 and dashboard_run_id = 2428115 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`=27646955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217216, 0.05032615816562841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27646955_10-10-2025_06_01_44.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27646981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27646982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27646983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27646984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27646985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27646986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27646987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27646989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27646990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27646991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27646992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27646993, '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 = 27647577 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': 3916996, 'mtr_portfolio_id': 27647577, 'created_at': datetime.datetime(2025, 10, 10, 6, 2, 39), 'result': '0.09167594932872541', 'result_long': None, 'result_double': None}] Qualite : 0.09167594932872541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27647577 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27647577_10-10-2025_06_02_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27647577 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27647577_10-10-2025_06_02_41.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27647642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27647643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27647644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27647645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27647646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27647647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27647648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27647649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27647650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27647651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27647653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27647654, 'pht': 3726}}" where mtr_portfolio_id = 27647577 and dashboard_run_id = 2428115 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`=27647577 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217217, 0.09167594932872541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27647577_10-10-2025_06_02_41.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27647642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27647643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27647644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27647645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27647646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27647647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27647648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27647649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27647650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27647651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27647653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27647654, '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 = 27649321 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': 3916997, 'mtr_portfolio_id': 27649321, 'created_at': datetime.datetime(2025, 10, 10, 6, 3, 59), 'result': '0.039060171108011', 'result_long': None, 'result_double': None}] Qualite : 0.039060171108011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27649321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649321_10-10-2025_06_04_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27649321 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649321_10-10-2025_06_04_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27649322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27649323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27649324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27649325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27649326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27649327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27649328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27649329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27649330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27649331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27649332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27649333, 'pht': 3726}}" where mtr_portfolio_id = 27649321 and dashboard_run_id = 2428115 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`=27649321 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217218, 0.039060171108011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649321_10-10-2025_06_04_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27649322, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27649323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27649324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27649325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27649326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27649327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27649328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27649329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27649330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27649331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27649332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27649333, '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 = 27649626 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': 3904421, 'mtr_portfolio_id': 27649626, 'created_at': datetime.datetime(2025, 10, 9, 16, 17), 'result': '0.04822127713614868', 'result_long': None, 'result_double': None}] Qualite : 0.04822127713614868 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27649626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649626_09-10-2025_16_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27649626 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649626_09-10-2025_16_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27649668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27649669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27649670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27649671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27649672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27649673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27649674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27649675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27649676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27649678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27649679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27649680, 'pht': 3726}}" where mtr_portfolio_id = 27649626 and dashboard_run_id = 2428115 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`=27649626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217219, 0.04822127713614868, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27649626_09-10-2025_16_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27649668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27649669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27649670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27649671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27649672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27649673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27649674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27649675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27649676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27649678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27649679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27649680, '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 = 27650213 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': 3904512, 'mtr_portfolio_id': 27650213, 'created_at': datetime.datetime(2025, 10, 9, 16, 35), 'result': '0.058924176410397405', 'result_long': None, 'result_double': None}] Qualite : 0.058924176410397405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27650213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650213_09-10-2025_16_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27650213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650213_09-10-2025_16_35_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27650263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27650264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27650265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27650266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27650267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27650268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27650269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27650270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27650271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27650272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27650273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27650274, 'pht': 3726}}" where mtr_portfolio_id = 27650213 and dashboard_run_id = 2428115 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`=27650213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217220, 0.058924176410397405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650213_09-10-2025_16_35_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27650263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27650264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27650265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27650266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27650267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27650268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27650269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27650270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27650271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27650272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27650273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27650274, '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 = 27650751 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': 3904633, 'mtr_portfolio_id': 27650751, 'created_at': datetime.datetime(2025, 10, 9, 16, 47, 2), 'result': '0.035220033015282336', 'result_long': None, 'result_double': None}] Qualite : 0.035220033015282336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27650751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650751_09-10-2025_16_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27650751 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650751_09-10-2025_16_47_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27650757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27650758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27650759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27650760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27650762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27650763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27650764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27650765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27650766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27650767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27650768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27650769, 'pht': 3726}}" where mtr_portfolio_id = 27650751 and dashboard_run_id = 2428115 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`=27650751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217221, 0.035220033015282336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27650751_09-10-2025_16_47_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27650757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27650758, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27650759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27650760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27650762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27650763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27650764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27650765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27650766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27650767, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27650768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27650769, '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 = 27651293 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': 3904735, 'mtr_portfolio_id': 27651293, 'created_at': datetime.datetime(2025, 10, 9, 17, 7, 2), 'result': '0.04687697820076299', 'result_long': None, 'result_double': None}] Qualite : 0.04687697820076299 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27651293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651293_09-10-2025_17_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27651293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651293_09-10-2025_17_07_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27651294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27651295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27651296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27651297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27651298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27651299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27651300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27651301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27651302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27651303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27651304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27651305, 'pht': 3726}}" where mtr_portfolio_id = 27651293 and dashboard_run_id = 2428115 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`=27651293 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217222, 0.04687697820076299, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651293_09-10-2025_17_07_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27651294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27651295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27651296, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27651297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27651298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27651299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27651300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27651301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27651302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27651303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27651304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27651305, '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 = 27651809 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': 3904875, 'mtr_portfolio_id': 27651809, 'created_at': datetime.datetime(2025, 10, 9, 17, 17), 'result': '0.07904893465500809', 'result_long': None, 'result_double': None}] Qualite : 0.07904893465500809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27651809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651809_09-10-2025_17_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27651809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651809_09-10-2025_17_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27651850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27651851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27651852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27651853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27651854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27651855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27651856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27651857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27651870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27651871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27651872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27651873, 'pht': 3726}}" where mtr_portfolio_id = 27651809 and dashboard_run_id = 2428115 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`=27651809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217223, 0.07904893465500809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27651809_09-10-2025_17_17_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27651850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27651851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27651852, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27651853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27651854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27651855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27651856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27651857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27651870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27651871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27651872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27651873, '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 = 27652587 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': 3905113, 'mtr_portfolio_id': 27652587, 'created_at': datetime.datetime(2025, 10, 9, 18, 3, 7), 'result': '0.07010741544253013', 'result_long': None, 'result_double': None}] Qualite : 0.07010741544253013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27652587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27652587_09-10-2025_18_03_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27652587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27652587_09-10-2025_18_03_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27652594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27652595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27652596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27652597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27652598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27652599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27652600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27652601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27652602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27652603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27652604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27652606, 'pht': 3726}}" where mtr_portfolio_id = 27652587 and dashboard_run_id = 2428115 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`=27652587 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217224, 0.07010741544253013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27652587_09-10-2025_18_03_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27652594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27652595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27652596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27652597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27652598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27652599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27652600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27652601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27652602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27652603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27652604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27652606, '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 = 27654052 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': 3905577, 'mtr_portfolio_id': 27654052, 'created_at': datetime.datetime(2025, 10, 9, 18, 16, 58), 'result': '0.08777412839792845', 'result_long': None, 'result_double': None}] Qualite : 0.08777412839792845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27654052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654052_09-10-2025_18_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27654052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654052_09-10-2025_18_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27654090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27654091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27654092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27654093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27654094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27654095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27654096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27654097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27654098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27654099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27654100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27654101, 'pht': 3726}}" where mtr_portfolio_id = 27654052 and dashboard_run_id = 2428115 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`=27654052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217225, 0.08777412839792845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654052_09-10-2025_18_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27654090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27654091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27654092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27654093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27654094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27654095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27654096, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27654097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27654098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27654099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27654100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27654101, '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 = 27654478 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': 3905635, 'mtr_portfolio_id': 27654478, 'created_at': datetime.datetime(2025, 10, 9, 18, 35, 5), 'result': '0.0416251345569668', 'result_long': None, 'result_double': None}] Qualite : 0.0416251345569668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27654478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654478_09-10-2025_18_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27654478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654478_09-10-2025_18_35_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27654507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27654508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27654509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27654510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27654511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27654512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27654513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27654514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27654515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27654516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27654517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27654518, 'pht': 3726}}" where mtr_portfolio_id = 27654478 and dashboard_run_id = 2428115 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`=27654478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217226, 0.0416251345569668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27654478_09-10-2025_18_35_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27654507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27654508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27654509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27654510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27654511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27654512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27654513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27654514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27654515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27654516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27654517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27654518, '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 = 27655003 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': 3905766, 'mtr_portfolio_id': 27655003, 'created_at': datetime.datetime(2025, 10, 9, 18, 49, 3), 'result': '0.041541609460912725', 'result_long': None, 'result_double': None}] Qualite : 0.041541609460912725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27655003 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655003_09-10-2025_18_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27655003 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655003_09-10-2025_18_49_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27655015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27655016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27655017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27655018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27655019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27655021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27655022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27655023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27655024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27655025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27655026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27655027, 'pht': 3726}}" where mtr_portfolio_id = 27655003 and dashboard_run_id = 2428115 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`=27655003 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217227, 0.041541609460912725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655003_09-10-2025_18_49_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27655015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27655016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27655017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27655018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27655019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27655021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27655022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27655023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27655024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27655025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27655026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27655027, '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 = 27655633 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': 3905864, 'mtr_portfolio_id': 27655633, 'created_at': datetime.datetime(2025, 10, 9, 19, 3, 2), 'result': '0.09004477538695801', 'result_long': None, 'result_double': None}] Qualite : 0.09004477538695801 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27655633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655633_09-10-2025_19_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27655633 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655633_09-10-2025_19_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27655635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27655636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27655637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27655638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27655639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27655640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27655641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27655642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27655643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27655644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27655645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27655646, 'pht': 3726}}" where mtr_portfolio_id = 27655633 and dashboard_run_id = 2428115 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`=27655633 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217228, 0.09004477538695801, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27655633_09-10-2025_19_03_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27655635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27655636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27655637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27655638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27655639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27655640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27655641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27655642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27655643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27655644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27655645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27655646, '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 = 27656089 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 = 27656089 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 = 27656089 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27656089 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 = 27656089 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 = 27656089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27656089_09-10-2025_19_17_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27656089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27656089_09-10-2025_19_17_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27656129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27656130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27656132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27656133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27656134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27656135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27656136, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27656137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27656138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27656139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27656140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27656141, 'pht': 3726}}" where mtr_portfolio_id = 27656089 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27656782 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': 3906242, 'mtr_portfolio_id': 27656782, 'created_at': datetime.datetime(2025, 10, 9, 19, 33, 34), 'result': '0.07513537827420054', 'result_long': None, 'result_double': None}] Qualite : 0.07513537827420054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27656782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27656782_09-10-2025_19_33_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27656782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27656782_09-10-2025_19_33_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27656856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27656857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27656858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27656859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27656860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27656861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27656862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27656863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27656864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27656865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27656866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27656867, 'pht': 3726}}" where mtr_portfolio_id = 27656782 and dashboard_run_id = 2428115 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`=27656782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217231, 0.07513537827420054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27656782_09-10-2025_19_33_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27656856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27656857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27656858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27656859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27656860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27656861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27656862, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27656863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27656864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27656865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27656866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27656867, '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 = 27657419 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': 3906522, 'mtr_portfolio_id': 27657419, 'created_at': datetime.datetime(2025, 10, 9, 19, 49, 1), 'result': '0.035190725991489306', 'result_long': None, 'result_double': None}] Qualite : 0.035190725991489306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27657419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27657419_09-10-2025_19_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27657419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27657419_09-10-2025_19_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27657431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27657432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27657433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27657434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27657435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27657436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27657437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27657438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27657439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27657440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27657441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27657442, 'pht': 3726}}" where mtr_portfolio_id = 27657419 and dashboard_run_id = 2428115 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`=27657419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217232, 0.035190725991489306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27657419_09-10-2025_19_49_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27657431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27657432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27657433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27657434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27657435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27657436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27657437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27657438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27657439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27657440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27657441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27657442, '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 = 27658174 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': 3906845, 'mtr_portfolio_id': 27658174, 'created_at': datetime.datetime(2025, 10, 9, 20, 5, 5), 'result': '0.06191571408117696', 'result_long': None, 'result_double': None}] Qualite : 0.06191571408117696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27658174 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658174_09-10-2025_20_05_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27658174 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658174_09-10-2025_20_05_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27658213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27658214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27658215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27658216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27658217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27658218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27658219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27658220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27658221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27658222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27658223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27658224, 'pht': 3726}}" where mtr_portfolio_id = 27658174 and dashboard_run_id = 2428115 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`=27658174 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217233, 0.06191571408117696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658174_09-10-2025_20_05_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27658213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27658214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27658215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27658216, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27658217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27658218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27658219, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27658220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27658221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27658222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27658223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27658224, '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 = 27658831 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': 3907149, 'mtr_portfolio_id': 27658831, 'created_at': datetime.datetime(2025, 10, 9, 20, 17, 2), 'result': '0.03419724977236021', 'result_long': None, 'result_double': None}] Qualite : 0.03419724977236021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27658831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658831_09-10-2025_20_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27658831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658831_09-10-2025_20_17_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27658907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27658908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27658909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27658910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27658911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27658912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27658913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27658914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27658915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27658916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27658917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27658918, 'pht': 3726}}" where mtr_portfolio_id = 27658831 and dashboard_run_id = 2428115 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`=27658831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217234, 0.03419724977236021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27658831_09-10-2025_20_17_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27658907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27658908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27658909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27658910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27658911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27658912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27658913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27658914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27658915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27658916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27658917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27658918, '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 = 27659587 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 = 27659587 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 = 27659587 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27659587 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 = 27659587 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 = 27659587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27659587_09-10-2025_20_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27659587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27659587_09-10-2025_20_35_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27659622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27659623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27659625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27659626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27659627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27659628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27659629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27659630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27659631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27659632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27659633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27659634, 'pht': 3726}}" where mtr_portfolio_id = 27659587 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27660217 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': 3907644, 'mtr_portfolio_id': 27660217, 'created_at': datetime.datetime(2025, 10, 9, 21, 5, 6), 'result': '0.05449389316224274', 'result_long': None, 'result_double': None}] Qualite : 0.05449389316224274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27660217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27660217_09-10-2025_21_05_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27660217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27660217_09-10-2025_21_05_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27660246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27660247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27660249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27660250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27660251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27660252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27660253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27660254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27660255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27660256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27660257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27660258, 'pht': 3726}}" where mtr_portfolio_id = 27660217 and dashboard_run_id = 2428115 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`=27660217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16217237, 0.05449389316224274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27660217_09-10-2025_21_05_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27660246, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27660247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27660249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27660250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27660251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27660252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27660253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27660254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27660255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27660256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27660257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27660258, '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 = 27665423 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 = 27665423 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 = 27665423 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27665423 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 = 27665423 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 = 27665423 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27665423_09-10-2025_23_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27665423 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27665423_09-10-2025_23_17_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27665447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27665448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27665449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27665450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27665451, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27665452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27665453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27665454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27665455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27665456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27665457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27665458, 'pht': 3726}}" where mtr_portfolio_id = 27665423 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27665756 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 = 27665756 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 = 27665756 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27665756 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 = 27665756 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 = 27665756 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27665756_09-10-2025_23_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27665756 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27665756_09-10-2025_23_35_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27665782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27665783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27665785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27665786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27665787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27665788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27665789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27665790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27665791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27665792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27665793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27665794, 'pht': 3726}}" where mtr_portfolio_id = 27665756 and dashboard_run_id = 2428115 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666168 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 = 27666168 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 = 27666168 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666168 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 = 27666168 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 = 27666168 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666168_09-10-2025_23_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27666168 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666168_09-10-2025_23_49_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666206, 'pht': 3726}}" where mtr_portfolio_id = 27666168 and dashboard_run_id = 2428119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666588 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 = 27666588 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 = 27666588 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666588 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 = 27666588 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 = 27666588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666588_09-10-2025_23_59_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27666588 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666588_09-10-2025_23_59_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27666648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666654, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666659, 'pht': 3726}}" where mtr_portfolio_id = 27666588 and dashboard_run_id = 2428119 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27616397,27616511,27616659,27616991,27618012,27618241,27618510,27618804,27619103,27619532,27620022,27620507,27620936,27621421,27621858,27622985,27623042,27623172,27623708,27624416,27625035,27625716,27626354,27626904,27627828,27628633,27629335,27630015,27630822,27631512,27632207,27634525,27635080,27636064,27637006,27644666,27644949,27645669,27646241,27646955,27647577,27649321,27649626,27650213,27650751,27651293,27651809,27652587,27654052,27654478,27655003,27655633,27656089,27656782,27657419,27658174,27658831,27659587,27660217,27665423,27665756,27666168,27666588) result : ((1388277422,), (1388277424,), (1388277426,), (1388277449,), (1388277450,), (1388277452,), (1388277458,), (1388277459,), (1388277461,), (1388277465,), (1388277469,), (1388277478,), (1388277480,), (1388277482,), (1388277498,), (1388277499,), (1388277500,), (1388277502,), (1388277505,), (1388277518,), (1388277520,), (1388277522,), (1388277525,), (1388277542,), (1388277544,), (1388277547,), (1388277550,), (1388277553,), (1388277562,), (1388277564,), (1388277567,), (1388277585,), (1388277592,), (1388277607,), (1388277646,), (1388277648,), (1388277649,), (1388277668,), (1388277669,), (1388277670,), (1388277674,), (1388277678,), (1388277681,), (1388277688,), (1388277690,), (1388277693,), (1388277696,), (1388277699,), (1388277702,), (1388277707,), (1388277709,), (1388277713,), (1388277716,), (1388277718,), (1388277719,), (1388277724,), (1388277730,), (1388277733,), (1388277736,), (1388277740,), (1388277748,), (1388277768,), (1388277772,), (1388277776,), (1388277779,), (1388277782,), (1388277784,), (1388277786,), (1388277789,), (1388277804,), (1388277805,), (1388277839,), (1388277820,), (1388277823,), (1388277828,), (1388277832,), (1388277837,), (1388277846,), (1388277847,), (1388277848,), (1388277850,), (1388277854,), (1388277858,), (1388277885,), (1388277887,), (1388277889,), (1388277914,), (1388277915,), (1388277916,), (1388277918,), (1388277930,), (1388277932,), (1388277934,), (1388277938,), (1388277957,), (1388277958,), (1388277960,), (1388277963,), (1388277966,), (1388277969,), (1388277978,), (1388277981,), (1388277984,), (1388277987,), (1388277991,), (1388277993,), (1388277999,), (1388278001,), (1388278020,), (1388278028,), (1388278043,), (1388278051,), (1388278055,), (1388278056,), (1388278058,), (1388278060,), (1388278062,), (1388278064,), (1388278068,), (1388278071,), (1388278074,), (1388278077,), (1388278094,), (1388278099,), (1388278101,), (1388278105,), (1388278109,), (1388278120,), (1388278122,), (1388278124,), (1388278128,), (1388278141,), (1388278142,), (1388278146,), (1388278151,), (1388278155,), (1388278159,), (1388278184,), (1388278186,), (1388278188,), (1388278192,), (1388278196,), (1388278202,), (1388278217,), (1388278220,), (1388278225,), (1388278256,), (1388278328,), (1388278330,), (1388278332,), (1388278244,), (1388278246,), (1388278249,), (1388278252,), (1388278254,), (1388278264,), (1388278266,), (1388278269,), (1388278272,), (1388278281,), (1388278295,), (1388278307,), (1388278309,), (1388278311,), (1388278314,), (1388278316,), (1388278319,), (1388278324,), (1388278327,), (1388278334,), (1388278337,), (1388278341,), (1388278344,), (1388278357,), (1388278358,), (1388278359,), (1388278362,), (1388278366,), (1388278376,), (1388278378,), (1388278381,), (1388278384,), (1388278388,), (1388278399,), (1388278401,), (1388278403,), (1388278441,), (1388278443,), (1388278445,), (1388278449,), (1388278463,), (1388278464,), (1388278466,), (1388278469,), (1388278472,), (1388278475,), (1388278484,), (1388278486,), (1388278488,), (1388278492,), (1388278503,), (1388278505,), (1388278507,), (1388278509,), (1388278511,), (1388278513,), (1388278521,), (1388278524,), (1388278526,), (1388278529,), (1388278533,), (1388278540,), (1388278559,), (1388278561,), (1388278573,), (1388278575,), (1388278577,), (1388278585,), (1388278586,), (1388278588,), (1388278589,), (1388278590,), (1388278591,), (1388278592,), (1388278593,), (1388278595,), (1388278597,), (1388278600,), (1388278604,), (1388278608,), (1388278618,), (1388278619,), (1388278643,), (1388278634,), (1388278636,), (1388278638,), (1388278642,), (1388278651,), (1388278653,), (1388278655,), (1388278697,), (1388278699,), (1388278700,), (1388278703,), (1388278706,), (1388278723,), (1388278725,), (1388278727,), (1388278742,), (1388278743,), (1388278744,), (1388278746,), (1388278750,), (1388278762,), (1388278764,), (1388278767,), (1388278771,), (1388278774,), (1388278775,), (1388278779,), (1388278782,), (1388278785,), (1388278788,), (1388278789,), (1388278791,), (1388278794,), (1388278796,), (1388278803,), (1388278809,), (1388278825,), (1388278837,), (1388278855,), (1388278858,), (1388278861,), (1388278863,), (1388278864,), (1388278865,), (1388278868,), (1388278869,), (1388278871,), (1388278874,), (1388278877,), (1388278880,), (1388278894,), (1388278896,), (1388278898,), (1388278902,), (1388278911,), (1388278913,), (1388278915,), (1388278918,), (1388278934,), (1388278936,), (1388278939,), (1388278942,), (1388278946,), (1388278948,), (1388278956,), (1388278967,), (1388278979,), (1388278991,), (1388279001,), (1388279010,), (1388279036,), (1388279039,), (1388279041,), (1388279043,), (1388279046,), (1388279049,), (1388279069,), (1388279072,), (1388279073,), (1388279075,), (1388279078,), (1388279081,), (1388279089,), (1388279090,), (1388279092,), (1388279095,), (1388279097,), (1388279100,), (1388279106,), (1388279735,), (1388279733,), (1388279751,), (1388279753,), (1388279755,), (1388279759,), (1388279792,), (1388279794,), (1388279797,), (1388279812,), (1388279814,), (1388279816,), (1388279820,), (1388279828,), (1388279830,), (1388279832,), (1388279836,), (1388279840,), (1388279843,), (1388279852,), (1388279853,), (1388279854,), (1388279880,), (1388279882,), (1388279884,), (1388279888,), (1388279891,), (1388279894,), (1388279926,), (1388279928,), (1388279932,), (1388279936,), (1388279939,), (1388279941,), (1388279947,), (1388279948,), (1388279950,), (1388279952,), (1388279954,), (1388279961,), (1388279963,), (1388279966,), (1388279971,), (1388279973,), (1388279974,), (1388279978,), (1388279982,), (1388279994,), (1388279997,), (1388280002,), (1388280005,), (1388280008,), (1388280010,), (1388280019,), (1388280022,), (1388280025,), (1388280028,), (1388280038,), (1388280046,), (1388280060,), (1388280066,), (1388280068,), (1388280070,), (1388280072,), (1388280074,), (1388280083,), (1388280084,), (1388280087,), (1388280089,), (1388280091,), (1388280092,), (1388280096,), (1388280097,), (1388280101,), (1388280102,), (1388280105,), (1388280106,), (1388280110,), (1388280111,), (1388280113,), (1388280115,), (1388280118,), (1388280122,), (1388280132,), (1388280135,), (1388280138,), (1388280144,), (1388280147,), (1388280157,), (1388280153,), (1388280155,), (1388280174,), (1388280176,), (1388280177,), (1388280180,), (1388280184,), (1388280228,), (1388280230,), (1388280232,), (1388280256,), (1388280257,), (1388280258,), (1388280260,), (1388280263,), (1388280266,), (1388280276,), (1388280278,), (1388280280,), (1388280283,), (1388280296,), (1388280297,), (1388280299,), (1388280302,), (1388280305,), (1388280308,), (1388280319,), (1388280323,), (1388280327,), (1388280331,), (1388280334,), (1388280349,), (1388280362,), (1388280363,), (1388280365,), (1388280369,), (1388280371,), (1388280375,), (1388280381,), (1388280383,), (1388280386,), (1388280388,), (1388280390,), (1388280392,), (1388280394,), (1388280396,), (1388280399,), (1388280402,), (1388280406,), (1388280409,), (1388280422,), (1388280424,), (1388280426,), (1388280430,), (1388280435,), (1388280439,), (1388280448,), (1388280450,), (1388280467,), (1388280468,), (1388280469,), (1388280471,), (1388280474,), (1388280480,), (1388280555,), (1388280548,), (1388280549,), (1388280550,), (1388280551,), (1388280566,), (1388280569,), (1388280572,), (1388280604,), (1388280607,), (1388280609,), (1388280611,), (1388280614,), (1388280616,), (1388280626,), (1388280629,), (1388280633,), (1388280645,), (1388280646,), (1388280650,), (1388280660,), (1388280662,), (1388280667,), (1388280670,), (1388280672,), (1388280676,), (1388280694,), (1388280696,), (1388280698,), (1388280699,), (1388280703,), (1388280733,), (1388280735,), (1388280738,), (1388280741,), (1388280745,), (1388280751,), (1388280753,), (1388280755,), (1388280757,), (1388280761,), (1388280764,), (1388280771,), (1388280773,), (1388280775,), (1388280791,), (1388280792,), (1388280794,), (1388280797,), (1388280800,), (1388280803,), (1388280809,), (1388280812,), (1388280816,), (1388280819,), (1388280827,), (1388280835,), (1388280838,), (1388280841,), (1388280845,), (1388280848,), (1388280850,), (1388280852,), (1388280857,), (1388280861,), (1388280864,), (1388280866,), (1388280869,), (1388280871,), (1388280874,), (1388280877,), (1388280879,), (1388280882,), (1388280885,), (1388280888,), (1388280891,), (1388280897,), (1388280900,), (1388280903,), (1388280908,), (1388280935,), (1388280921,), (1388280923,), (1388280924,), (1388280927,), (1388280932,), (1388280943,), (1388280945,), (1388280947,), (1388280950,), (1388280953,), (1388280985,), (1388280987,), (1388280989,), (1388281010,), (1388281011,), (1388281012,), (1388281015,), (1388281019,), (1388281022,), (1388281030,), (1388281032,), (1388281034,), (1388281038,), (1388281042,), (1388281044,), (1388281051,), (1388281053,), (1388281055,), (1388281058,), (1388281061,), (1388281063,), (1388281074,), (1388281076,), (1388281079,), (1388281094,), (1388281101,), (1388281115,), (1388281119,), (1388281120,), (1388281122,), (1388281124,), (1388281127,), (1388281131,), (1388281139,), (1388281140,), (1388281143,), (1388281144,), (1388281147,), (1388281148,), (1388281150,), (1388281151,), (1388281153,), (1388281154,), (1388281156,), (1388281157,), (1388281160,), (1388281162,), (1388281163,), (1388281165,), (1388281168,), (1388281171,), (1388281179,), (1388281182,), (1388281194,), (1388281196,), (1388281198,), (1388281201,), (1388281205,), (1388281209,), (1388281217,), (1388281219,), (1388281220,), (1388281222,), (1388281236,), (1388281238,), (1388281241,), (1388281244,), (1388281247,), (1388281250,), (1388281288,), (1388281289,), (1388281290,), (1388281293,), (1388281305,), (1388281307,), (1388281309,), (1388281311,), (1388281314,), (1388281317,), (1388281328,), (1388281333,), (1388281337,), (1388281340,), (1388281370,), (1388281407,), (1388281409,), (1388281433,), (1388281436,), (1388281437,), (1388281440,), (1388281460,), (1388281361,), (1388281364,), (1388281366,), (1388281367,), (1388281369,), (1388281371,), (1388281372,), (1388281374,), (1388281378,), (1388281381,), (1388281384,), (1388281400,), (1388281401,), (1388281403,), (1388281405,), (1388281416,), (1388281417,), (1388281420,), (1388281422,), (1388281423,), (1388281427,), (1388281428,), (1388281432,), (1388281444,), (1388281446,), (1388281447,), (1388281449,), (1388281453,), (1388281455,), (1388281463,), (1388281465,), (1388281468,), (1388281470,), (1388281482,), (1388281484,), (1388281486,), (1388281489,), (1388281506,), (1388281508,), (1388281509,), (1388281513,), (1388281518,), (1388281557,), (1388281561,), (1388281565,), (1388281569,), (1388281572,), (1388281574,), (1388281578,), (1388281580,), (1388281582,), (1388281585,), (1388281588,), (1388281599,), (1388281601,), (1388281603,), (1388281605,), (1388281608,), (1388281610,), (1388281620,), (1388281622,), (1388281625,), (1388281628,), (1388281630,), (1388281633,), (1388281645,), (1388281646,), (1388281649,), (1388281656,), (1388281662,), (1388281671,), (1388281676,), (1388281678,), (1388281687,), (1388281689,), (1388281691,), (1388281695,), (1388281705,), (1388281707,), (1388281709,), (1388281710,), (1388281711,), (1388281713,), (1388281720,), (1388281723,), (1388281727,), (1388281731,), (1388281734,), (1388281736,), (1388281741,), (1388281745,), (1388281746,), (1388281767,), (1388281759,), (1388281761,), (1388281763,), (1388281781,), (1388281782,), (1388281783,), (1388281785,), (1388281788,), (1388281791,), (1388281825,), (1388281826,), (1388281827,), (1388281846,), (1388281848,), (1388281850,), (1388281852,), (1388281868,), (1388281882,), (1388281884,), (1388281886,), (1388281889,), (1388281892,), (1388281903,), (1388281904,), (1388281905,), (1388281906,), (1388281950,), (1388281953,), (1388281956,), (1388281959,), (1388281961,), (1388281964,), (1388281972,), (1388281974,), (1388281977,), (1388281981,), (1388282001,), (1388282003,), (1388282005,), (1388282007,), (1388282011,), (1388282022,), (1388282024,), (1388282026,), (1388282029,), (1388282041,), (1388282043,), (1388282045,), (1388282047,), (1388282097,), (1388282099,), (1388282102,), (1388282105,), (1388282107,), (1388282119,), (1388282121,), (1388282125,), (1388282128,), (1388282131,), (1388282158,), (1388282161,), (1388282163,), (1388282166,), (1388282212,), (1388282217,), (1388282219,), (1388282220,), (1388282221,), (1388282223,), (1388282225,), (1388282237,), (1388282239,), (1388282242,), (1388282154,), (1388282157,), (1388282180,), (1388282192,), (1388282198,), (1388282208,), (1388282210,), (1388282229,), (1388282232,), (1388282234,), (1388282247,), (1388282248,), (1388282250,), (1388282252,), (1388282254,), (1388282270,), (1388282271,), (1388282272,), (1388282275,), (1388282290,), (1388282292,), (1388282295,), (1388282299,), (1388282301,), (1388282304,), (1388282314,), (1388282316,), (1388282318,), (1388282321,), (1388282325,), (1388282359,), (1388282361,), (1388282363,), (1388282366,), (1388282380,), (1388282382,), (1388282384,), (1388282388,), (1388282392,), (1388282402,), (1388282403,), (1388282405,), (1388282408,), (1388282411,), (1388282414,), (1388282424,), (1388282426,), (1388282430,), (1388282433,), (1388282436,), (1388282438,), (1388282443,), (1388282446,), (1388282449,), (1388282451,), (1388282453,), (1388282466,), (1388282488,), (1388282492,), (1388282494,), (1388282496,), (1388282497,), (1388282499,), (1388282510,), (1388282514,), (1388282517,), (1388282519,), (1388282520,), (1388282521,), (1388282525,), (1388282528,), (1388282531,), (1388282534,), (1388282537,), (1388282547,), (1388282550,), (1388282552,), (1388282555,), (1388282558,), (1388282581,), (1388282568,), (1388282570,), (1388282572,), (1388282575,), (1388282578,), (1388282590,), (1388282592,), (1388282594,), (1388282598,), (1388282602,), (1388282605,), (1388282636,), (1388282637,), (1388282651,), (1388282653,), (1388282655,), (1388282658,), (1388282674,), (1388282676,), (1388282677,), (1388282696,), (1388282698,), (1388282701,), (1388282704,), (1388282706,), (1388282709,), (1388282714,), (1388282717,), (1388282720,), (1388282723,), (1388282727,), (1388282735,), (1388282762,), (1388282771,), (1388282772,), (1388282774,), (1388282776,), (1388282780,), (1388282786,), (1388282789,), (1388282792,), (1388282794,), (1388282795,), (1388282798,), (1388282800,), (1388282805,), (1388282820,), (1388282822,), (1388282824,), (1388282828,), (1388282833,), (1388282841,), (1388282843,), (1388282846,), (1388282849,), (1388282852,), (1388282862,), (1388282864,), (1388282865,), (1388282918,), (1388282920,), (1388282921,), (1388282925,), (1388282929,), (1388282932,), (1388282938,), (1388282940,), (1388282943,), (1388282947,), (1388282950,), (1388282961,), (1388282963,), (1388282964,), (1388282991,), (1388282994,), (1388282996,), (1388283060,), (1388283066,), (1388283068,), (1388283082,), (1388282982,), (1388282984,), (1388282988,), (1388283003,), (1388283005,), (1388283008,), (1388283011,), (1388283013,), (1388283017,), (1388283031,), (1388283041,), (1388283050,), (1388283073,), (1388283076,), (1388283079,), (1388283089,), (1388283090,), (1388283091,), (1388283094,), (1388283106,), (1388283108,), (1388283111,), (1388283115,), (1388283118,), (1388283121,), (1388283126,), (1388283128,), (1388283132,), (1388283135,), (1388283139,), (1388283141,), (1388283150,), (1388283152,), (1388283153,), (1388283156,), (1388283194,), (1388283196,), (1388283198,), (1388283200,), (1388283239,), (1388283240,), (1388283243,), (1388283255,), (1388283256,), (1388283257,), (1388283259,), (1388283262,), (1388283265,), (1388283320,), (1388283322,), (1388283324,), (1388283341,), (1388283343,), (1388283345,), (1388283348,), (1388283363,), (1388283366,), (1388283368,), (1388283372,), (1388283375,), (1388283378,), (1388283398,), (1388283386,), (1388283388,), (1388283390,), (1388283394,), (1388283404,), (1388283406,), (1388283408,), (1388283412,), (1388283416,), (1388283419,), (1388283482,), (1388283484,), (1388283485,), (1388283488,), (1388283504,), (1388283506,), (1388283508,), (1388283512,), (1388283516,), (1388283520,), (1388283528,), (1388283529,), (1388283532,), (1388283534,), (1388283537,), (1388283548,), (1388283549,), (1388283551,), (1388283553,), (1388283556,), (1388283560,), (1388283569,), (1388283581,), (1388283591,), (1388283599,), (1388283602,), (1388283605,), (1388283608,), (1388283611,), (1388283613,), (1388283616,), (1388283618,), (1388283621,), (1388283632,), (1388283633,), (1388283636,), (1388283638,), (1388283640,), (1388283644,), (1388283645,), (1388283648,), (1388283649,), (1388283651,), (1388283652,), (1388283654,), (1388283657,), (1388283662,), (1388283664,), (1388283666,), (1388283679,), (1388283682,), (1388283684,), (1388283714,), (1388283716,), (1388283717,), (1388283719,), (1388283757,), (1388283759,), (1388283761,), (1388283779,), (1388283780,), (1388283783,), (1388283786,), (1388283811,), (1388283816,), (1388283819,), (1388283822,), (1388283865,), (1388283868,), (1388283871,), (1388283876,), (1388283880,), (1388283804,), (1388283808,), (1388283843,), (1388283848,), (1388283851,), (1388283854,), (1388283856,), (1388283859,), (1388283889,), (1388283899,), (1388283902,), (1388283909,), (1388283911,), (1388283913,), (1388283917,), (1388283922,), (1388283926,), (1388283935,), (1388283938,), (1388283942,), (1388283963,), (1388283965,), (1388283967,), (1388283970,), (1388283990,), (1388283992,), (1388284004,), (1388284030,), (1388284032,), (1388284034,), (1388284054,), (1388284057,), (1388284060,), (1388284077,), (1388284080,), (1388284084,), (1388284088,), (1388284106,), (1388284108,), (1388284111,), (1388284119,), (1388285441,), (1388285470,), (1388285494,), (1388285582,), (1388285585,), (1388285612,), (1388285617,), (1388285623,), (1388285628,), (1388285631,), (1388285641,), (1388285644,), (1388285646,), (1388285675,), (1388285678,), (1388285681,), (1388285684,), (1388285709,), (1388285713,), (1388285716,), (1388285719,), (1388285735,), (1388285738,), (1388285750,), (1388285754,), (1388285758,), (1388285762,), (1388285769,), (1388285773,), (1388285777,), (1388285786,), (1388285790,), (1388285802,), (1388285822,), (1388285826,), (1388285829,), (1388285857,), (1388285850,), (1388285852,), (1388285854,), (1388285873,), (1388285875,), (1388285878,), (1388285932,), (1388285936,), (1388285941,), (1388285946,), (1388285952,), (1388285954,), (1388285963,), (1388285966,), (1388285968,), (1388285971,), (1388285986,), (1388285988,), (1388285990,), (1388285993,), (1388285997,), (1388286008,), (1388286011,), (1388286015,), (1388286018,), (1388286021,), (1388286035,), (1388286038,), (1388286040,), (1388286046,), (1388286059,), (1388286079,), (1388286081,), (1388286082,), (1388286084,), (1388286086,), (1388286090,), (1388286097,), (1388286102,), (1388286103,), (1388286105,), (1388286107,), (1388286117,), (1388286119,), (1388286121,), (1388286124,), (1388286127,), (1388286142,), (1388286144,), (1388286147,), (1388286150,), (1388286152,), (1388286161,), (1388286163,), (1388286165,), (1388286169,), (1388286173,), (1388286213,), (1388286217,), (1388286222,), (1388286226,), (1388286229,), (1388286231,), (1388286232,), (1388286233,), (1388286234,), (1388286237,), (1388286242,), (1388286245,), (1388286248,), (1388286251,), (1388286259,), (1388286261,), (1388286262,), (1388286265,), (1388286268,), (1388286271,), (1388286314,), (1388286435,), (1388286303,), (1388286306,), (1388286309,), (1388286312,), (1388286351,), (1388286360,), (1388286371,), (1388286372,), (1388286374,), (1388286377,), (1388286388,), (1388286391,), (1388286400,), (1388286401,), (1388286402,), (1388286403,), (1388286410,), (1388286413,), (1388286416,), (1388286419,), (1388286422,), (1388286423,), (1388286429,), (1388286433,), (1388286440,), (1388286449,), (1388286451,), (1388286454,), (1388286460,), (1388286462,), (1388286463,), (1388286466,), (1388286473,), (1388286476,), (1388286515,), (1388286517,), (1388286519,), (1388287106,), (1388287109,), (1388287114,), (1388287219,), (1388287237,), (1388287266,), (1388287330,), (1388287332,), (1388287334,), (1388287337,), (1388287353,), (1388287356,), (1388287377,), (1388287381,), (1388287385,), (1388287388,), (1388287398,), (1388287399,), (1388287531,), (1388287704,), (1388287706,), (1388287708,), (1388288640,), (1388288642,), (1388288648,), (1388288650,), (1388288653,), (1388288669,), (1388288716,), (1388288734,), (1388288744,), (1388288746,), (1388288999,), (1388289003,), (1388289010,), (1388289077,), (1388289090,), (1388289091,), (1388289093,), (1388289094,), (1388289178,), (1388289184,), (1388289310,), (1388289311,), (1388289347,), (1388289348,), (1388289386,), (1388289388,), (1388289423,), (1388289426,), (1388289648,), (1388289696,), (1388289777,), (1388289778,), (1388289782,), (1388289784,), (1388289798,), (1388289859,), (1388289926,), (1388289913,), (1388289914,), (1388289917,), (1388289921,), (1388289924,), (1388289945,), (1388289947,), (1388289948,), (1388289958,), (1388290009,), (1388290024,), (1388290088,), (1388290091,), (1388290094,), (1388290097,), (1388290893,), (1388291241,), (1388291243,), (1388291246,), (1388291248,), (1388291252,), (1388291506,), (1388291778,), (1388291783,), (1388291785,), (1388291788,), (1388291825,), (1388291890,), (1388291892,), (1388292119,), (1388292711,), (1388292759,), (1388293036,), (1388293141,), (1388293142,), (1388293145,), (1388293146,), (1388293148,), (1388293150,), (1388293621,), (1388293624,), (1388293716,), (1388293729,), (1388293731,), (1388293802,), (1388294000,), (1388294007,), (1388294012,), (1388294014,), (1388294067,), (1388294079,), (1388294147,), (1388294153,), (1388294155,), (1388294158,), (1388294162,), (1388294165,), (1388294186,), (1388294188,), (1388294190,), (1388294195,), (1388294198,), (1388294244,), (1388294250,), (1388294252,), (1388294256,), (1388294260,), (1388294263,), (1388294302,), (1388294304,), (1388294308,), (1388294313,), (1388294318,), (1388294369,), (1388294372,), (1388294374,), (1388294377,), (1388294381,), (1388294384,), (1388294393,), (1388294397,), (1388294400,), (1388294402,), (1388294405,), (1388294423,), (1388294427,), (1388294961,), (1388295350,), (1388295362,), (1388295418,), (1388295419,), (1388295420,), (1388295423,), (1388297113,), (1388297117,), (1388297119,), (1388297123,), (1388297127,), (1388297497,), (1388295405,), (1388295408,), (1388295836,), (1388295930,), (1388295932,), (1388295933,), (1388295936,), (1388296024,), (1388296041,), (1388296044,), (1388296130,), (1388296153,), (1388296714,), (1388297108,), (1388297109,), (1388297134,), (1388297135,), (1388297137,), (1388297338,), (1388297342,), (1388297377,), (1388297458,), (1388297479,), (1388297489,), (1388297494,), (1388298417,), (1388298419,), (1388298478,), (1388298486,), (1388298491,), (1388299308,), (1388299310,), (1388299333,), (1388299391,), (1388299395,), (1388299497,), (1388299628,), (1388299631,), (1388299633,), (1388299636,), (1388299652,), (1388299653,), (1388299654,), (1388299657,), (1388299660,), (1388299664,), (1388299682,), (1388299685,), (1388299695,), (1388299705,), (1388299717,), (1388299719,), (1388299721,), (1388299724,), (1388300085,), (1388300392,), (1388300425,), (1388300426,), (1388300428,), (1388300437,), (1388300441,), (1388300444,), (1388300467,), (1388300556,), (1388300687,), (1388300692,), (1388300802,), (1388300814,), (1388300817,), (1388300828,), (1388300831,), (1388300833,), (1388300836,), (1388300838,), (1388300843,), (1388300847,), (1388300850,), (1388301739,), (1388301742,), (1388301748,), (1388301755,), (1388301757,), (1388302049,), (1388302025,), (1388302038,), (1388302039,), (1388302042,), (1388302046,), (1388302064,), (1388302065,), (1388302068,), (1388302070,), (1388302926,), (1388302928,), (1388302930,), (1388302934,), (1388302937,), (1388302941,), (1388302966,), (1388302967,), (1388303197,), (1388303257,), (1388304068,), (1388304071,), (1388304073,), (1388304077,), (1388304174,), (1388304208,), (1388304278,), (1388304280,), (1388304284,), (1388304287,), (1388304301,), (1388304315,), (1388304369,), (1388304380,), (1388304383,), (1388304386,), (1388304390,), (1388304393,), (1388304405,), (1388304411,), (1388304421,), (1388304427,), (1388304441,), (1388304973,), (1388305173,), (1388305174,), (1388305176,), (1388305177,), (1388305179,), (1388305180,), (1388305182,), (1388305183,), (1388305185,), (1388305186,), (1388305187,), (1388305188,), (1388305354,), (1388305393,), (1388305396,), (1388305658,), (1388305836,), (1388305845,), (1388305888,), (1388306043,), (1388306045,), (1388306047,), (1388306081,), (1388306120,), (1388306134,), (1388306306,), (1388306339,), (1388306341,), (1388306345,), (1388306348,), (1388306689,), (1388306693,), (1388306719,), (1388306737,), (1388306740,), (1388306743,), (1388306795,), (1388306801,), (1388306804,), (1388306808,), (1388306849,), (1388306850,), (1388306851,), (1388306853,), (1388306856,), (1388306859,), (1388306899,), (1388306903,), (1388306907,), (1388306910,), (1388306913,), (1388306916,), (1388306946,), (1388307456,), (1388307948,), (1388307961,), (1388308004,), (1388308006,), (1388308008,), (1388308205,), (1388308661,), (1388306936,), (1388306938,), (1388306941,), (1388306944,), (1388307639,), (1388307812,), (1388307816,), (1388307818,), (1388307855,), (1388307857,), (1388307907,), (1388307915,), (1388307934,), (1388307942,), (1388307986,), (1388307990,), (1388307992,), (1388308013,), (1388308015,), (1388308018,), (1388308021,), (1388308024,), (1388308664,), (1388308666,), (1388308668,), (1388308672,), (1388308675,), (1388309220,), (1388309289,), (1388309295,), (1388309309,), (1388309425,), (1388309434,), (1388309436,), (1388309440,), (1388309445,), (1388309466,), (1388309469,), (1388309472,), (1388309475,), (1388309490,), (1388309492,), (1388309493,), (1388309496,), (1388309499,), (1388309501,), (1388309529,), (1388309532,), (1388309534,), (1388309537,), (1388309541,), (1388309551,), (1388309553,), (1388309554,), (1388309557,), (1388309563,), (1388309564,), (1388310798,), (1388310801,), (1388310804,), (1388310807,), (1388310811,), (1388310853,), (1388310855,), (1388310858,), (1388310862,), (1388311238,), (1388311241,), (1388311296,), (1388311311,), (1388311326,), (1388311329,), (1388311339,), (1388311342,), (1388311344,), (1388311395,), (1388311373,), (1388311375,), (1388311377,), (1388311380,), (1388311393,), (1388312011,), (1388312129,), (1388312132,), (1388312136,), (1388312139,), (1388312403,), (1388312410,), (1388312411,), (1388312414,), (1388312418,), (1388312421,), (1388312444,), (1388312446,), (1388312449,), (1388312451,), (1388312457,), (1388312473,), (1388312474,), (1388312475,), (1388312478,), (1388312482,), (1388312486,), (1388312495,), (1388312498,), (1388312501,), (1388312507,), (1388312510,), (1388312512,), (1388312527,), (1388312528,), (1388312530,), (1388312555,), (1388312571,), (1388312575,), (1388312578,), (1388312580,), (1388312582,), (1388312585,), (1388312625,), (1388312628,), (1388312629,), (1388312632,), (1388312661,), (1388312664,), (1388312667,), (1388312672,), (1388312692,), (1388312694,), (1388312696,), (1388312726,), (1388312729,), (1388312775,), (1388312779,), (1388312780,), (1388312786,), (1388312800,), (1388312806,), (1388312852,), (1388312854,), (1388312856,), (1388312859,), (1388312862,), (1388312874,), (1388312879,), (1388312884,), (1388312886,), (1388312890,), (1388312917,), (1388312909,), (1388312912,), (1388312915,), (1388312951,), (1388312959,), (1388312970,), (1388312973,), (1388312975,), (1388312978,), (1388313800,), (1388313803,), (1388313805,), (1388313834,), (1388313852,), (1388313856,), (1388313860,), (1388313864,), (1388314743,), (1388314746,), (1388314901,), (1388314949,), (1388314967,), (1388314969,), (1388314995,), (1388314998,), (1388315001,), (1388315005,), (1388315008,), (1388315022,), (1388315024,), (1388315026,), (1388315052,), (1388315055,), (1388315057,), (1388315078,), (1388315080,), (1388315082,), (1388315085,), (1388315165,), (1388315167,), (1388315169,), (1388315172,), (1388315175,), (1388315192,), (1388315195,), (1388315198,), (1388315201,), (1388315204,), (1388315225,), (1388315234,), (1388315237,), (1388315240,), (1388315415,), (1388315442,), (1388315456,), (1388315465,), (1388315468,), (1388315669,), (1388315726,), (1388315736,), (1388315742,), (1388315792,), (1388315923,), (1388315931,), (1388315933,), (1388315936,), (1388315938,), (1388315947,), (1388315971,), (1388315973,), (1388315977,), (1388315980,), (1388316065,), (1388316003,), (1388316005,), (1388316055,), (1388316058,), (1388316062,), (1388316079,), (1388316092,), (1388316095,), (1388316116,), (1388316120,), (1388316233,), (1388316241,), (1388316274,), (1388316277,), (1388316301,), (1388316306,), (1388316327,), (1388316337,), (1388316339,), (1388316342,), (1388316420,), (1388316422,), (1388316423,), (1388316507,), (1388316515,), (1388316517,), (1388316549,), (1388316672,), (1388316676,), (1388316696,), (1388316914,), (1388316923,), (1388316938,), (1388316946,), (1388316964,), (1388316988,), (1388316991,), (1388316993,), (1388317028,), (1388317035,), (1388317036,), (1388317039,), (1388317043,), (1388317049,), (1388317073,), (1388317370,), (1388317435,), (1388317439,), (1388317551,), (1388317583,), (1388317596,), (1388317597,), (1388317614,), (1388317623,), (1388317625,), (1388317662,), (1388317686,), (1388317689,), (1388317692,), (1388317705,), (1388317717,), (1388317719,), (1388317721,), (1388317724,), (1388317728,), (1388317731,), (1388317862,), (1388317869,), (1388317887,), (1388317892,), (1388317895,), (1388317965,), (1388317970,), (1388317997,), (1388318005,), (1388318006,), (1388318007,), (1388317938,), (1388317943,), (1388317945,), (1388317962,), (1388318090,), (1388318092,), (1388318096,), (1388318099,), (1388318102,), (1388318104,), (1388318193,), (1388318215,), (1388318218,), (1388318244,), (1388318255,), (1388318273,), (1388318276,), (1388318278,), (1388318281,), (1388318286,), (1388318301,), (1388318303,), (1388318305,), (1388318309,), (1388318313,), (1388318329,), (1388318331,), (1388318333,), (1388318336,), (1388318338,), (1388318375,), (1388318380,), (1388318393,), (1388318407,), (1388318409,), (1388318518,), (1388318525,), (1388318532,), (1388318537,), (1388318540,), (1388318559,), (1388318560,), (1388318561,), (1388318564,), (1388318568,), (1388318571,), (1388318606,), (1388318609,), (1388318613,), (1388318616,), (1388318618,), (1388318626,), (1388318628,), (1388318630,), (1388318792,), (1388318938,), (1388318950,), (1388318959,), (1388318974,), (1388318988,), (1388319003,), (1388319190,), (1388319203,), (1388319207,), (1388319235,), (1388319239,), (1388319246,), (1388319462,), (1388319464,), (1388319465,), (1388319468,), (1388319472,), (1388319608,), (1388319610,), (1388319660,), (1388319663,), (1388319700,), (1388319688,), (1388319691,), (1388319693,), (1388319696,), (1388319709,), (1388319711,), (1388319712,), (1388319716,), (1388319720,), (1388319729,), (1388319891,), (1388319894,), (1388319896,), (1388319901,), (1388319918,), (1388319920,), (1388319923,), (1388319927,), (1388319931,), (1388319954,), (1388319956,), (1388319957,), (1388319961,), (1388319965,), (1388319968,), (1388319978,), (1388319980,), (1388319983,), (1388319989,), (1388320124,), (1388320129,), (1388320150,), (1388320152,), (1388320155,), (1388320158,), (1388320167,), (1388320175,), (1388320198,), (1388320210,), (1388320235,), (1388320238,), (1388320280,), (1388320282,), (1388320284,), (1388320288,), (1388320292,), (1388320301,), (1388320480,), (1388320509,), (1388320510,), (1388320557,), (1388320640,), (1388320711,), (1388320716,), (1388320724,), (1388320727,), (1388320760,), (1388320761,), (1388320763,), (1388320766,), (1388320792,), (1388320809,), (1388320859,), (1388320860,), (1388320861,), (1388320864,), (1388320866,), (1388320873,), (1388320878,), (1388320896,), (1388320898,), (1388320913,), (1388320915,), (1388320939,), (1388320961,), (1388320964,), (1388320968,), (1388321032,), (1388321035,), (1388321038,), (1388321040,), (1388321043,), (1388321046,), (1388321079,), (1388321082,), (1388321084,), (1388322405,), (1388322408,), (1388322444,), (1388322448,), (1388322452,), (1388322468,), (1388322499,), (1388321072,), (1388321076,), (1388321077,), (1388321968,), (1388321969,), (1388321976,), (1388321977,), (1388321988,), (1388321989,), (1388321994,), (1388321995,), (1388321998,), (1388321999,), (1388322023,), (1388322024,), (1388322041,), (1388322044,), (1388322231,), (1388322236,), (1388322238,), (1388322328,), (1388322402,), (1388322456,), (1388322458,), (1388322460,), (1388322462,), (1388322465,), (1388322475,), (1388322478,), (1388322480,), (1388322482,), (1388322484,), (1388322495,), (1388322507,), (1388322509,), (1388322682,), (1388323280,), (1388323424,), (1388323456,), (1388323473,), (1388323482,), (1388323495,), (1388324533,), (1388324535,), (1388324536,), (1388324538,), (1388324955,), (1388324966,), (1388324967,), (1388325008,), (1388325011,), (1388325087,), (1388325089,), (1388325092,), (1388325096,), (1388325100,), (1388325123,), (1388325287,), (1388325288,), (1388325291,), (1388325294,), (1388325445,), (1388325448,), (1388325456,), (1388325458,), (1388325461,), (1388325464,), (1388325466,), (1388325474,), (1388325490,), (1388325502,), (1388325525,), (1388325534,), (1388325542,), (1388325549,), (1388325555,), (1388325556,), (1388325559,), (1388325560,), (1388325562,), (1388325563,), (1388325565,), (1388325566,), (1388325574,), (1388325576,), (1388325577,), (1388325578,), (1388325583,), (1388325585,), (1388325588,), (1388325593,), (1388325596,), (1388325601,), (1388325606,), (1388325608,), (1388325610,), (1388325614,), (1388325616,), (1388325668,), (1388325655,), (1388325657,), (1388325660,), (1388325664,), (1388325766,), (1388325768,), (1388325780,), (1388325782,), (1388325785,), (1388325814,), (1388325815,), (1388325816,), (1388325819,), (1388325895,), (1388325905,), (1388325909,), (1388325914,), (1388325919,), (1388325922,), (1388325943,), (1388325946,), (1388325953,), (1388325959,), (1388325964,), (1388326007,), (1388326010,), (1388326014,), (1388326058,), (1388326071,), (1388326073,), (1388326079,), (1388326149,), (1388326153,), (1388326156,), (1388326161,), (1388326193,), (1388326226,), (1388326229,), (1388326231,), (1388326234,), (1388326238,), (1388326242,), (1388326280,), (1388326285,), (1388326297,), (1388326378,), (1388326531,), (1388326561,), (1388326566,), (1388326569,), (1388326572,), (1388326730,), (1388326736,), (1388326757,), (1388326771,), (1388326821,), (1388326839,), (1388326841,), (1388326846,), (1388326883,), (1388326887,), (1388326898,), (1388326903,), (1388326905,), (1388326907,), (1388326967,), (1388326973,), (1388326987,), (1388327001,), (1388327133,), (1388327268,), (1388327097,), (1388327099,), (1388327103,), (1388327105,), (1388327111,), (1388327155,), (1388327157,), (1388327158,), (1388327159,), (1388327162,), (1388327175,), (1388327180,), (1388327184,), (1388327188,), (1388327191,), (1388327220,), (1388327228,), (1388327231,), (1388327282,), (1388327284,), (1388327288,), (1388327294,), (1388327298,), (1388327300,), (1388327308,), (1388327314,), (1388327316,), (1388327319,), (1388327367,), (1388327371,), (1388327373,), (1388327378,), (1388327382,), (1388327386,), (1388327397,), (1388327405,), (1388327415,), (1388327418,), (1388327490,), (1388327492,), (1388327575,), (1388327578,), (1388327614,), (1388327615,), (1388327616,), (1388327667,), (1388327670,), (1388327673,), (1388327676,), (1388327680,), (1388327684,), (1388327703,), (1388327711,), (1388327712,), (1388327765,), (1388327908,), (1388327922,), (1388328031,), (1388328033,), (1388328035,), (1388328038,), (1388328041,), (1388328332,), (1388328333,), (1388328336,), (1388328392,), (1388328395,), (1388328398,), (1388328437,), (1388328438,), (1388328439,), (1388328440,), (1388328824,), (1388328515,), (1388328517,), (1388328823,), (1388328854,), (1388328866,), (1388328888,), (1388328892,), (1388328910,), (1388328913,), (1388328916,), (1388328926,), (1388328942,), (1388328945,), (1388328949,), (1388328965,), (1388328969,), (1388328971,), (1388328975,), (1388328979,), (1388328983,), (1388329014,), (1388329029,), (1388329083,), (1388329093,), (1388329116,), (1388329118,), (1388329119,), (1388329122,), (1388329300,), (1388329386,), (1388329395,), (1388329397,), (1388329408,), (1388329415,), (1388329493,), (1388329550,), (1388329552,), (1388329555,), (1388329558,), (1388329562,), (1388329602,), (1388329616,), (1388329617,), (1388329619,), (1388329623,), (1388329659,), (1388329662,), (1388329665,), (1388329668,), (1388329671,), (1388329696,), (1388329701,), (1388329705,), (1388329711,), (1388329750,), (1388337160,), (1388337293,), (1388337700,), (1388337799,), (1388337800,), (1388338083,), (1388338337,), (1388338339,), (1388338374,), (1388338492,), (1388338494,), (1388338495,), (1388338497,), (1388338634,), (1388338637,), (1388338657,), (1388338714,), (1388338716,), (1388338720,), (1388338731,), (1388338859,), (1388338862,), (1388339178,), (1388339343,), (1388339346,), (1388339347,), (1388339351,), (1388339358,), (1388339385,), (1388339387,), (1388339388,), (1388339391,), (1388339395,), (1388339572,), (1388339575,), (1388339577,), (1388339591,), (1388339655,), (1388339672,), (1388339921,), (1388339929,), (1388339935,), (1388339938,), (1388339941,), (1388339944,), (1388340284,), (1388340287,), (1388340306,), (1388340309,), (1388340463,), (1388340464,), (1388340465,), (1388340476,), (1388340480,), (1388340546,), (1388340549,), (1388340551,), (1388340613,), (1388341137,), (1388341415,), (1388341503,), (1388341437,), (1388341439,), (1388341501,), (1388341896,), (1388342221,), (1388342259,), (1388342281,), (1388342479,), (1388342482,), (1388342537,), (1388342539,), (1388342540,), (1388342898,), (1388342905,), (1388342912,), (1388342914,), (1388342934,), (1388342936,), (1388343245,), (1388343251,), (1388343253,), (1388343261,), (1388343268,), (1388343317,), (1388343320,), (1388343337,), (1388343342,), (1388343344,), (1388343348,), (1388343395,), (1388343397,), (1388343399,), (1388343554,), (1388343556,), (1388343575,), (1388343611,), (1388343613,), (1388343904,), (1388344279,), (1388344282,), (1388344285,), (1388344287,), (1388344289,), (1388344292,), (1388344459,), (1388344478,), (1388344481,), (1388344485,), (1388344649,), (1388344662,), (1388344664,), (1388344666,), (1388344670,), (1388344675,), (1388344849,), (1388344910,), (1388344984,), (1388345008,), (1388345029,), (1388345032,), (1388345035,), (1388345075,), (1388345077,), (1388345080,), (1388345153,), (1388345155,), (1388345157,), (1388345160,), (1388345175,), (1388345186,), (1388345210,), (1388345214,), (1388345219,), (1388345286,), (1388345246,), (1388345252,), (1388345266,), (1388345429,), (1388345451,), (1388345594,), (1388345926,), (1388346304,), (1388346312,), (1388346417,), (1388346419,), (1388346552,), (1388346555,), (1388346965,), (1388346967,), (1388347207,), (1388347598,), (1388347601,), (1388347883,), (1388347885,), (1388347916,), (1388347994,), (1388347998,), (1388348084,), (1388348801,), (1388348804,), (1388348893,), (1388348908,), (1388349038,), (1388349049,), (1388349052,), (1388349067,), (1388349168,), (1388349171,), (1388349173,), (1388349175,), (1388349179,), (1388349262,), (1388349270,), (1388349280,), (1388349292,), (1388349371,), (1388349375,), (1388349380,), (1388349384,), (1388349409,), (1388349799,), (1388350352,), (1388350378,), (1388350383,), (1388350654,), (1388350657,), (1388350862,), (1388350871,), (1388350883,), (1388350986,), (1388351062,), (1388351106,), (1388351114,), (1388351248,), (1388351277,), (1388351284,), (1388351288,), (1388351498,), (1388351514,), (1388351516,), (1388351519,), (1388351798,), (1388351592,), (1388351647,), (1388351649,), (1388351790,), (1388351795,), (1388351883,), (1388352037,), (1388352099,), (1388352244,), (1388352246,), (1388352248,), (1388352254,), (1388352259,), (1388352377,), (1388352432,), (1388352440,), (1388352450,), (1388352452,), (1388352458,), (1388352522,), (1388352546,), (1388352549,), (1388352706,), (1388352895,), (1388352897,), (1388352898,), (1388352901,), (1388352923,), (1388352926,), (1388352987,), (1388352988,), (1388352990,), (1388352993,), (1388352996,), (1388353007,), (1388353030,), (1388353157,), (1388353167,), (1388353271,), (1388353336,), (1388353338,), (1388353375,), (1388353378,), (1388353382,), (1388353405,), (1388353407,), (1388353409,), (1388353412,), (1388353416,), (1388353419,), (1388353454,), (1388353465,), (1388353472,), (1388353476,), (1388353654,), (1388353672,), (1388353778,), (1388353806,), (1388353837,), (1388353867,), (1388353873,), (1388353875,), (1388353880,), (1388353885,), (1388353887,), (1388353946,), (1388353949,), (1388353952,), (1388353955,), (1388354046,), (1388354049,), (1388354150,), (1388354172,), (1388414665,), (1388417425,), (1388417767,), (1388417900,), (1388417903,), (1388417918,), (1388417920,), (1388417923,), (1388417961,), (1388417978,), (1388417988,), (1388418547,), (1388418917,), (1388418922,), (1388418928,), (1388418941,), (1388418944,), (1388418946,), (1388418977,), (1388418978,), (1388418988,), (1388418991,), (1388418995,), (1388418996,), (1388419008,), (1388419009,), (1388419096,), (1388419099,), (1388419103,), (1388419107,), (1388418973,), (1388418974,), (1388419093,), (1388419114,), (1388419151,), (1388419154,), (1388420659,), (1388420757,), (1388422380,), (1388422383,), (1388422797,), (1388422801,), (1388422815,), (1388423022,), (1388423024,), (1388423318,), (1388423321,), (1388423614,), (1388423628,), (1388423638,), (1388424030,), (1388424186,), (1388424190,), (1388424193,), (1388424198,), (1388424340,), (1388424806,), (1388424810,), (1388424854,), (1388424849,), (1388424906,), (1388424910,), (1388424914,), (1388425312,), (1388425378,), (1388425463,), (1388425468,), (1388425663,), (1388425668,), (1388425783,), (1388425807,), (1388425967,), (1388425975,), (1388426020,), (1388426374,), (1388426403,), (1388426661,), (1388426740,), (1388426742,), (1388426752,), (1388427021,), (1388427085,), (1388427087,), (1388427141,), (1388427144,), (1388427147,), (1388427329,), (1388427357,), (1388427362,), (1388427458,), (1388427460,), (1388427520,), (1388427487,), (1388427490,), (1388427496,), (1388427515,), (1388427673,), (1388427721,), (1388427728,), (1388427820,), (1388427822,), (1388427824,), (1388427858,), (1388427874,), (1388427947,), (1388428073,), (1388428075,), (1388428270,), (1388428273,), (1388428277,), (1388428281,), (1388428286,), (1388428314,), (1388428750,), (1388428901,), (1388428905,), (1388428913,), (1388431347,), (1388431399,), (1388431435,), (1388431436,), (1388431486,), (1388431585,), (1388431587,), (1388431591,), (1388431594,), (1388431682,), (1388431692,), (1388431696,), (1388431707,), (1388431711,), (1388431715,), (1388431717,), (1388431721,), (1388431731,), (1388431759,), (1388431763,), (1388431769,), (1388431772,), (1388431776,), (1388431793,), (1388431813,), (1388431957,), (1388431962,), (1388432011,), (1388432020,), (1388432128,), (1388432156,), (1388432160,), (1388432162,), (1388432164,), (1388432167,), (1388432170,), (1388432206,), (1388432209,), (1388431753,), (1388432087,), (1388432089,), (1388432099,), (1388432111,), (1388432119,), (1388432134,), (1388432136,), (1388432138,), (1388432142,), (1388432144,), (1388432148,), (1388432187,), (1388432191,), (1388432198,), (1388432363,), (1388432387,), (1388432389,), (1388432392,), (1388432396,), (1388432399,), (1388432417,), (1388432423,), (1388432424,), (1388432428,), (1388432506,), (1388432508,), (1388432510,), (1388432513,), (1388432562,), (1388432565,), (1388432566,), (1388432569,), (1388432970,), (1388433013,), (1388433016,), (1388433019,), (1388433138,), (1388433148,), (1388433153,), (1388433163,), (1388433202,), (1388433211,), (1388433280,), (1388433283,), (1388433287,), (1388433290,), (1388433907,), (1388433910,), (1388433911,), (1388433913,), (1388434129,), (1388434135,), (1388434141,), (1388434234,), (1388434215,), (1388434223,), (1388434266,), (1388434268,), (1388434271,), (1388434278,), (1388434283,), (1388434483,), (1388434490,), (1388434494,), (1388434508,), (1388434538,), (1388434542,), (1388434545,), (1388434548,), (1388434553,), (1388434575,), (1388434578,), (1388434920,), (1388436204,), (1388436207,), (1388436210,), (1388436259,), (1388436267,), (1388437718,), (1388437819,), (1388437861,), (1388437893,), (1388438215,), (1388438272,), (1388438328,), (1388438778,), (1388439873,), (1388440173,), (1388440177,), (1388440447,), (1388449505,), (1388449500,), (1388449503,), (1388449520,), (1388449522,), (1388449524,), (1388450383,), (1388450385,), (1388450387,), (1388450392,), (1388450396,), (1388450410,), (1388450413,), (1388450433,), (1388451268,), (1388451296,), (1388451298,), (1388451688,), (1388452157,), (1388452161,), (1388452172,), (1388452176,), (1388452179,), (1388452241,), (1388452230,), (1388453098,), (1388453107,), (1388453190,), (1388453192,), (1388453193,), (1388453194,), (1388453217,), (1388453240,), (1388453242,), (1388453245,), (1388453263,), (1388453270,), (1388453289,), (1388453785,), (1388454237,), (1388454244,), (1388454248,), (1388454249,), (1388454558,), (1388454563,), (1388454569,), (1388454792,), (1388454796,), (1388454899,), (1388454902,), (1388455935,), (1388455936,), (1388455937,), (1388455939,), (1388455946,), (1388456289,), (1388456293,), (1388456296,), (1388456498,), (1388456500,), (1388456502,), (1388456505,), (1388456508,), (1388456771,), (1388456773,), (1388456857,), (1388456859,), (1388456891,), (1388457006,), (1388457009,), (1388457012,), (1388457049,), (1388457273,), (1388457315,), (1388457323,), (1388457345,), (1388457718,), (1388457720,), (1388457802,), (1388458069,), (1388458039,), (1388458041,), (1388458157,), (1388458159,), (1388459018,), (1388459022,), (1388459029,), (1388459127,), (1388459361,), (1388459559,), (1388459562,), (1388459590,), (1388459593,), (1388459596,), (1388459600,), (1388459610,), (1388459612,), (1388459614,), (1388459618,), (1388459621,), (1388459662,), (1388459677,), (1388459681,), (1388459687,), (1388459766,), (1388459768,), (1388459783,), (1388459794,), (1388459801,), (1388459858,), (1388459860,), (1388459953,), (1388459957,), (1388459972,), (1388459995,), (1388459997,), (1388459999,), (1388460021,), (1388460023,), (1388460027,), (1388461063,), (1388461066,), (1388461068,), (1388461072,), (1388461076,), (1388461532,), (1388461653,), (1388461656,), (1388461659,), (1388461958,), (1388461989,), (1388461995,), (1388461999,), (1388462003,), (1388463320,), (1388464502,), (1388463318,), (1388463319,), (1388463956,), (1388463959,), (1388463962,), (1388463964,), (1388464076,), (1388464164,), (1388464167,), (1388464178,), (1388464489,), (1388464498,), (1388464509,), (1388464512,), (1388464664,), (1388464834,), (1388464838,), (1388464953,), (1388464955,), (1388464956,), (1388464959,), (1388464982,), (1388464985,), (1388464988,), (1388464992,), (1388465014,), (1388465016,), (1388466883,), (1388466885,), (1388466887,), (1388466892,), (1388466897,), (1388466922,), (1388466923,), (1388466924,), (1388467101,), (1388467298,), (1388467498,), (1388467541,), (1388467539,), (1388468614,), (1388468616,), (1388468618,), (1388468621,), (1388468957,), (1388468975,), (1388468976,), (1388468979,), (1388468994,), (1388468996,), (1388469005,), (1388469018,), (1388469046,), (1388469049,), (1388469051,), (1388469055,), (1388469980,), (1388469982,), (1388469983,), (1388469986,), (1388470007,), (1388470010,), (1388470011,), (1388470287,), (1388470668,), (1388470683,), (1388470712,), (1388470715,), (1388470772,), (1388470776,), (1388471576,), (1388471578,), (1388471613,), (1388471876,), (1388472289,), (1388472317,), (1388472322,), (1388472419,), (1388472422,), (1388472445,), (1388472456,), (1388472567,), (1388472809,), (1388472813,), (1388472819,), (1388472822,), (1388472831,), (1388472853,), (1388472890,), (1388472892,), (1388472894,), (1388472898,), (1388472921,), (1388472927,), (1388472932,), (1388472938,), (1388472942,), (1388472948,), (1388472956,), (1388472960,), (1388472964,), (1388472966,), (1388472985,), (1388474397,), (1388474952,), (1388474997,), (1388475859,), (1388475865,), (1388475868,), (1388475882,), (1388475889,), (1388475891,), (1388473723,), (1388473737,), (1388473885,), (1388475228,), (1388475229,), (1388475230,), (1388475233,), (1388475235,), (1388475238,), (1388475248,), (1388475249,), (1388475251,), (1388475252,), (1388475254,), (1388475255,), (1388475256,), (1388475257,), (1388475258,), (1388475259,), (1388475260,), (1388475261,), (1388475752,), (1388475763,), (1388475765,), (1388475768,), (1388475773,), (1388476713,), (1388476718,), (1388476721,), (1388476725,), (1388477102,), (1388477364,), (1388477372,), (1388477375,), (1388477411,), (1388477476,), (1388477492,), (1388477877,), (1388478403,), (1388478406,), (1388478447,), (1388478452,), (1388478470,), (1388478483,), (1388478808,), (1388478863,), (1388478864,), (1388478867,), (1388478897,), (1388478900,), (1388478903,), (1388478910,), (1388478915,), (1388479079,), (1388479080,), (1388479081,), (1388479084,), (1388479134,), (1388479172,), (1388479184,), (1388479226,), (1388479235,), (1388479250,), (1388479256,), (1388479265,), (1388479267,), (1388479275,), (1388479328,), (1388479330,), (1388479331,), (1388479333,), (1388479337,), (1388479341,), (1388479514,), (1388479517,), (1388479519,), (1388479523,), (1388479542,), (1388479539,), (1388479589,), (1388479590,), (1388479591,), (1388479594,), (1388479603,), (1388479608,), (1388479615,), (1388479618,), (1388479621,), (1388479625,), (1388479628,), (1388479631,), (1388483253,), (1388483276,), (1388483552,), (1388483555,), (1388483556,), (1388483561,), (1388483565,), (1388483567,), (1388484532,), (1388485020,), (1388485027,), (1388485044,), (1388485051,), (1388485202,), (1388485255,), (1388485277,), (1388485312,), (1388485317,), (1388485465,), (1388485858,), (1388485871,), (1388485876,), (1388485881,), (1388485894,), (1388485988,), (1388485990,), (1388485992,), (1388486010,), (1388486015,), (1388486403,), (1388486567,), (1388486568,), (1388486742,), (1388494460,), (1388494448,), (1388494456,), (1388494458,), (1388495518,), (1388495802,), (1388495808,), (1388495811,), (1388495862,), (1388495864,), (1388495937,), (1388495944,), (1388495948,), (1388495957,), (1388495960,), (1388496784,), (1388497003,), (1388497004,), (1388497482,), (1388497485,), (1388497631,), (1388497643,), (1388497690,), (1388498180,), (1388498182,), (1388498184,), (1388498186,), (1388498188,), (1388498190,), (1388498197,), (1388498200,), (1388498202,), (1388498268,), (1388498271,), (1388498274,), (1388498277,), (1388498322,), (1388498325,), (1388498327,), (1388498331,), (1388498336,), (1388498680,), (1388498685,), (1388498855,), (1388499779,), (1388499792,), (1388499796,), (1388499905,), (1388500094,), (1388500233,), (1388500413,), (1388500416,), (1388500420,), (1388500479,), (1388500568,), (1388500872,), (1388500901,), (1388501470,), (1388501385,), (1388501427,), (1388501691,), (1388501693,), (1388501694,), (1388501697,), (1388501701,), (1388501707,), (1388502010,), (1388502013,), (1388502016,), (1388502019,), (1388502030,), (1388502032,), (1388502038,), (1388502071,), (1388502073,), (1388502075,), (1388502078,), (1388502082,), (1388502086,), (1388502377,), (1388502380,), (1388502381,), (1388502526,), (1388504265,), (1388504267,), (1388504269,), (1388504272,), (1388504290,), (1388504292,), (1388504293,), (1388504295,), (1388504648,), (1388504793,), (1388504809,), (1388504817,), (1388504840,), (1388505037,), (1388505064,), (1388505094,), (1388505096,), (1388505421,), (1388505481,), (1388506353,), (1388506378,), (1388506393,), (1388506609,), (1388507270,), (1388507479,), (1388507483,), (1388507486,), (1388507490,), (1388507795,), (1388507798,), (1388507987,), (1388507990,), (1388508428,), (1388508436,), (1388508438,), (1388508441,), (1388508512,), (1388508598,), (1388508456,), (1388508483,), (1388508485,), (1388508498,), (1388508505,), (1388508515,), (1388508516,), (1388508528,), (1388508537,), (1388508543,), (1388508562,), (1388508586,), (1388508591,), (1388508970,), (1388508973,), (1388508976,), (1388509269,), (1388509295,), (1388509526,), (1388509565,), (1388509567,), (1388509868,), (1388509871,), (1388509901,), (1388509904,), (1388509907,), (1388509923,), (1388509925,), (1388509927,), (1388510222,), (1388510279,), (1388510291,), (1388510507,), (1388510508,), (1388510560,), (1388510566,), (1388510569,), (1388510572,), (1388510586,), (1388510588,), (1388510756,), (1388510758,), (1388510832,), (1388510847,), (1388510854,), (1388510856,), (1388510992,), (1388511054,), (1388511055,), (1388511089,), (1388511092,), (1388511104,), (1388511108,), (1388511110,), (1388511115,), (1388511144,), (1388511130,), (1388511132,), (1388511134,), (1388511138,), (1388511141,), (1388511371,), (1388511390,), (1388511422,), (1388511427,), (1388511430,), (1388511433,), (1388511451,), (1388511471,), (1388511485,), (1388511489,), (1388511492,), (1388511502,), (1388511540,), (1388511544,), (1388511550,), (1388511568,), (1388511571,), (1388511584,), (1388511586,), (1388511589,), (1388511592,), (1388511595,), (1388511849,), (1388511902,), (1388512185,), (1388512201,), (1388512202,), (1388512209,), (1388512242,), (1388512244,), (1388512246,), (1388512249,), (1388512276,), (1388512279,), (1388512291,), (1388512294,), (1388512312,), (1388512315,), (1388512326,), (1388512341,), (1388512345,), (1388512348,), (1388513084,), (1388513086,), (1388513087,), (1388513090,), (1388513178,), (1388513470,), (1388513472,), (1388513474,), (1388513912,), (1388513914,), (1388513916,), (1388513919,), (1388513922,), (1388514185,), (1388514190,), (1388514195,), (1388514200,), (1388514203,), (1388514209,), (1388514211,), (1388514252,), (1388514222,), (1388514227,), (1388514235,), (1388514236,), (1388514251,), (1388514288,), (1388514298,), (1388514302,), (1388514304,), (1388514376,), (1388514920,), (1388515270,), (1388515278,), (1388516230,), (1388516232,), (1388516233,), (1388516235,), (1388516238,), (1388516241,), (1388516252,), (1388516254,), (1388516255,), (1388516258,), (1388516265,), (1388516346,), (1388516348,), (1388516349,), (1388516367,), (1388516370,), (1388516379,), (1388516391,), (1388517145,), (1388517146,), (1388517147,), (1388517150,), (1388517154,), (1388517157,), (1388517444,), (1388517480,), (1388517482,), (1388517988,), (1388517994,), (1388517999,), (1388518002,), (1388518007,), (1388518365,), (1388518432,), (1388518595,), (1388518599,), (1388518609,), (1388518685,), (1388518885,), (1388518887,), (1388518890,), (1388518894,), (1388518920,), (1388518923,), (1388518924,), (1388518927,), (1388518932,), (1388518942,), (1388518952,), (1388518953,), (1388518954,), (1388518957,), (1388518961,), (1388518973,), (1388518977,), (1388518980,), (1388518984,), (1388519024,), (1388518997,), (1388519019,), (1388519021,), (1388519295,), (1388519312,), (1388519339,), (1388519344,), (1388519348,), (1388519385,), (1388519408,), (1388519410,), (1388519412,), (1388519480,), (1388520031,), (1388520374,), (1388520387,), (1388520390,), (1388520391,), (1388520404,), (1388520517,), (1388520874,), (1388520888,), (1388520892,), (1388520896,), (1388520988,), (1388521155,), (1388521392,), (1388521394,), (1388522009,), (1388522012,), (1388522013,), (1388522033,), (1388522036,), (1388522037,), (1388522039,), (1388522042,), (1388522045,), (1388522385,), (1388522387,), (1388522778,), (1388522779,), (1388522781,), (1388522798,), (1388522801,), (1388522978,), (1388522981,), (1388523027,), (1388523227,), (1388523963,), (1388523966,), (1388524319,), (1388524296,), (1388524298,), (1388524306,), (1388524629,), (1388524632,), (1388524635,), (1388524649,), (1388524663,), (1388524674,), (1388524696,), (1388524698,), (1388524700,), (1388524707,), (1388524711,), (1388524734,), (1388524736,), (1388524757,), (1388524771,), (1388524774,), (1388524777,), (1388524780,), (1388524784,), (1388524787,), (1388524821,), (1388524823,), (1388524825,), (1388524828,), (1388524831,), (1388524834,), (1388525338,), (1388525343,), (1388525347,), (1388525594,), (1388526930,), (1388526994,), (1388526998,), (1388527055,), (1388527233,), (1388527329,), (1388527332,), (1388527350,), (1388527354,), (1388527927,), (1388527929,), (1388527931,), (1388527934,), (1388527937,), (1388528154,), (1388528157,), (1388528159,), (1388528199,), (1388528758,), (1388528786,), (1388528787,), (1388528795,), (1388528807,), (1388528883,), (1388528891,), (1388528893,), (1388528896,), (1388528902,), (1388528906,), (1388529219,), (1388529256,), (1388529484,), (1388529489,), (1388529491,), (1388529495,), (1388529498,), (1388529508,), (1388529546,), (1388529530,), (1388529532,), (1388529535,), (1388529538,), (1388529541,), (1388529737,), (1388529769,), (1388529786,), (1388529789,), (1388529853,), (1388529855,), (1388529858,), (1388529862,), (1388529880,), (1388530180,), (1388530181,), (1388530184,), (1388530188,), (1388530191,), (1388530213,), (1388530371,), (1388530373,), (1388530535,), (1388530538,), (1388530539,), (1388530541,), (1388530544,), (1388530550,), (1388530638,), (1388530649,), (1388530652,), (1388530656,), (1388530659,), (1388530661,), (1388530717,), (1388530759,), (1388530817,), (1388530851,), (1388530858,), (1388530875,), (1388530905,), (1388530909,), (1388530912,), (1388530921,), (1388530923,), (1388530925,), (1388530929,), (1388530933,), (1388530941,), (1388530951,), (1388530958,), (1388531823,), (1388531826,), (1388531830,), (1388531833,), (1388531842,), (1388531843,), (1388531845,), (1388531846,), (1388531848,), (1388531849,), (1388531876,), (1388532108,), (1388531856,), (1388531866,), (1388531869,), (1388531872,), (1388532082,), (1388532084,), (1388532085,), (1388532087,), (1388532088,), (1388532091,), (1388532101,), (1388532104,), (1388532106,), (1388532111,), (1388532117,), (1388532121,), (1388532123,), (1388532133,), (1388532136,), (1388532138,), (1388532140,), (1388532144,), (1388532147,), (1388532884,), (1388532887,), (1388532907,), (1388532912,), (1388532916,), (1388532918,), (1388533344,), (1388533347,), (1388533350,), (1388533533,), (1388533539,), (1388533584,), (1388534122,), (1388534342,), (1388534344,), (1388534587,), (1388534591,), (1388534626,), (1388534629,), (1388534683,), (1388534685,), (1388534703,), (1388534710,), (1388534714,), (1388534718,), (1388534726,), (1388534728,), (1388534730,), (1388534734,), (1388534739,), (1388535239,), (1388535279,), (1388535280,), (1388535315,), (1388535416,), (1388535418,), (1388535420,), (1388535423,), (1388535606,), (1388535607,), (1388535641,), (1388535643,), (1388535656,), (1388535660,), (1388535662,), (1388535667,), (1388535670,), (1388535700,), (1388535691,), (1388535694,), (1388535697,), (1388535858,), (1388535864,), (1388535866,), (1388535870,), (1388535873,), (1388535876,), (1388536189,), (1388536191,), (1388536193,), (1388536195,), (1388536198,), (1388536347,), (1388536414,), (1388536545,), (1388536549,), (1388536566,), (1388536568,), (1388536569,), (1388536574,), (1388536576,), (1388536589,), (1388536591,), (1388536595,), (1388536599,), (1388536603,), (1388536648,), (1388536795,), (1388536799,), (1388536803,), (1388536806,), (1388536808,), (1388536810,), (1388536814,), (1388536816,), (1388536818,), (1388536823,), (1388536826,), (1388536829,), (1388536839,), (1388536846,), (1388537393,), (1388537673,), (1388537675,), (1388537677,), (1388537681,), (1388537691,), (1388537702,), (1388538033,), (1388538110,), (1388538114,), (1388538293,), (1388538295,), (1388538297,), (1388538299,), (1388539143,), (1388539146,), (1388539832,), (1388539836,), (1388539839,), (1388540052,), (1388540389,), (1388540491,), (1388540555,), (1388541047,), (1388541050,), (1388541052,), (1388541764,), (1388541770,), (1388541912,), (1388542190,), (1388541899,), (1388541906,), (1388541927,), (1388541938,), (1388541984,), (1388542035,), (1388542077,), (1388542122,), (1388542132,), (1388542173,), (1388542195,), (1388542232,), (1388542248,), (1388542251,), (1388542256,), (1388542346,), (1388542348,), (1388542351,), (1388542375,), (1388542378,), (1388542381,), (1388542385,), (1388542390,), (1388542393,), (1388542408,), (1388542411,), (1388542414,), (1388542418,), (1388542423,), (1388542589,), (1388542598,), (1388542607,), (1388542609,), (1388542612,), (1388542626,), (1388542628,), (1388542658,), (1388542661,), (1388542662,), (1388542665,), (1388542670,), (1388542689,), (1388542691,), (1388542694,), (1388551550,), (1388569398,), (1388569485,), (1388569527,), (1388569573,), (1388569598,), (1388569743,), (1388569745,), (1388569760,), (1388569762,), (1388570025,), (1388570027,), (1388570044,), (1388570047,), (1388570049,), (1388570051,), (1388570065,), (1388570067,), (1388570069,), (1388570072,), (1388570076,), (1388570084,), (1388570087,), (1388570089,), (1388570093,), (1388570109,), (1388570111,), (1388570114,), (1388570146,), (1388570194,), (1388570234,), (1388570343,), (1388570381,), (1388570414,), (1388570416,), (1388570421,), (1388570521,), (1388570523,), (1388570525,), (1388570529,), (1388570532,), (1388570534,), (1388570543,), (1388570546,), (1388570548,), (1388570551,), (1388570556,), (1388570569,), (1388570565,), (1388570567,), (1388570703,), (1388570734,), (1388570740,), (1388570811,), (1388570813,), (1388570816,), (1388570819,), (1388570823,), (1388570826,), (1388570838,), (1388570840,), (1388570856,), (1388570858,), (1388570861,), (1388570865,), (1388570869,), (1388570879,), (1388570882,), (1388570887,), (1388570892,), (1388570896,), (1388570898,), (1388571078,), (1388571083,), (1388571109,), (1388571112,), (1388571115,), (1388571144,), (1388571148,), (1388571149,), (1388571150,), (1388571155,), (1388571158,), (1388571171,), (1388571172,), (1388571199,), (1388571203,), (1388571205,), (1388571218,), (1388571220,), (1388571223,), (1388571227,), (1388571241,), (1388571244,), (1388571330,), (1388571712,), (1388571327,), (1388571329,), (1388571578,), (1388571580,), (1388571584,), (1388571587,), (1388571590,), (1388571608,), (1388571941,), (1388571984,), (1388572572,), (1388572615,), (1388572654,), (1388572698,), (1388572963,), (1388572964,), (1388572965,), (1388572968,), (1388572972,), (1388572991,), (1388572992,), (1388572994,), (1388573347,), (1388573416,), (1388573509,), (1388573562,), (1388573618,), (1388573821,), (1388573911,), (1388573968,), (1388574019,), (1388574066,), (1388574235,), (1388574237,), (1388574239,), (1388574242,), (1388574246,), (1388574250,), (1388574552,), (1388574562,), (1388574579,), (1388574595,), (1388574597,), (1388574600,), (1388574602,), (1388574604,), (1388574608,), (1388574612,), (1388574613,), (1388574632,), (1388574679,), (1388574720,), (1388574950,), (1388574952,), (1388574961,), (1388575006,), (1388575187,), (1388575189,), (1388575191,), (1388575212,), (1388575205,), (1388575207,), (1388575209,), (1388575394,), (1388575401,), (1388575468,), (1388575470,), (1388575472,), (1388575475,), (1388575478,), (1388575492,), (1388575494,), (1388575496,), (1388575498,), (1388575513,), (1388575515,), (1388575519,), (1388575522,), (1388575525,), (1388575529,), (1388575531,), (1388575534,), (1388575537,), (1388575539,), (1388575543,), (1388575679,), (1388575728,), (1388575730,), (1388575753,), (1388575756,), (1388575804,), (1388575807,), (1388575811,), (1388575813,), (1388575816,), (1388575828,), (1388575830,), (1388575831,), (1388575834,), (1388575852,), (1388575855,), (1388575858,), (1388575861,), (1388575865,), (1388575868,), (1388575878,), (1388575879,), (1388575880,), (1388575883,), (1388575887,), (1388575898,), (1388575900,), (1388575902,), (1388575928,), (1388576175,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09102025': {'nb_upload': 23, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27649321]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] map_info['map_portfolio_photo'] : {27649321: [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500]} final : True mtd_id 4302 list_pids : [1388452241, 1388452179, 1388452176, 1388452172, 1388452161, 1388452157, 1388451688, 1388451298, 1388451296, 1388451268, 1388450433, 1388450413, 1388450410, 1388450396, 1388450392, 1388450387, 1388450385, 1388450383, 1388449524, 1388449522, 1388449520, 1388449503, 1388449500] Looping around the photos to save general results len do output : 1 /27649321Didn'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, '3916997') ('4302', '27649321', '1388452241', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452179', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452176', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452172', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452161', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388452157', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451688', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451298', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451296', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388451268', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450433', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450413', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450410', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450396', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450392', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450387', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450385', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388450383', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449524', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449522', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449520', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449503', None, None, None, None, None, '3916997') ('4302', None, None, None, None, None, None, None, '3916997') ('4302', '27649321', '1388449500', None, None, None, None, None, '3916997') 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', None, '27649321', 'None', None, None, None, None, '3916997'), ('4302', '27649321', '1388452241', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452179', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452176', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452172', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452161', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388452157', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451688', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451298', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451296', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388451268', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450433', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450413', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450410', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450396', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450392', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450387', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450385', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388450383', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449524', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449522', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449520', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449503', None, None, None, None, None, '3916997'), ('4302', '27649321', '1388449500', None, None, None, None, None, '3916997')] time used for this insertion : 0.040220022201538086 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.77122950553894 time spend to save output : 0.04054737091064453 total time spend for step 5 : 12.811776876449585 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 (3916997) 2.60user 2.71system 0:23.46elapsed 22%CPU (0avgtext+0avgdata 168960maxresident)k 7592inputs+16440outputs (91major+76208minor)pagefaults 0swaps