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 : 1832360 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 (3927913) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3927913) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709915 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3927913'] with mtr_portfolio_ids : ['27709915'] and first list_photo_ids : [] new path : /proc/1832360/ Name: python3 Umask: 0002 State: R (running) Tgid: 1832360 Ngid: 0 Pid: 1832360 PPid: 1832359 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1832360 NSpid: 1832360 NSpgid: 1831812 NSsid: 1831812 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98720 kB VmRSS: 98720 kB RssAnon: 59852 kB RssFile: 38868 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 540 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 44 nonvoluntary_ctxt_switches: 116 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1832360', 'Ngid': '0', 'Pid': '1832360', 'PPid': '1832359', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1832360', 'NSpid': '1832360', 'NSpgid': '1831812', 'NSsid': '1831812', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98720 kB', 'VmRSS': '98720 kB', 'RssAnon': '59852 kB', 'RssFile': '38868 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '540 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '44', 'nonvoluntary_ctxt_switches': '116'} ('datou_batch_current', '1832360', '1106868', '0', '1106868', '865620', '98720', b'', 'marlene', '3927913') 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 (27709915) 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 (3927913 ) ) 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 (27709915) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388783097, 'portfolio_id': 27709915}, {'photo_id': 1388783060, 'portfolio_id': 27709915}, {'photo_id': 1388783057, 'portfolio_id': 27709915}, {'photo_id': 1388782999, 'portfolio_id': 27709915}, {'photo_id': 1388782941, 'portfolio_id': 27709915}, {'photo_id': 1388782939, 'portfolio_id': 27709915}, {'photo_id': 1388782928, 'portfolio_id': 27709915}, {'photo_id': 1388782922, 'portfolio_id': 27709915}, {'photo_id': 1388782919, 'portfolio_id': 27709915}, {'photo_id': 1388782917, 'portfolio_id': 27709915}, {'photo_id': 1388782883, 'portfolio_id': 27709915}, {'photo_id': 1388782882, 'portfolio_id': 27709915}, {'photo_id': 1388782881, 'portfolio_id': 27709915}, {'photo_id': 1388782790, 'portfolio_id': 27709915}, {'photo_id': 1388782782, 'portfolio_id': 27709915}, {'photo_id': 1388782779, 'portfolio_id': 27709915}, {'photo_id': 1388782777, 'portfolio_id': 27709915}, {'photo_id': 1388782775, 'portfolio_id': 27709915}, {'photo_id': 1388782755, 'portfolio_id': 27709915}, {'photo_id': 1388782753, 'portfolio_id': 27709915}, {'photo_id': 1388782602, 'portfolio_id': 27709915}] map_portfolio_id_photo_id: {27709915: [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602]} ##### 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.05484747886657715 #### 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 Sat Oct 11 05:56:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27709915) 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 : 27709915 get user id for portfolio 27709915 get sub ptf for main ptf 27709915, type 3726 and hashtags ['metal', 'mal_croppe', 'kraft', 'flou', 'environnement', 'cartonnette', 'Teint_Dans_La_Masse', 'papier', 'plastique', 'Carton_brun', 'Carton_gris', 'autre_refus'] 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`=27709915 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','kraft','flou','environnement','cartonnette','Teint_Dans_La_Masse','papier','plastique','Carton_brun','Carton_gris','autre_refus')) 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`=27709915 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','kraft','flou','environnement','cartonnette','Teint_Dans_La_Masse','papier','plastique','Carton_brun','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 27709915, 'sub_port_id': 27709942, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691250, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'Carton_brun': {'main_port_id': 27709915, 'sub_port_id': 27709943, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691251, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'papier': {'main_port_id': 27709915, 'sub_port_id': 27709944, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691252, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'cartonnette': {'main_port_id': 27709915, 'sub_port_id': 27709945, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691253, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'flou': {'main_port_id': 27709915, 'sub_port_id': 27709946, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691254, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'environnement': {'main_port_id': 27709915, 'sub_port_id': 27709947, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691255, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'kraft': {'main_port_id': 27709915, 'sub_port_id': 27709948, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691256, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'Carton_gris': {'main_port_id': 27709915, 'sub_port_id': 27709949, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691257, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 27709915, 'sub_port_id': 27709950, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691258, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'autre_refus': {'main_port_id': 27709915, 'sub_port_id': 27709951, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691259, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'plastique': {'main_port_id': 27709915, 'sub_port_id': 27709952, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691260, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}, 'mal_croppe': {'main_port_id': 27709915, 'sub_port_id': 27709953, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691261, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709942 , 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=27709915 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 (27709942) result : ((1388783074,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709943 , 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=27709915 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 (27709943) result : ((1388782927,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709944 , 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=27709915 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 (27709944) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709945 , 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=27709915 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 (27709945) result : ((1388782789,), (1388782859,), (1388782860,), (1388782874,), (1388783071,), (1388783073,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709946 , 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=27709915 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 (27709946) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709947 , 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=27709915 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 (27709947) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709948 , 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=27709915 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 (27709948) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709949 , 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=27709915 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 (27709949) result : ((1388783068,), (1388783069,), (1388783070,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709950 , 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=27709915 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 (27709950) result : ((1388782785,), (1388782786,), (1388782851,), (1388782852,), (1388782853,), (1388782923,), (1388783065,), (1388783066,), (1388783067,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709951 , 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=27709915 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 (27709951) result : ((1388782788,), (1388782855,), (1388782856,), (1388782857,), (1388782924,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709952 , 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=27709915 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 (27709952) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27709953 , 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=27709915 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 (27709953) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27709915) result : ((1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27709915 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','kraft','flou','environnement','cartonnette','Teint_Dans_La_Masse','papier','plastique','Carton_brun','Carton_gris','autre_refus')) 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`=27709915 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','kraft','flou','environnement','cartonnette','Teint_Dans_La_Masse','papier','plastique','Carton_brun','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 27709915, 'sub_port_id': 27709954, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691262, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'Carton_brun': {'main_port_id': 27709915, 'sub_port_id': 27709955, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691263, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'papier': {'main_port_id': 27709915, 'sub_port_id': 27709956, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691264, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'cartonnette': {'main_port_id': 27709915, 'sub_port_id': 27709957, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691265, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'flou': {'main_port_id': 27709915, 'sub_port_id': 27709958, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691266, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'environnement': {'main_port_id': 27709915, 'sub_port_id': 27709959, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691267, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'kraft': {'main_port_id': 27709915, 'sub_port_id': 27709960, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691268, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'Carton_gris': {'main_port_id': 27709915, 'sub_port_id': 27709961, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691269, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'Teint_Dans_La_Masse': {'main_port_id': 27709915, 'sub_port_id': 27709962, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691270, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'autre_refus': {'main_port_id': 27709915, 'sub_port_id': 27709963, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691271, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'plastique': {'main_port_id': 27709915, 'sub_port_id': 27709964, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691272, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 9, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}, 'mal_croppe': {'main_port_id': 27709915, 'sub_port_id': 27709965, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18691273, 'last_updated_at': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_desc': datetime.datetime(2025, 10, 10, 18, 18, 35), 'last_updated_at_asc': datetime.datetime(2025, 10, 10, 18, 9, 35)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709954,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709942 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709955,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709943 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709956,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709944 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709957,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709945 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709958,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709946 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709959,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709947 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709960,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709948 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709961,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709949 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709962,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709950 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709963,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709951 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709964,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709952 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27709965,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27709953 lien utilise dans velours : https://marlene.fotonower.com/velours/27709954,27709955,27709956,27709957,27709958,27709959,27709960,27709961,27709962,27709963,27709964,27709965?tags=metal,Carton_brun,papier,cartonnette,flou,environnement,kraft,Carton_gris,Teint_Dans_La_Masse,autre_refus,plastique,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27709915]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] map_info['map_portfolio_photo'] : {27709915: [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602]} final : False mtd_id 4302 list_pids : [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] Looping around the photos to save general results len do output : 1 /27709915. 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, '3927913') ('4302', '27709915', '1388783097', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783060', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783057', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782999', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782941', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782939', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782928', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782922', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782919', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782917', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782883', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782882', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782881', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782790', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782782', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782779', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782777', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782775', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782755', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782753', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782602', None, None, None, None, None, '3927913') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '27709915', "{'metal': 27709942, 'Carton_brun': 27709943, 'papier': 27709944, 'cartonnette': 27709945, 'flou': 27709946, 'environnement': 27709947, 'kraft': 27709948, 'Carton_gris': 27709949, 'Teint_Dans_La_Masse': 27709950, 'autre_refus': 27709951, 'plastique': 27709952, 'mal_croppe': 27709953}", None, None, None, None, '3927913'), ('4302', '27709915', '1388783097', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388783060', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388783057', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782999', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782941', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782939', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782928', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782922', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782919', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782917', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782883', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782882', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782881', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782790', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782782', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782779', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782777', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782775', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782755', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782753', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782602', None, None, None, None, None, '3927913')] time used for this insertion : 0.04051375389099121 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.0727219581604 time spend to save output : 0.0408930778503418 total time spend for step 1 : 5.113615036010742 step2:final Sat Oct 11 05:56:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27709915) 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 27709915 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388782602,1388782755,1388782753,1388782790,1388782782,1388782779,1388782777,1388782775,1388782883,1388782999,1388782882,1388782941,1388782939,1388782881,1388782928,1388782922,1388782919,1388782917,1388783060,1388783057,1388783097); 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([27709915]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} new output for save of step final : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] map_info['map_portfolio_photo'] : {27709915: [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602]} final : False mtd_id 4302 list_pids : [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] Looping around the photos to save general results len do output : 21 /1388783097.Didn't retrieve data . /1388783060.Didn't retrieve data . /1388783057.Didn't retrieve data . /1388782999.Didn't retrieve data . /1388782941.Didn't retrieve data . /1388782939.Didn't retrieve data . /1388782928.Didn't retrieve data . /1388782922.Didn't retrieve data . /1388782919.Didn't retrieve data . /1388782917.Didn't retrieve data . /1388782883.Didn't retrieve data . /1388782882.Didn't retrieve data . /1388782881.Didn't retrieve data . /1388782790.Didn't retrieve data . /1388782782.Didn't retrieve data . /1388782779.Didn't retrieve data . /1388782777.Didn't retrieve data . /1388782775.Didn't retrieve data . /1388782755.Didn't retrieve data . /1388782753.Didn't retrieve data . /1388782602.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, '3927913') ('4302', '27709915', '1388783097', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783060', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783057', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782999', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782941', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782939', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782928', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782922', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782919', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782917', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782883', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782882', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782881', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782790', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782782', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782779', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782777', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782775', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782755', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782753', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782602', None, None, None, None, None, '3927913') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 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', '27709915', '1388783097', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388783060', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388783057', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782999', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782941', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782939', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782928', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782922', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782919', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782917', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782883', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782882', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782881', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782790', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782782', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782779', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782777', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782775', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782755', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782753', '0.033810404770764496', None, None, None, None, '3927913'), ('4302', '27709915', '1388782602', '0.033810404770764496', None, None, None, None, '3927913')] time used for this insertion : 0.03853011131286621 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24699807167053223 time spend to save output : 0.03966355323791504 total time spend for step 2 : 0.28666162490844727 step3:velours_tree Sat Oct 11 05:56:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {27709915: [{'metal': 27709942, 'Carton_brun': 27709943, 'papier': 27709944, 'cartonnette': 27709945, 'flou': 27709946, 'environnement': 27709947, 'kraft': 27709948, 'Carton_gris': 27709949, 'Teint_Dans_La_Masse': 27709950, 'autre_refus': 27709951, 'plastique': 27709952, 'mal_croppe': 27709953}]} input_args_next_step : {27709915: ()} output_args : {27709915: [{'metal': 27709942, 'Carton_brun': 27709943, 'papier': 27709944, 'cartonnette': 27709945, 'flou': 27709946, 'environnement': 27709947, 'kraft': 27709948, 'Carton_gris': 27709949, 'Teint_Dans_La_Masse': 27709950, 'autre_refus': 27709951, 'plastique': 27709952, 'mal_croppe': 27709953}]} args : 27709915 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 : ({'metal': 27709942, 'Carton_brun': 27709943, 'papier': 27709944, 'cartonnette': 27709945, 'flou': 27709946, 'environnement': 27709947, 'kraft': 27709948, 'Carton_gris': 27709949, 'Teint_Dans_La_Masse': 27709950, 'autre_refus': 27709951, 'plastique': 27709952, 'mal_croppe': 27709953},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27709915) 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([27709915]) 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.32209229469299316 time spend to save output : 4.315376281738281e-05 total time spend for step 3 : 0.32213544845581055 step4:send_mail_cod Sat Oct 11 05:56:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} input_args_next_step : {1388783097: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388783097 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388783060 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388783057 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782999 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782941 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782939 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782928 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782922 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782919 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782917 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782883 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782882 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782881 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782790 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782782 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782779 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782777 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782775 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782755 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782753 depend.output_id : 0 input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ()} output_args : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',)} args : 1388782602 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 : {27709915: [{'metal': 27709942, 'Carton_brun': 27709943, 'papier': 27709944, 'cartonnette': 27709945, 'flou': 27709946, 'environnement': 27709947, 'kraft': 27709948, 'Carton_gris': 27709949, 'Teint_Dans_La_Masse': 27709950, 'autre_refus': 27709951, 'plastique': 27709952, 'mal_croppe': 27709953}]} input_args_next_step : {1388783097: ('0.033810404770764496',), 1388783060: ('0.033810404770764496',), 1388783057: ('0.033810404770764496',), 1388782999: ('0.033810404770764496',), 1388782941: ('0.033810404770764496',), 1388782939: ('0.033810404770764496',), 1388782928: ('0.033810404770764496',), 1388782922: ('0.033810404770764496',), 1388782919: ('0.033810404770764496',), 1388782917: ('0.033810404770764496',), 1388782883: ('0.033810404770764496',), 1388782882: ('0.033810404770764496',), 1388782881: ('0.033810404770764496',), 1388782790: ('0.033810404770764496',), 1388782782: ('0.033810404770764496',), 1388782779: ('0.033810404770764496',), 1388782777: ('0.033810404770764496',), 1388782775: ('0.033810404770764496',), 1388782755: ('0.033810404770764496',), 1388782753: ('0.033810404770764496',), 1388782602: ('0.033810404770764496',), 27709915: ()} output_args : {27709915: [{'metal': 27709942, 'Carton_brun': 27709943, 'papier': 27709944, 'cartonnette': 27709945, 'flou': 27709946, 'environnement': 27709947, 'kraft': 27709948, 'Carton_gris': 27709949, 'Teint_Dans_La_Masse': 27709950, 'autre_refus': 27709951, 'plastique': 27709952, 'mal_croppe': 27709953}]} args : 27709915 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 :22, first value : ('0.033810404770764496',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27709915) 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 (1388783097,1388783060,1388783057,1388782999,1388782941,1388782939,1388782928,1388782922,1388782919,1388782917,1388782883,1388782882,1388782881,1388782790,1388782782,1388782779,1388782777,1388782775,1388782755,1388782753,1388782602) Found this number of photos: 21 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388782602 begin to download photo : 1388782779 begin to download photo : 1388782883 begin to download photo : 1388782939 begin to download photo : 1388783097 download finish for photo 1388782939 begin to download photo : 1388782941 download finish for photo 1388782602 begin to download photo : 1388782753 download finish for photo 1388782779 begin to download photo : 1388782782 download finish for photo 1388783097 download finish for photo 1388782883 begin to download photo : 1388782917 download finish for photo 1388782753 begin to download photo : 1388782755 download finish for photo 1388782941 begin to download photo : 1388782999 download finish for photo 1388782917 begin to download photo : 1388782919 download finish for photo 1388782782 begin to download photo : 1388782790 download finish for photo 1388782999 begin to download photo : 1388783057 download finish for photo 1388782755 begin to download photo : 1388782775 download finish for photo 1388782919 begin to download photo : 1388782922 download finish for photo 1388782790 begin to download photo : 1388782881 download finish for photo 1388783057 begin to download photo : 1388783060 download finish for photo 1388782775 begin to download photo : 1388782777 download finish for photo 1388782922 begin to download photo : 1388782928 download finish for photo 1388783060 download finish for photo 1388782881 begin to download photo : 1388782882 download finish for photo 1388782777 download finish for photo 1388782928 download finish for photo 1388782882 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 : 21 ; length of list_pids : 21 ; length of list_args : 21 results_Auto_P27709915_11-10-2025_05_56_36.pdf 27709942 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=27709942 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388783074: '1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073158_0.png'} change filename to text .imagette277099421760154996/ imagette277099421760154996/1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073158_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c68b6647a361e117382fe7e29c9df63a_36689136.png imagette277099421760154996 27709945 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=27709945 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388782789: '1760112544_1189674_1388782753_0e0b028769a0156cc99ff9da66234cc4_rle_crop_3993069408_0.png', 1388782859: '1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071038_0.png', 1388782860: '1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071049_0.png', 1388782874: '1760112685_1198300_1388782790_7d45b66120fb1cdca70e59cbd15d0424_rle_crop_3993071241_0.png', 1388783071: '1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073134_0.png', 1388783073: '1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073155_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/40c22c6280da4936ccaa86e9237b821b_2138129.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/30773c39c465cf33a67e343470169a6b_86218772.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/440a7f85c6b12788b42963ffea02796a_77544643.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/adfc538dbb56d1df93d5251f2ebd8cff_68664700.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/f6872ab5f52d6f6a465e6083707e5f68_98300402.png change filename to text .imagette277099451760154996/ imagette277099451760154996/1760112544_1189674_1388782753_0e0b028769a0156cc99ff9da66234cc4_rle_crop_3993069408_0.png.png imagette277099451760154996/1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073134_0.png.png imagette277099451760154996/1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071049_0.png.png imagette277099451760154996/1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071038_0.png.png imagette277099451760154996/1760112685_1198300_1388782790_7d45b66120fb1cdca70e59cbd15d0424_rle_crop_3993071241_0.png.png imagette277099451760154996/1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073155_0.png.png imagette277099461760154997/ imagette277099481760154997/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/688d85bf9a2459e6919eec7a62e4110e_40725343.png imagette277099451760154996 27709946 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=27709946 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette277099461760154997 27709948 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=27709948 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette277099481760154997 27709951 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=27709951 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388782788: '1760112544_1189674_1388782755_41b730401d5bce0307e397d1808bc73f_rle_crop_3993069397_0.png', 1388782855: '1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071047_0.png', 1388782856: '1760112665_1196186_1388782779_d058fa85200f7311a3d3408d15a49455_rle_crop_3993071060_0.png', 1388782857: '1760112665_1196186_1388782777_e9319d1a4d84c6b3a9fa73ed6e7dd21d_rle_crop_3993071081_0.png', 1388782924: '1760112784_1204038_1388782882_94bc84abb3716fefef0e2630bcd6181f_rle_crop_3993072226_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/1c96f112082a951bb6ce8bbee2671f57_7875951.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/79adc2a07c01c4378c74aa9414e4e95d_66680902.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3e29290f92fe6643ccfc95c1aa8c5d18_16109828.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/af4080ba855a7583e51ba603d4fe113d_19006410.png change filename to text .imagette277099511760154997/ imagette277099511760154997/1760112665_1196186_1388782779_d058fa85200f7311a3d3408d15a49455_rle_crop_3993071060_0.png.png imagette277099511760154997/1760112784_1204038_1388782882_94bc84abb3716fefef0e2630bcd6181f_rle_crop_3993072226_0.png.png imagette277099511760154997/1760112544_1189674_1388782755_41b730401d5bce0307e397d1808bc73f_rle_crop_3993069397_0.png.png imagette277099511760154997/1760112665_1196186_1388782777_e9319d1a4d84c6b3a9fa73ed6e7dd21d_rle_crop_3993071081_0.png.png imagette277099511760154997/1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071047_0.png.png imagette277099521760154998/ imagette277099531760154998/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/2b808afd23c1712999490d74464b50d6_63408467.png imagette277099511760154997 27709952 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=27709952 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette277099521760154998 27709953 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=27709953 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette277099531760154998 27709943 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=27709943 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388782927: '1760112784_1204038_1388782881_5579d0a6685a6aa4d8ea60cbe5691b59_rle_crop_3993072258_0.png'} change filename to text .imagette277099431760154998/ imagette277099431760154998/1760112784_1204038_1388782881_5579d0a6685a6aa4d8ea60cbe5691b59_rle_crop_3993072258_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/96cfc8b1d7398bba27c2790b98b1fbb5_25742129.png imagette277099431760154998 27709949 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=27709949 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388783068: '1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073137_0.png', 1388783069: '1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073156_0.png', 1388783070: '1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073159_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/d87aaf71d03b1e9e42f7dea9d275af45_16214130.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/b50f6ad3b9a8ee5d5f11e3843f1c546c_40855712.png change filename to text .imagette277099491760154998/ imagette277099491760154998/1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073137_0.png.png imagette277099491760154998/1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073159_0.png.png imagette277099491760154998/1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073156_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0b8c90cced2cbc768f70b32e0d9549c0_91089641.png imagette277099491760154998 27709950 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=27709950 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388782785: '1760112544_1189674_1388782755_41b730401d5bce0307e397d1808bc73f_rle_crop_3993069396_0.png', 1388782786: '1760112544_1189674_1388782755_41b730401d5bce0307e397d1808bc73f_rle_crop_3993069398_0.png', 1388782851: '1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071043_0.png', 1388782852: '1760112665_1196186_1388782777_e9319d1a4d84c6b3a9fa73ed6e7dd21d_rle_crop_3993071076_0.png', 1388782853: '1760112665_1196186_1388782775_25744942aa6961a9b507c81bb443796c_rle_crop_3993071094_0.png', 1388782923: '1760112784_1204038_1388782881_5579d0a6685a6aa4d8ea60cbe5691b59_rle_crop_3993072264_0.png', 1388783065: '1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073141_0.png', 1388783066: '1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073146_0.png', 1388783067: '1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073164_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/4a5378441aca036c052b7ba054c9257d_35969158.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/aceb833a3949b5c44edff919496a13da_85596671.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/3478bc453b29226de8896ad76bc33d45_27295023.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/25098c391106df9df9a03d1c43c1fa4b_26906534.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0ba15256c48c689e049739ac18b7bec4_1560310.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/aaca862569443fbd35afb1b7ba3e146b_80298587.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/1d54d4b35fa43321cc52fb8330bde432_40202010.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/c304bfe7ea45efe8c35cebc3624c2bcd_20491681.png change filename to text .imagette277099501760154998/ imagette277099501760154998/1760112904_1210232_1388782919_4bde04b3018656e598131261f151c4a4_rle_crop_3993073164_0.png.png imagette277099501760154998/1760112784_1204038_1388782881_5579d0a6685a6aa4d8ea60cbe5691b59_rle_crop_3993072264_0.png.png imagette277099501760154998/1760112544_1189674_1388782755_41b730401d5bce0307e397d1808bc73f_rle_crop_3993069398_0.png.png imagette277099501760154998/1760112665_1196186_1388782777_e9319d1a4d84c6b3a9fa73ed6e7dd21d_rle_crop_3993071076_0.png.png imagette277099501760154998/1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073141_0.png.png imagette277099501760154998/1760112665_1196186_1388782782_f25ba0f89c933b85e83a2a495a2f8504_rle_crop_3993071043_0.png.png imagette277099501760154998/1760112544_1189674_1388782755_41b730401d5bce0307e397d1808bc73f_rle_crop_3993069396_0.png.png imagette277099501760154998/1760112665_1196186_1388782775_25744942aa6961a9b507c81bb443796c_rle_crop_3993071094_0.png.png imagette277099501760154998/1760112904_1210232_1388782922_b749209b8e1d1994ea11222cfb0c72ce_rle_crop_3993073146_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/31d5bcfb39b99346563e19e559768ec1_11518295.png imagette277099501760154998 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27709915 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27709954,27709955,27709956,27709957,27709958,27709959,27709960,27709961,27709962,27709963,27709964,27709965?tags=metal,Carton_brun,papier,cartonnette,flou,environnement,kraft,Carton_gris,Teint_Dans_La_Masse,autre_refus,plastique,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1388783097] : ('0.033810404770764496',) no score found for photo 1388783097 We are sending mail with results at report@fotonower.com args[1388783060] : ('0.033810404770764496',) no score found for photo 1388783060 We are sending mail with results at report@fotonower.com args[1388783057] : ('0.033810404770764496',) no score found for photo 1388783057 We are sending mail with results at report@fotonower.com args[1388782999] : ('0.033810404770764496',) no score found for photo 1388782999 We are sending mail with results at report@fotonower.com args[1388782941] : ('0.033810404770764496',) no score found for photo 1388782941 We are sending mail with results at report@fotonower.com args[1388782939] : ('0.033810404770764496',) no score found for photo 1388782939 We are sending mail with results at report@fotonower.com args[1388782928] : ('0.033810404770764496',) no score found for photo 1388782928 We are sending mail with results at report@fotonower.com args[1388782922] : ('0.033810404770764496',) no score found for photo 1388782922 We are sending mail with results at report@fotonower.com args[1388782919] : ('0.033810404770764496',) no score found for photo 1388782919 We are sending mail with results at report@fotonower.com args[1388782917] : ('0.033810404770764496',) no score found for photo 1388782917 We are sending mail with results at report@fotonower.com args[1388782883] : ('0.033810404770764496',) no score found for photo 1388782883 We are sending mail with results at report@fotonower.com args[1388782882] : ('0.033810404770764496',) no score found for photo 1388782882 We are sending mail with results at report@fotonower.com args[1388782881] : ('0.033810404770764496',) no score found for photo 1388782881 We are sending mail with results at report@fotonower.com args[1388782790] : ('0.033810404770764496',) no score found for photo 1388782790 We are sending mail with results at report@fotonower.com args[1388782782] : ('0.033810404770764496',) no score found for photo 1388782782 We are sending mail with results at report@fotonower.com args[1388782779] : ('0.033810404770764496',) no score found for photo 1388782779 We are sending mail with results at report@fotonower.com args[1388782777] : ('0.033810404770764496',) no score found for photo 1388782777 We are sending mail with results at report@fotonower.com args[1388782775] : ('0.033810404770764496',) no score found for photo 1388782775 We are sending mail with results at report@fotonower.com args[1388782755] : ('0.033810404770764496',) no score found for photo 1388782755 We are sending mail with results at report@fotonower.com args[1388782753] : ('0.033810404770764496',) no score found for photo 1388782753 We are sending mail with results at report@fotonower.com args[1388782602] : ('0.033810404770764496',) no score found for photo 1388782602 We are sending mail with results at report@fotonower.com refus_total : 0.033810404770764496 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=27709915 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_P27709915_11-10-2025_05_56_36.pdf results_Auto_P27709915_11-10-2025_05_56_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27709915_11-10-2025_05_56_36.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','27709915','results_Auto_P27709915_11-10-2025_05_56_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27709915_11-10-2025_05_56_36.pdf','pdf','','0.23','0.033810404770764496') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27709915]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] map_info['map_portfolio_photo'] : {27709915: [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602]} final : False mtd_id 4302 list_pids : [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] 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, '3927913') ('4302', '27709915', '1388783097', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783060', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783057', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782999', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782941', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782939', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782928', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782922', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782919', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782917', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782883', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782882', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782881', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782790', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782782', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782779', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782777', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782775', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782755', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782753', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782602', None, None, None, None, None, '3927913') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 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', '27709915', '1388783097', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388783060', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388783057', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782999', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782941', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782939', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782928', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782922', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782919', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782917', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782883', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782882', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782881', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782790', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782782', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782779', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782777', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782775', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782755', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782753', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782602', None, None, None, None, None, '3927913')] time used for this insertion : 0.036810874938964844 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.4461729526519775 time spend to save output : 0.037168025970458984 total time spend for step 4 : 6.4833409786224365 step5:split_time_score Sat Oct 11 05:56:41 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 : ['27709915'] 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 : [('27709915',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27709915) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388783097: {'path': 'temp/1760154995_1832360_1388783097_89709a05c798c20d606170bddfd438a4.jpg', 'extension': 'jpg'}, 1388782939: {'path': 'temp/1760154995_1832360_1388782939_f5bdac5dcbc5008f5c9d0c9ccb26ff08.jpg', 'extension': 'jpg'}, 1388782941: {'path': 'temp/1760154995_1832360_1388782941_aff773cb4281737006cba0eb4b833e85.jpg', 'extension': 'jpg'}, 1388782999: {'path': 'temp/1760154995_1832360_1388782999_dcc83084a242e0d2cedee176c6ced1cf.jpg', 'extension': 'jpg'}, 1388783057: {'path': 'temp/1760154995_1832360_1388783057_9e8b09770c1d502269b1fd2378b9f72b.jpg', 'extension': 'jpg'}, 1388783060: {'path': 'temp/1760154995_1832360_1388783060_2e2a8ec904b5d7344d2e4930a9830256.jpg', 'extension': 'jpg'}, 1388782602: {'path': 'temp/1760154995_1832360_1388782602_88b774797d9a67ebacfce604ff5874f1.jpg', 'extension': 'jpg'}, 1388782753: {'path': 'temp/1760154995_1832360_1388782753_0e0b028769a0156cc99ff9da66234cc4.jpg', 'extension': 'jpg'}, 1388782755: {'path': 'temp/1760154995_1832360_1388782755_41b730401d5bce0307e397d1808bc73f.jpg', 'extension': 'jpg'}, 1388782775: {'path': 'temp/1760154995_1832360_1388782775_25744942aa6961a9b507c81bb443796c.jpg', 'extension': 'jpg'}, 1388782777: {'path': 'temp/1760154995_1832360_1388782777_e9319d1a4d84c6b3a9fa73ed6e7dd21d.jpg', 'extension': 'jpg'}, 1388782883: {'path': 'temp/1760154995_1832360_1388782883_d1e8bc329f78957924cb2b22c34df13d.jpg', 'extension': 'jpg'}, 1388782917: {'path': 'temp/1760154995_1832360_1388782917_071ab0148a2c0f8f7c7de087b5a4435c.jpg', 'extension': 'jpg'}, 1388782919: {'path': 'temp/1760154995_1832360_1388782919_4bde04b3018656e598131261f151c4a4.jpg', 'extension': 'jpg'}, 1388782922: {'path': 'temp/1760154995_1832360_1388782922_b749209b8e1d1994ea11222cfb0c72ce.jpg', 'extension': 'jpg'}, 1388782928: {'path': 'temp/1760154995_1832360_1388782928_305178680fa53236ad999e6a7199c155.jpg', 'extension': 'jpg'}, 1388782779: {'path': 'temp/1760154995_1832360_1388782779_d058fa85200f7311a3d3408d15a49455.jpg', 'extension': 'jpg'}, 1388782782: {'path': 'temp/1760154995_1832360_1388782782_f25ba0f89c933b85e83a2a495a2f8504.jpg', 'extension': 'jpg'}, 1388782790: {'path': 'temp/1760154995_1832360_1388782790_7d45b66120fb1cdca70e59cbd15d0424.jpg', 'extension': 'jpg'}, 1388782881: {'path': 'temp/1760154995_1832360_1388782881_5579d0a6685a6aa4d8ea60cbe5691b59.jpg', 'extension': 'jpg'}, 1388782882: {'path': 'temp/1760154995_1832360_1388782882_94bc84abb3716fefef0e2630bcd6181f.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 = 27709915; (('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 = 27709915 group by h (('18', 21),) 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=27709915 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 (27709915) 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 (27709915) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10102025 27709915 Nombre de photos uploadées : 21 / 23040 (0%) 10102025 27709915 Nombre de photos taguées (types de déchets): 0 / 21 (0%) 10102025 27709915 Nombre de photos taguées (volume) : 0 / 21 (0%) [{'photo_id': 1388782602, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/88b774797d9a67ebacfce604ff5874f1.jpg', 'username': None, 'uploaded_at': 1760112427, 'text': 'image_10102025_18_06_13_9127.jpg'}, {'photo_id': 1388782755, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/41b730401d5bce0307e397d1808bc73f.jpg', 'username': None, 'uploaded_at': 1760112488, 'text': 'image_10102025_18_07_14_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388782753, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/0e0b028769a0156cc99ff9da66234cc4.jpg', 'username': None, 'uploaded_at': 1760112488, 'text': 'image_10102025_18_07_43_010142m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1388782790, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/10/7d45b66120fb1cdca70e59cbd15d0424.jpg', 'username': None, 'uploaded_at': 1760112548, 'text': 'image_10102025_18_07_53_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 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.0067901611328125e-06 ????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010471343994140625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27709915, '2025-10-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2422953,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6486010551452637 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 2422953 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27666971, 'dashboard_result_id': 16292142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_11-10-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666983, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27667157, 'dashboard_result_id': 16292143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_11-10-2025_05_35_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27667171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667182, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27667353, 'dashboard_result_id': 16292144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667382, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27667763, 'dashboard_result_id': 16292145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_11-10-2025_05_35_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667799, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27669114, 'dashboard_result_id': 16292146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_11-10-2025_05_36_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669131, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27669527, 'dashboard_result_id': 16292147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_11-10-2025_05_36_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669545, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27669761, 'dashboard_result_id': 16292148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_11-10-2025_05_36_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669783, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27670150, 'dashboard_result_id': 16292149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_11-10-2025_05_37_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670184, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27670480, 'dashboard_result_id': 16292150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_11-10-2025_05_37_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670516, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27671021, 'dashboard_result_id': 16292151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_11-10-2025_05_37_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671093, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27671793, 'dashboard_result_id': 16292152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_11-10-2025_05_38_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671853, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27672121, 'dashboard_result_id': 16292153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_11-10-2025_05_38_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27672165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672182, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27672595, 'dashboard_result_id': 16292154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_11-10-2025_05_39_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27672608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672619, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27673065, 'dashboard_result_id': 16292155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_11-10-2025_05_39_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27673089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673100, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27673457, 'dashboard_result_id': 16292156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_11-10-2025_05_39_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27673514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673525, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27674810, 'dashboard_result_id': 16292157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_11-10-2025_05_40_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674834, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27674953, 'dashboard_result_id': 16292158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_11-10-2025_05_40_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674970, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27675098, 'dashboard_result_id': 16292159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_11-10-2025_05_41_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675110, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27675322, 'dashboard_result_id': 16292160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_11-10-2025_05_41_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27675355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675366, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27675658, 'dashboard_result_id': 16292161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_11-10-2025_05_41_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675675, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27676092, 'dashboard_result_id': 16292162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_11-10-2025_05_41_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676126, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27676554, 'dashboard_result_id': 16292163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_11-10-2025_05_42_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676577, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27677013, 'dashboard_result_id': 16292164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_11-10-2025_05_42_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677042, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27677631, 'dashboard_result_id': 16292165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_11-10-2025_05_43_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677664, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27678439, 'dashboard_result_id': 16292166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_11-10-2025_05_43_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27678499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27678500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27678501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27678502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27678503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27678504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27678505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27678506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27678507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27678508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27678509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27678510, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27679073, 'dashboard_result_id': 16292167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_11-10-2025_05_44_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27679115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679118, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27679739, 'dashboard_result_id': 16292168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_11-10-2025_05_44_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27679780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679792, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27680367, 'dashboard_result_id': 16292169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_11-10-2025_05_45_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27680436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27680437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27680439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27680440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27680441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27680444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27680445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27680446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27680447, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27681074, 'dashboard_result_id': 16292170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_11-10-2025_05_45_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681126, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27681711, 'dashboard_result_id': 16292171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_11-10-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681731, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27682395, 'dashboard_result_id': 16292172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_11-10-2025_05_46_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27686379, 'dashboard_result_id': 16292173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_11-10-2025_05_46_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27687081, 'dashboard_result_id': 16292174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_11-10-2025_05_46_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27687822, 'dashboard_result_id': 16292175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_11-10-2025_05_47_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27688928, 'dashboard_result_id': 16292176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_11-10-2025_05_47_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27689833, 'dashboard_result_id': 16292177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_11-10-2025_05_47_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27690741, 'dashboard_result_id': 16292178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_11-10-2025_05_48_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27691357, 'dashboard_result_id': 16292179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_11-10-2025_05_48_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27692247, 'dashboard_result_id': 16292180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_11-10-2025_05_49_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27693351, 'dashboard_result_id': 16292181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_11-10-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27694033, 'dashboard_result_id': 16292182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_11-10-2025_05_49_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27694826, 'dashboard_result_id': 16292183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_11-10-2025_05_50_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27697987, 'dashboard_result_id': 16292184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_11-10-2025_05_50_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27698447, 'dashboard_result_id': 16292185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_11-10-2025_05_51_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27699039, 'dashboard_result_id': 16292186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_11-10-2025_05_51_10.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27699828, 'dashboard_result_id': 16292187, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_11-10-2025_05_51_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27700422, 'dashboard_result_id': 16292188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_11-10-2025_05_51_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27700470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27700471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27700472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27700473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27700474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27700475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27700476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27700477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27700478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27700479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27700480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27700481, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27701019, 'dashboard_result_id': 16292189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_11-10-2025_05_52_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27701026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701036, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27701753, 'dashboard_result_id': 16292190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_11-10-2025_05_52_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27701814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701825, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27702479, 'dashboard_result_id': 16292191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_11-10-2025_05_53_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27702545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27702546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27702547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27702548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27702549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27702550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27702551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27702552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27702553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27702554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27702555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27702556, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27703133, 'dashboard_result_id': 16292192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_11-10-2025_05_53_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27703147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703156, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27703945, 'dashboard_result_id': 16292193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_11-10-2025_05_53_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27703950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703961, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27704550, 'dashboard_result_id': 16292194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_11-10-2025_05_54_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27704568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27704569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27704570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27704571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27704572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27704573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27704574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27704575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27704576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27704577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27704578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27704579, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27705266, 'dashboard_result_id': 16292195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_11-10-2025_05_54_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27705312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27705313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27705314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27705315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27705316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27705317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27705318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27705319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27705320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27705321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27705322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27705323, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27706045, 'dashboard_result_id': 16292196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_11-10-2025_05_55_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706076, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27706853, 'dashboard_result_id': 16292197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_11-10-2025_05_55_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706890, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27707417, 'dashboard_result_id': 16292198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_11-10-2025_05_56_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27707451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27707452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27707453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27707454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27707455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27707456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27707457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27707458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27707459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27707460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27707461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27707462, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27708136, 'dashboard_result_id': 16292199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27708136_11-10-2025_05_56_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27708178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27708179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27708180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27708181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27708182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27708183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27708184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27708185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27708186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27708187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27708188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27708189, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27709915, 'dashboard_result_id': 16292200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27709915_10-10-2025_18_18_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27709942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27709943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27709944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27709945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27709946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27709947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27709948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27709949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27709950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27709951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27709952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27709953, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27710267, 'dashboard_result_id': 16292201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710267_10-10-2025_18_33_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27710273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27710274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27710275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27710276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27710277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27710278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27710279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27710280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27710281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27710282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27710283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27710284, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27710653, 'dashboard_result_id': 16292202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710653_10-10-2025_18_49_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27710733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27710734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27710735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27710736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27710737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27710738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27710739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27710740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27710741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27710742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27710743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27710744, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27711167, 'dashboard_result_id': 16292203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711167_10-10-2025_19_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27711200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27711201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27711202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27711203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27711204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27711205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27711206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27711207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27711208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27711209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27711210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27711211, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27711555, 'dashboard_result_id': 16292204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711555_10-10-2025_19_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27711580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27711581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27711582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27711583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27711584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27711585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27711586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27711587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27711588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27711589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27711590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27711591, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27712226, 'dashboard_result_id': 16292205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712226_10-10-2025_19_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27712270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27712271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27712272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27712273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27712274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27712275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27712276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27712277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27712278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27712279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27712280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27712281, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27712730, 'dashboard_result_id': 16292206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712730_10-10-2025_19_49_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27712751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27712752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27712753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27712754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27712755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27712756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27712757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27712758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27712759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27712760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27712761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27712762, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27713285, 'dashboard_result_id': 16292207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713285_10-10-2025_20_03_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27713315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27713316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27713317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27713318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27713319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27713320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27713321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27713322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27713323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27713324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27713325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27713326, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27713685, 'dashboard_result_id': 16292208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713685_10-10-2025_20_19_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27713697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27713698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27713699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27713700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27713701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27713702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27713703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27713704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27713705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27713706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27713707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27713708, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27714321, 'dashboard_result_id': 16292209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714321_10-10-2025_20_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27714328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27714329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27714330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27714331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27714332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27714333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27714334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27714335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27714336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27714337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27714338, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27714339, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27714835, 'dashboard_result_id': 16292210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714835_10-10-2025_21_27_26.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27714867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27714868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27714869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27714870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27714871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27714872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27714873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27714874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27714875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27714876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27714877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27714878, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27716272, 'dashboard_result_id': 16292211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27716272_10-10-2025_21_48_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27716304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27716305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27716306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27716307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27716308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27716309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27716310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27716311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27716312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27716313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27716314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27716315, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27717049, 'dashboard_result_id': 16292212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717049_10-10-2025_22_19_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27717087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27717088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27717089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27717090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27717091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27717092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27717093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27717094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27717095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27717096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27717097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27717098, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27717492, 'dashboard_result_id': 16292213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717492_10-10-2025_22_39_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27717493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27717494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27717495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27717496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27717497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27717498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27717499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27717500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27717501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27717502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27717503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27717504, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27718577, 'dashboard_result_id': 16292214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27718577_10-10-2025_23_05_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27718579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27718580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27718581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27718582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27718583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27718584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27718585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27718586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27718587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27718588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27718589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27718590, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27719516, 'dashboard_result_id': 16292215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719516_10-10-2025_23_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27719527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719528, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27719789, 'dashboard_result_id': 16292216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719789_10-10-2025_23_49_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27719800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719801, 'pht': 3726}}"}, {'dashboat_entry_day': 2422953, 'dashboard_run_id': 2437623, 'mtr_portfolio_id': 27719860, 'dashboard_result_id': 16292217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719860_11-10-2025_00_30_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27719861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719872, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666971 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666971 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27666971 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666971 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27666971 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27666971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_11-10-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27666971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27666971_11-10-2025_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27666972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27666973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27666974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27666975, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27666976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27666977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27666978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27666979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27666980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27666981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27666982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27666983, 'pht': 3726}}" where mtr_portfolio_id = 27666971 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27667157 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667157 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27667157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_11-10-2025_05_35_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667157_11-10-2025_05_35_08.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27667171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667182, 'pht': 3726}}" where mtr_portfolio_id = 27667157 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667353 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667353 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27667353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667353 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667353_10-10-2025_00_47_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667382, 'pht': 3726}}" where mtr_portfolio_id = 27667353 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27667763 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27667763 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27667763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_11-10-2025_05_35_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27667763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27667763_11-10-2025_05_35_39.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27667788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27667789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27667790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27667791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27667792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27667793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27667794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27667795, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27667796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27667797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27667798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27667799, 'pht': 3726}}" where mtr_portfolio_id = 27667763 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27669114 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669114 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27669114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_11-10-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669114_11-10-2025_05_36_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669131, 'pht': 3726}}" where mtr_portfolio_id = 27669114 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27669527 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669527 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27669527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_11-10-2025_05_36_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669527_11-10-2025_05_36_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669540, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669545, 'pht': 3726}}" where mtr_portfolio_id = 27669527 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27669761 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27669761 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27669761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_11-10-2025_05_36_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27669761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27669761_11-10-2025_05_36_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27669772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27669773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27669774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27669775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27669776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27669777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27669778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27669779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27669780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27669781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27669782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27669783, 'pht': 3726}}" where mtr_portfolio_id = 27669761 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27670150 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670150 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27670150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_11-10-2025_05_37_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27670150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670150_11-10-2025_05_37_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670173, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670176, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670184, 'pht': 3726}}" where mtr_portfolio_id = 27670150 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27670480 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27670480 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27670480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_11-10-2025_05_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27670480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27670480_11-10-2025_05_37_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27670505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27670506, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27670507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27670508, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27670509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27670510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27670511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27670512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27670513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27670514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27670515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27670516, 'pht': 3726}}" where mtr_portfolio_id = 27670480 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27671021 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671021 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27671021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_11-10-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27671021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671021_11-10-2025_05_37_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671093, 'pht': 3726}}" where mtr_portfolio_id = 27671021 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27671793 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27671793 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27671793 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_11-10-2025_05_38_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27671793 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27671793_11-10-2025_05_38_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27671841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27671842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27671843, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27671844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27671845, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27671846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27671847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27671848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27671849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27671851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27671852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27671853, 'pht': 3726}}" where mtr_portfolio_id = 27671793 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27672121 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672121 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27672121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_11-10-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27672121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672121_11-10-2025_05_38_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27672165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672182, 'pht': 3726}}" where mtr_portfolio_id = 27672121 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27672595 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27672595 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27672595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_11-10-2025_05_39_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27672595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27672595_11-10-2025_05_39_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27672608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27672609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27672610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27672611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27672612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27672613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27672614, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27672615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27672616, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27672617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27672618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27672619, 'pht': 3726}}" where mtr_portfolio_id = 27672595 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27673065 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673065 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27673065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_11-10-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27673065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673065_11-10-2025_05_39_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27673089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673093, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673100, 'pht': 3726}}" where mtr_portfolio_id = 27673065 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27673457 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27673457 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27673457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_11-10-2025_05_39_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27673457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27673457_11-10-2025_05_39_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27673513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27673514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27673515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27673516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27673518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27673519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27673520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27673521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27673522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27673523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27673524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27673525, 'pht': 3726}}" where mtr_portfolio_id = 27673457 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27674810 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674810 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27674810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_11-10-2025_05_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27674810 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674810_11-10-2025_05_40_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674834, 'pht': 3726}}" where mtr_portfolio_id = 27674810 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27674953 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27674953 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27674953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_11-10-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27674953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27674953_11-10-2025_05_40_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27674959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27674960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27674961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27674962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27674963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27674964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27674965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27674966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27674967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27674968, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27674969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27674970, 'pht': 3726}}" where mtr_portfolio_id = 27674953 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27675098 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675098 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27675098 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_11-10-2025_05_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675098 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675098_11-10-2025_05_41_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675110, 'pht': 3726}}" where mtr_portfolio_id = 27675098 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27675322 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675322 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27675322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_11-10-2025_05_41_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675322_11-10-2025_05_41_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27675355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675358, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675364, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675366, 'pht': 3726}}" where mtr_portfolio_id = 27675322 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27675658 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27675658 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27675658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_11-10-2025_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27675658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27675658_11-10-2025_05_41_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27675663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27675664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27675665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27675666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27675667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27675668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27675669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27675670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27675671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27675672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27675674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27675675, 'pht': 3726}}" where mtr_portfolio_id = 27675658 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27676092 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676092 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27676092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_11-10-2025_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27676092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676092_11-10-2025_05_41_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676116, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676126, 'pht': 3726}}" where mtr_portfolio_id = 27676092 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27676554 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27676554 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27676554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_11-10-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27676554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27676554_11-10-2025_05_42_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27676564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27676565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27676566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27676567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27676568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27676569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27676570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27676571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27676572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27676573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27676575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27676577, 'pht': 3726}}" where mtr_portfolio_id = 27676554 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27677013 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677013 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27677013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_11-10-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27677013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677013_11-10-2025_05_42_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677042, 'pht': 3726}}" where mtr_portfolio_id = 27677013 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27677631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27677631 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27677631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_11-10-2025_05_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27677631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27677631_11-10-2025_05_43_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27677652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27677653, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27677654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27677655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27677656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27677658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27677659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27677660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27677661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27677662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27677663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27677664, 'pht': 3726}}" where mtr_portfolio_id = 27677631 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27678439 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27678439 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27678439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_11-10-2025_05_43_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27678439 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27678439_11-10-2025_05_43_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27678499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27678500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27678501, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27678502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27678503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27678504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27678505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27678506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27678507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27678508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27678509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27678510, 'pht': 3726}}" where mtr_portfolio_id = 27678439 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27679073 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679073 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27679073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_11-10-2025_05_44_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27679073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679073_11-10-2025_05_44_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27679115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679118, 'pht': 3726}}" where mtr_portfolio_id = 27679073 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27679739 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927881, 'mtr_portfolio_id': 27679739, 'created_at': datetime.datetime(2025, 10, 11, 5, 44, 34), 'result': '0.07784609175483309', 'result_long': None, 'result_double': None}] Qualite : 0.07784609175483309 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27679739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_11-10-2025_05_44_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27679739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_11-10-2025_05_44_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27679780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679792, 'pht': 3726}}" where mtr_portfolio_id = 27679739 and dashboard_run_id = 2437623 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`=27679739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292168, 0.07784609175483309, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27679739_11-10-2025_05_44_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27679780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27679781, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27679782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27679784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27679785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27679786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27679787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27679788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27679789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27679790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27679791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27679792, 'pht': 3726}}") 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 = 27680367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27680367 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27680367 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27680367 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27680367 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27680367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_11-10-2025_05_45_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27680367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27680367_11-10-2025_05_45_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27680436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27680437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27680438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27680439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27680440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27680441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27680442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27680443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27680444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27680445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27680446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27680447, 'pht': 3726}}" where mtr_portfolio_id = 27680367 and dashboard_run_id = 2437623 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27681074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927883, 'mtr_portfolio_id': 27681074, 'created_at': datetime.datetime(2025, 10, 11, 5, 45, 25), 'result': '0.06163065405203983', 'result_long': None, 'result_double': None}] Qualite : 0.06163065405203983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27681074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_11-10-2025_05_45_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27681074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_11-10-2025_05_45_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681126, 'pht': 3726}}" where mtr_portfolio_id = 27681074 and dashboard_run_id = 2437623 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`=27681074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292170, 0.06163065405203983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681074_11-10-2025_05_45_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681126, 'pht': 3726}}") 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 = 27681711 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': 3927884, 'mtr_portfolio_id': 27681711, 'created_at': datetime.datetime(2025, 10, 11, 5, 45, 32), 'result': '0.05884365447283872', 'result_long': None, 'result_double': None}] Qualite : 0.05884365447283872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27681711 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_11-10-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27681711 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_11-10-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681731, 'pht': 3726}}" where mtr_portfolio_id = 27681711 and dashboard_run_id = 2437623 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`=27681711 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292171, 0.05884365447283872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27681711_11-10-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27681720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27681721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27681722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27681723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27681724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27681725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27681726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27681727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27681728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27681729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27681730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27681731, 'pht': 3726}}") 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 = 27682395 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927885, 'mtr_portfolio_id': 27682395, 'created_at': datetime.datetime(2025, 10, 11, 5, 46, 2), 'result': '0.0502529840001603', 'result_long': None, 'result_double': None}] Qualite : 0.0502529840001603 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27682395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_11-10-2025_05_46_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27682395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_11-10-2025_05_46_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, 'pht': 3726}}" where mtr_portfolio_id = 27682395 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27682395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292172, 0.0502529840001603, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27682395_11-10-2025_05_46_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27682445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27682446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27682447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27682448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27682450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27682451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27682452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27682453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27682454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27682455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27682456, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27682457, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27686379 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927886, 'mtr_portfolio_id': 27686379, 'created_at': datetime.datetime(2025, 10, 11, 5, 46, 4), 'result': '0.06122225963937771', 'result_long': None, 'result_double': None}] Qualite : 0.06122225963937771 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27686379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_11-10-2025_05_46_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27686379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_11-10-2025_05_46_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, 'pht': 3726}}" where mtr_portfolio_id = 27686379 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27686379 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292173, 0.06122225963937771, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27686379_11-10-2025_05_46_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27686453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27686454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27686455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27686456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27686458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27686459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27686460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27686461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27686462, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27686463, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27686464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27686465, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27687081 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927887, 'mtr_portfolio_id': 27687081, 'created_at': datetime.datetime(2025, 10, 11, 5, 46, 34), 'result': '0.0399378583899623', 'result_long': None, 'result_double': None}] Qualite : 0.0399378583899623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27687081 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_11-10-2025_05_46_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27687081 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_11-10-2025_05_46_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, 'pht': 3726}}" where mtr_portfolio_id = 27687081 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27687081 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292174, 0.0399378583899623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687081_11-10-2025_05_46_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27687822 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927888, 'mtr_portfolio_id': 27687822, 'created_at': datetime.datetime(2025, 10, 11, 5, 47, 4), 'result': '0.03074308217203384', 'result_long': None, 'result_double': None}] Qualite : 0.03074308217203384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27687822 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_11-10-2025_05_47_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27687822 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_11-10-2025_05_47_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, 'pht': 3726}}" where mtr_portfolio_id = 27687822 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27687822 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292175, 0.03074308217203384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27687822_11-10-2025_05_47_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27687949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27687950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27687951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27687952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27687953, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27687954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27687955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27687956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27687957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27687958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27687959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27687960, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27688928 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927889, 'mtr_portfolio_id': 27688928, 'created_at': datetime.datetime(2025, 10, 11, 5, 47, 25), 'result': '0.040782652163663245', 'result_long': None, 'result_double': None}] Qualite : 0.040782652163663245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27688928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_11-10-2025_05_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27688928 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_11-10-2025_05_47_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, 'pht': 3726}}" where mtr_portfolio_id = 27688928 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27688928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292176, 0.040782652163663245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27688928_11-10-2025_05_47_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27688953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27688954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27688955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27688956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27688957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27688958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27688959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27688960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27688961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27688962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27688963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27688964, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27689833 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927890, 'mtr_portfolio_id': 27689833, 'created_at': datetime.datetime(2025, 10, 11, 5, 47, 33), 'result': '0.05684859945678769', 'result_long': None, 'result_double': None}] Qualite : 0.05684859945678769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27689833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_11-10-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27689833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_11-10-2025_05_47_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, 'pht': 3726}}" where mtr_portfolio_id = 27689833 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27689833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292177, 0.05684859945678769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27689833_11-10-2025_05_47_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27689907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27689908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27689909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27689922, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27689923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27689924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27689925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27689926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27689927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27689928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27689929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27689930, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27690741 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927891, 'mtr_portfolio_id': 27690741, 'created_at': datetime.datetime(2025, 10, 11, 5, 48, 3), 'result': '0.06564778460756326', 'result_long': None, 'result_double': None}] Qualite : 0.06564778460756326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27690741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_11-10-2025_05_48_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27690741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_11-10-2025_05_48_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, 'pht': 3726}}" where mtr_portfolio_id = 27690741 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27690741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292178, 0.06564778460756326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27690741_11-10-2025_05_48_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27690793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27690794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27690795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27690796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27690797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27690798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27690799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27690800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27690801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27690802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27690803, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27690804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27691357 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927892, 'mtr_portfolio_id': 27691357, 'created_at': datetime.datetime(2025, 10, 11, 5, 48, 34), 'result': '0.04076732738293326', 'result_long': None, 'result_double': None}] Qualite : 0.04076732738293326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27691357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_11-10-2025_05_48_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27691357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_11-10-2025_05_48_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, 'pht': 3726}}" where mtr_portfolio_id = 27691357 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27691357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292179, 0.04076732738293326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27691357_11-10-2025_05_48_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27691363, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27691364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27691365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27691366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27691367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27691368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27691369, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27691370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27691371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27691372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27691373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27691374, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27692247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927893, 'mtr_portfolio_id': 27692247, 'created_at': datetime.datetime(2025, 10, 11, 5, 49, 3), 'result': '0.04348439352104238', 'result_long': None, 'result_double': None}] Qualite : 0.04348439352104238 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27692247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_11-10-2025_05_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27692247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_11-10-2025_05_49_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, 'pht': 3726}}" where mtr_portfolio_id = 27692247 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27692247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292180, 0.04348439352104238, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27692247_11-10-2025_05_49_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27692296, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27692297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27692298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27692299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27692300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27692301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27692302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27692303, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27692304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27692305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27692306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27692307, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27693351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927894, 'mtr_portfolio_id': 27693351, 'created_at': datetime.datetime(2025, 10, 11, 5, 49, 27), 'result': '0.06844952024676201', 'result_long': None, 'result_double': None}] Qualite : 0.06844952024676201 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27693351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_11-10-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27693351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_11-10-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, 'pht': 3726}}" where mtr_portfolio_id = 27693351 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27693351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292181, 0.06844952024676201, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27693351_11-10-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27693378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27693379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27693380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27693381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27693382, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27693383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27693384, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27693385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27693386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27693387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27693388, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27693389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27694033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927895, 'mtr_portfolio_id': 27694033, 'created_at': datetime.datetime(2025, 10, 11, 5, 49, 35), 'result': '0.03960968404567689', 'result_long': None, 'result_double': None}] Qualite : 0.03960968404567689 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27694033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_11-10-2025_05_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27694033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_11-10-2025_05_49_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, 'pht': 3726}}" where mtr_portfolio_id = 27694033 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27694033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292182, 0.03960968404567689, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694033_11-10-2025_05_49_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694050, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27694826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927896, 'mtr_portfolio_id': 27694826, 'created_at': datetime.datetime(2025, 10, 11, 5, 50, 4), 'result': '0.05422219153235668', 'result_long': None, 'result_double': None}] Qualite : 0.05422219153235668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27694826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_11-10-2025_05_50_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27694826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_11-10-2025_05_50_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, 'pht': 3726}}" where mtr_portfolio_id = 27694826 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27694826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292183, 0.05422219153235668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27694826_11-10-2025_05_50_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27694861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27694862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27694863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27694864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27694865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27694866, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27694867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27694868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27694869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27694870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27694871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27694872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27697987 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927897, 'mtr_portfolio_id': 27697987, 'created_at': datetime.datetime(2025, 10, 11, 5, 50, 34), 'result': '0.06548982932591262', 'result_long': None, 'result_double': None}] Qualite : 0.06548982932591262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27697987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_11-10-2025_05_50_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27697987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_11-10-2025_05_50_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, 'pht': 3726}}" where mtr_portfolio_id = 27697987 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27697987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292184, 0.06548982932591262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27697987_11-10-2025_05_50_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698009, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698015, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27698447 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927898, 'mtr_portfolio_id': 27698447, 'created_at': datetime.datetime(2025, 10, 11, 5, 50, 59), 'result': '0.02930900785491291', 'result_long': None, 'result_double': None}] Qualite : 0.02930900785491291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27698447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_11-10-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27698447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_11-10-2025_05_51_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, 'pht': 3726}}" where mtr_portfolio_id = 27698447 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27698447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292185, 0.02930900785491291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27698447_11-10-2025_05_51_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27698474, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27698475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27698476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27698477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27698478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27698479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27698480, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27698481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27698482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27698483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27698484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27698485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27699039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927899, 'mtr_portfolio_id': 27699039, 'created_at': datetime.datetime(2025, 10, 11, 5, 51, 6), 'result': '0.04287990132372332', 'result_long': None, 'result_double': None}] Qualite : 0.04287990132372332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27699039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_11-10-2025_05_51_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27699039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_11-10-2025_05_51_10.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, 'pht': 3726}}" where mtr_portfolio_id = 27699039 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27699039 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292186, 0.04287990132372332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699039_11-10-2025_05_51_10.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699068, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699069, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27699828 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927900, 'mtr_portfolio_id': 27699828, 'created_at': datetime.datetime(2025, 10, 11, 5, 51, 25), 'result': '0.064501793250664', 'result_long': None, 'result_double': None}] Qualite : 0.064501793250664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27699828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_11-10-2025_05_51_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27699828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_11-10-2025_05_51_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, 'pht': 3726}}" where mtr_portfolio_id = 27699828 and dashboard_run_id = 2437623 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27699828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292187, 0.064501793250664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27699828_11-10-2025_05_51_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27699835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27699836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27699837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27699838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27699839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27699840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27699841, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27699843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27699844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27699845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27699846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27699847, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27700422 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': 3927901, 'mtr_portfolio_id': 27700422, 'created_at': datetime.datetime(2025, 10, 11, 5, 51, 31), 'result': '0.060554068780862606', 'result_long': None, 'result_double': None}] Qualite : 0.060554068780862606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27700422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_11-10-2025_05_51_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27700422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_11-10-2025_05_51_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27700470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27700471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27700472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27700473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27700474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27700475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27700476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27700477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27700478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27700479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27700480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27700481, 'pht': 3726}}" where mtr_portfolio_id = 27700422 and dashboard_run_id = 2437623 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`=27700422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292188, 0.060554068780862606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27700422_11-10-2025_05_51_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27700470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27700471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27700472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27700473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27700474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27700475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27700476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27700477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27700478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27700479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27700480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27700481, '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 = 27701019 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': 3927902, 'mtr_portfolio_id': 27701019, 'created_at': datetime.datetime(2025, 10, 11, 5, 52, 3), 'result': '0.06404141323273155', 'result_long': None, 'result_double': None}] Qualite : 0.06404141323273155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27701019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_11-10-2025_05_52_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27701019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_11-10-2025_05_52_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27701026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701036, 'pht': 3726}}" where mtr_portfolio_id = 27701019 and dashboard_run_id = 2437623 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`=27701019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292189, 0.06404141323273155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701019_11-10-2025_05_52_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27701026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701027, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701028, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701032, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701036, '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 = 27701753 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': 3927903, 'mtr_portfolio_id': 27701753, 'created_at': datetime.datetime(2025, 10, 11, 5, 52, 34), 'result': '0.04705087903831975', 'result_long': None, 'result_double': None}] Qualite : 0.04705087903831975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27701753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_11-10-2025_05_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27701753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_11-10-2025_05_52_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27701814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701825, 'pht': 3726}}" where mtr_portfolio_id = 27701753 and dashboard_run_id = 2437623 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`=27701753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292190, 0.04705087903831975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27701753_11-10-2025_05_52_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27701814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27701815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27701816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27701817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27701818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27701819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27701820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27701821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27701822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27701823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27701824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27701825, '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 = 27702479 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': 3927904, 'mtr_portfolio_id': 27702479, 'created_at': datetime.datetime(2025, 10, 11, 5, 52, 59), 'result': '0.05603155747747319', 'result_long': None, 'result_double': None}] Qualite : 0.05603155747747319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27702479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_11-10-2025_05_53_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27702479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_11-10-2025_05_53_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27702545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27702546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27702547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27702548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27702549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27702550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27702551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27702552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27702553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27702554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27702555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27702556, 'pht': 3726}}" where mtr_portfolio_id = 27702479 and dashboard_run_id = 2437623 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`=27702479 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292191, 0.05603155747747319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27702479_11-10-2025_05_53_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27702545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27702546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27702547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27702548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27702549, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27702550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27702551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27702552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27702553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27702554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27702555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27702556, '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 = 27703133 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': 3927905, 'mtr_portfolio_id': 27703133, 'created_at': datetime.datetime(2025, 10, 11, 5, 53, 26), 'result': '0.04771114182171307', 'result_long': None, 'result_double': None}] Qualite : 0.04771114182171307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27703133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_11-10-2025_05_53_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27703133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_11-10-2025_05_53_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27703147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703156, 'pht': 3726}}" where mtr_portfolio_id = 27703133 and dashboard_run_id = 2437623 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`=27703133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292192, 0.04771114182171307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703133_11-10-2025_05_53_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703146, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27703147, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703153, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703154, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703156, '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 = 27703945 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': 3927906, 'mtr_portfolio_id': 27703945, 'created_at': datetime.datetime(2025, 10, 11, 5, 53, 33), 'result': '0.04976622583731746', 'result_long': None, 'result_double': None}] Qualite : 0.04976622583731746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27703945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_11-10-2025_05_53_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27703945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_11-10-2025_05_53_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27703950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703961, 'pht': 3726}}" where mtr_portfolio_id = 27703945 and dashboard_run_id = 2437623 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`=27703945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292193, 0.04976622583731746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27703945_11-10-2025_05_53_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27703950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27703951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27703952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27703953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27703954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27703955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27703956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27703957, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27703958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27703959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27703960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27703961, '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 = 27704550 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': 3927907, 'mtr_portfolio_id': 27704550, 'created_at': datetime.datetime(2025, 10, 11, 5, 53, 59), 'result': '0.06084691822254462', 'result_long': None, 'result_double': None}] Qualite : 0.06084691822254462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27704550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_11-10-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27704550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_11-10-2025_05_54_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27704568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27704569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27704570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27704571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27704572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27704573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27704574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27704575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27704576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27704577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27704578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27704579, 'pht': 3726}}" where mtr_portfolio_id = 27704550 and dashboard_run_id = 2437623 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`=27704550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292194, 0.06084691822254462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27704550_11-10-2025_05_54_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27704568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27704569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27704570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27704571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27704572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27704573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27704574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27704575, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27704576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27704577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27704578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27704579, '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 = 27705266 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': 3927908, 'mtr_portfolio_id': 27705266, 'created_at': datetime.datetime(2025, 10, 11, 5, 54, 30), 'result': '0.035238310411238434', 'result_long': None, 'result_double': None}] Qualite : 0.035238310411238434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27705266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_11-10-2025_05_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27705266 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_11-10-2025_05_54_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27705312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27705313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27705314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27705315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27705316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27705317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27705318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27705319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27705320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27705321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27705322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27705323, 'pht': 3726}}" where mtr_portfolio_id = 27705266 and dashboard_run_id = 2437623 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`=27705266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292195, 0.035238310411238434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27705266_11-10-2025_05_54_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27705312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27705313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27705314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27705315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27705316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27705317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27705318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27705319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27705320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27705321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27705322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27705323, '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 = 27706045 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': 3927909, 'mtr_portfolio_id': 27706045, 'created_at': datetime.datetime(2025, 10, 11, 5, 55, 6), 'result': '0.04556257687449395', 'result_long': None, 'result_double': None}] Qualite : 0.04556257687449395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27706045 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_11-10-2025_05_55_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27706045 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_11-10-2025_05_55_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706076, 'pht': 3726}}" where mtr_portfolio_id = 27706045 and dashboard_run_id = 2437623 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`=27706045 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292196, 0.04556257687449395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706045_11-10-2025_05_55_09.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706076, '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 = 27706853 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': 3927910, 'mtr_portfolio_id': 27706853, 'created_at': datetime.datetime(2025, 10, 11, 5, 55, 31), 'result': '0.047096281426929204', 'result_long': None, 'result_double': None}] Qualite : 0.047096281426929204 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27706853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_11-10-2025_05_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27706853 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_11-10-2025_05_55_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706890, 'pht': 3726}}" where mtr_portfolio_id = 27706853 and dashboard_run_id = 2437623 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`=27706853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292197, 0.047096281426929204, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27706853_11-10-2025_05_55_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27706879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27706880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27706881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27706882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27706883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27706884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27706885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27706886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27706887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27706888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27706889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27706890, '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 = 27707417 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': 3927911, 'mtr_portfolio_id': 27707417, 'created_at': datetime.datetime(2025, 10, 11, 5, 56, 2), 'result': '0.049616792784483846', 'result_long': None, 'result_double': None}] Qualite : 0.049616792784483846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27707417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_11-10-2025_05_56_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27707417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_11-10-2025_05_56_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27707451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27707452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27707453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27707454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27707455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27707456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27707457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27707458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27707459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27707460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27707461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27707462, 'pht': 3726}}" where mtr_portfolio_id = 27707417 and dashboard_run_id = 2437623 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`=27707417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292198, 0.049616792784483846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27707417_11-10-2025_05_56_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27707451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27707452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27707453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27707454, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27707455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27707456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27707457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27707458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27707459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27707460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27707461, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27707462, '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 = 27708136 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': 3927912, 'mtr_portfolio_id': 27708136, 'created_at': datetime.datetime(2025, 10, 11, 5, 56, 6), 'result': '0.04752381569754137', 'result_long': None, 'result_double': None}] Qualite : 0.04752381569754137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27708136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27708136_11-10-2025_05_56_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27708136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27708136_11-10-2025_05_56_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27708178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27708179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27708180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27708181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27708182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27708183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27708184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27708185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27708186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27708187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27708188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27708189, 'pht': 3726}}" where mtr_portfolio_id = 27708136 and dashboard_run_id = 2437623 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`=27708136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292199, 0.04752381569754137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27708136_11-10-2025_05_56_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27708178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27708179, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27708180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27708181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27708182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27708183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27708184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27708185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27708186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27708187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27708188, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27708189, '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 = 27709915 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': 3927913, 'mtr_portfolio_id': 27709915, 'created_at': datetime.datetime(2025, 10, 11, 5, 56, 35), 'result': '0.033810404770764496', 'result_long': None, 'result_double': None}] Qualite : 0.033810404770764496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27709915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27709915_11-10-2025_05_56_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27709915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27709915_11-10-2025_05_56_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27709942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27709943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27709944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27709945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27709946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27709947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27709948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27709949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27709950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27709951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27709952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27709953, 'pht': 3726}}" where mtr_portfolio_id = 27709915 and dashboard_run_id = 2437623 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`=27709915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292200, 0.033810404770764496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27709915_11-10-2025_05_56_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27709942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27709943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27709944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27709945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27709946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27709947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27709948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27709949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27709950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27709951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27709952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27709953, '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 = 27710267 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': 3925887, 'mtr_portfolio_id': 27710267, 'created_at': datetime.datetime(2025, 10, 10, 18, 33, 4), 'result': '0.061045054514014305', 'result_long': None, 'result_double': None}] Qualite : 0.061045054514014305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27710267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710267_10-10-2025_18_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27710267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710267_10-10-2025_18_33_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27710273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27710274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27710275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27710276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27710277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27710278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27710279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27710280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27710281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27710282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27710283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27710284, 'pht': 3726}}" where mtr_portfolio_id = 27710267 and dashboard_run_id = 2437623 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`=27710267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292201, 0.061045054514014305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710267_10-10-2025_18_33_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27710273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27710274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27710275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27710276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27710277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27710278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27710279, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27710280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27710281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27710282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27710283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27710284, '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 = 27710653 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': 3925945, 'mtr_portfolio_id': 27710653, 'created_at': datetime.datetime(2025, 10, 10, 18, 49, 4), 'result': '0.05309985508567773', 'result_long': None, 'result_double': None}] Qualite : 0.05309985508567773 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27710653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710653_10-10-2025_18_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27710653 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710653_10-10-2025_18_49_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27710733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27710734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27710735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27710736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27710737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27710738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27710739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27710740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27710741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27710742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27710743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27710744, 'pht': 3726}}" where mtr_portfolio_id = 27710653 and dashboard_run_id = 2437623 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`=27710653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292202, 0.05309985508567773, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27710653_10-10-2025_18_49_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27710733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27710734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27710735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27710736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27710737, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27710738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27710739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27710740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27710741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27710742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27710743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27710744, '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 = 27711167 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': 3926021, 'mtr_portfolio_id': 27711167, 'created_at': datetime.datetime(2025, 10, 10, 19, 4, 58), 'result': '0.057362479800744354', 'result_long': None, 'result_double': None}] Qualite : 0.057362479800744354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27711167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711167_10-10-2025_19_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27711167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711167_10-10-2025_19_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27711200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27711201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27711202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27711203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27711204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27711205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27711206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27711207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27711208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27711209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27711210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27711211, 'pht': 3726}}" where mtr_portfolio_id = 27711167 and dashboard_run_id = 2437623 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`=27711167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292203, 0.057362479800744354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711167_10-10-2025_19_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27711200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27711201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27711202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27711203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27711204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27711205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27711206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27711207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27711208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27711209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27711210, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27711211, '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 = 27711555 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': 3926118, 'mtr_portfolio_id': 27711555, 'created_at': datetime.datetime(2025, 10, 10, 19, 19, 1), 'result': '0.052921683396426944', 'result_long': None, 'result_double': None}] Qualite : 0.052921683396426944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27711555 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711555_10-10-2025_19_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27711555 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711555_10-10-2025_19_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27711580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27711581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27711582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27711583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27711584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27711585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27711586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27711587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27711588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27711589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27711590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27711591, 'pht': 3726}}" where mtr_portfolio_id = 27711555 and dashboard_run_id = 2437623 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`=27711555 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292204, 0.052921683396426944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27711555_10-10-2025_19_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27711580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27711581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27711582, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27711583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27711584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27711585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27711586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27711587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27711588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27711589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27711590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27711591, '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 = 27712226 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': 3926248, 'mtr_portfolio_id': 27712226, 'created_at': datetime.datetime(2025, 10, 10, 19, 33), 'result': '0.05483063815008306', 'result_long': None, 'result_double': None}] Qualite : 0.05483063815008306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27712226 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712226_10-10-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27712226 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712226_10-10-2025_19_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27712270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27712271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27712272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27712273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27712274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27712275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27712276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27712277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27712278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27712279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27712280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27712281, 'pht': 3726}}" where mtr_portfolio_id = 27712226 and dashboard_run_id = 2437623 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`=27712226 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292205, 0.05483063815008306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712226_10-10-2025_19_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27712270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27712271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27712272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27712273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27712274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27712275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27712276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27712277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27712278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27712279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27712280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27712281, '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 = 27712730 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': 3926331, 'mtr_portfolio_id': 27712730, 'created_at': datetime.datetime(2025, 10, 10, 19, 49, 2), 'result': '0.07743797337852609', 'result_long': None, 'result_double': None}] Qualite : 0.07743797337852609 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27712730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712730_10-10-2025_19_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27712730 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712730_10-10-2025_19_49_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27712751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27712752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27712753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27712754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27712755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27712756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27712757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27712758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27712759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27712760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27712761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27712762, 'pht': 3726}}" where mtr_portfolio_id = 27712730 and dashboard_run_id = 2437623 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`=27712730 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292206, 0.07743797337852609, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27712730_10-10-2025_19_49_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27712751, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27712752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27712753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27712754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27712755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27712756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27712757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27712758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27712759, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27712760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27712761, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27712762, '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 = 27713285 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': 3926416, 'mtr_portfolio_id': 27713285, 'created_at': datetime.datetime(2025, 10, 10, 20, 3, 7), 'result': '0.046707649139026426', 'result_long': None, 'result_double': None}] Qualite : 0.046707649139026426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27713285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713285_10-10-2025_20_03_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27713285 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713285_10-10-2025_20_03_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27713315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27713316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27713317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27713318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27713319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27713320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27713321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27713322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27713323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27713324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27713325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27713326, 'pht': 3726}}" where mtr_portfolio_id = 27713285 and dashboard_run_id = 2437623 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`=27713285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292207, 0.046707649139026426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713285_10-10-2025_20_03_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27713315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27713316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27713317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27713318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27713319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27713320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27713321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27713322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27713323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27713324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27713325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27713326, '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 = 27713685 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': 3926470, 'mtr_portfolio_id': 27713685, 'created_at': datetime.datetime(2025, 10, 10, 20, 19, 33), 'result': '0.03649472569057518', 'result_long': None, 'result_double': None}] Qualite : 0.03649472569057518 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27713685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713685_10-10-2025_20_19_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27713685 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713685_10-10-2025_20_19_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27713697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27713698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27713699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27713700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27713701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27713702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27713703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27713704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27713705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27713706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27713707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27713708, 'pht': 3726}}" where mtr_portfolio_id = 27713685 and dashboard_run_id = 2437623 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`=27713685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292208, 0.03649472569057518, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27713685_10-10-2025_20_19_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27713697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27713698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27713699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27713700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27713701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27713702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27713703, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27713704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27713705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27713706, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27713707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27713708, '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 = 27714321 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': 3926562, 'mtr_portfolio_id': 27714321, 'created_at': datetime.datetime(2025, 10, 10, 20, 32, 58), 'result': '0.06783050596567458', 'result_long': None, 'result_double': None}] Qualite : 0.06783050596567458 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27714321 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714321_10-10-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27714321 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714321_10-10-2025_20_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27714328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27714329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27714330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27714331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27714332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27714333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27714334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27714335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27714336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27714337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27714338, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27714339, 'pht': 3726}}" where mtr_portfolio_id = 27714321 and dashboard_run_id = 2437623 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`=27714321 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292209, 0.06783050596567458, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714321_10-10-2025_20_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27714328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27714329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27714330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27714331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27714332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27714333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27714334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27714335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27714336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27714337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27714338, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27714339, '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 = 27714835 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': 3926657, 'mtr_portfolio_id': 27714835, 'created_at': datetime.datetime(2025, 10, 10, 21, 27, 25), 'result': '0.053323269777369356', 'result_long': None, 'result_double': None}] Qualite : 0.053323269777369356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27714835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714835_10-10-2025_21_27_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27714835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714835_10-10-2025_21_27_26.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27714867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27714868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27714869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27714870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27714871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27714872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27714873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27714874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27714875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27714876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27714877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27714878, 'pht': 3726}}" where mtr_portfolio_id = 27714835 and dashboard_run_id = 2437623 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`=27714835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292210, 0.053323269777369356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27714835_10-10-2025_21_27_26.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27714867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27714868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27714869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27714870, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27714871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27714872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27714873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27714874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27714875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27714876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27714877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27714878, '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 = 27716272 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': 3926879, 'mtr_portfolio_id': 27716272, 'created_at': datetime.datetime(2025, 10, 10, 21, 48, 33), 'result': '0.06059709435602888', 'result_long': None, 'result_double': None}] Qualite : 0.06059709435602888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27716272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27716272_10-10-2025_21_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27716272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27716272_10-10-2025_21_48_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27716304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27716305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27716306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27716307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27716308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27716309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27716310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27716311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27716312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27716313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27716314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27716315, 'pht': 3726}}" where mtr_portfolio_id = 27716272 and dashboard_run_id = 2437623 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`=27716272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292211, 0.06059709435602888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27716272_10-10-2025_21_48_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27716304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27716305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27716306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27716307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27716308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27716309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27716310, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27716311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27716312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27716313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27716314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27716315, '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 = 27717049 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': 3927015, 'mtr_portfolio_id': 27717049, 'created_at': datetime.datetime(2025, 10, 10, 22, 19, 3), 'result': '0.02242780054050168', 'result_long': None, 'result_double': None}] Qualite : 0.02242780054050168 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27717049 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717049_10-10-2025_22_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27717049 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717049_10-10-2025_22_19_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27717087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27717088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27717089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27717090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27717091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27717092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27717093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27717094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27717095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27717096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27717097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27717098, 'pht': 3726}}" where mtr_portfolio_id = 27717049 and dashboard_run_id = 2437623 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`=27717049 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292212, 0.02242780054050168, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717049_10-10-2025_22_19_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27717087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27717088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27717089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27717090, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27717091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27717092, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27717093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27717094, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27717095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27717096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27717097, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27717098, '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 = 27717492 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': 3927040, 'mtr_portfolio_id': 27717492, 'created_at': datetime.datetime(2025, 10, 10, 22, 39, 3), 'result': '0.08713623826200143', 'result_long': None, 'result_double': None}] Qualite : 0.08713623826200143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27717492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717492_10-10-2025_22_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27717492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717492_10-10-2025_22_39_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27717493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27717494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27717495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27717496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27717497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27717498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27717499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27717500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27717501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27717502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27717503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27717504, 'pht': 3726}}" where mtr_portfolio_id = 27717492 and dashboard_run_id = 2437623 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`=27717492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292213, 0.08713623826200143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27717492_10-10-2025_22_39_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27717493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27717494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27717495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27717496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27717497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27717498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27717499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27717500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27717501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27717502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27717503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27717504, '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 = 27718577 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': 3927091, 'mtr_portfolio_id': 27718577, 'created_at': datetime.datetime(2025, 10, 10, 23, 5, 2), 'result': '0.032544425216608205', 'result_long': None, 'result_double': None}] Qualite : 0.032544425216608205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27718577 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27718577_10-10-2025_23_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27718577 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27718577_10-10-2025_23_05_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27718579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27718580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27718581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27718582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27718583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27718584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27718585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27718586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27718587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27718588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27718589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27718590, 'pht': 3726}}" where mtr_portfolio_id = 27718577 and dashboard_run_id = 2437623 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`=27718577 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292214, 0.032544425216608205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27718577_10-10-2025_23_05_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27718579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27718580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27718581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27718582, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27718583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27718584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27718585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27718586, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27718587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27718588, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27718589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27718590, '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 = 27719516 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': 3927151, 'mtr_portfolio_id': 27719516, 'created_at': datetime.datetime(2025, 10, 10, 23, 33, 2), 'result': '0.0011710395007578642', 'result_long': None, 'result_double': None}] Qualite : 0.0011710395007578642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27719516 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719516_10-10-2025_23_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27719516 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719516_10-10-2025_23_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27719527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719528, 'pht': 3726}}" where mtr_portfolio_id = 27719516 and dashboard_run_id = 2437623 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`=27719516 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292215, 0.0011710395007578642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719516_10-10-2025_23_33_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719519, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719524, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27719527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719528, '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 = 27719789 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 = 27719789 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 = 27719789 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27719789 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 = 27719789 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3927177, 'mtr_portfolio_id': 27719789, 'created_at': datetime.datetime(2025, 10, 10, 23, 49, 5), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27719789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719789_10-10-2025_23_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27719789 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719789_10-10-2025_23_49_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27719800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719801, 'pht': 3726}}" where mtr_portfolio_id = 27719789 and dashboard_run_id = 2437623 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`=27719789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292216, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719789_10-10-2025_23_49_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719790, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719791, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719795, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719796, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27719800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719801, '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 = 27719860 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': 3927203, 'mtr_portfolio_id': 27719860, 'created_at': datetime.datetime(2025, 10, 11, 0, 30, 3), 'result': '0.040854484237545736', 'result_long': None, 'result_double': None}] Qualite : 0.040854484237545736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27719860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719860_11-10-2025_00_30_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27719860 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719860_11-10-2025_00_30_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27719861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719872, 'pht': 3726}}" where mtr_portfolio_id = 27719860 and dashboard_run_id = 2437623 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`=27719860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16292217, 0.040854484237545736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27719860_11-10-2025_00_30_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27719861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27719862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27719863, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27719864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27719865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27719866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27719867, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27719868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27719869, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27719870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27719871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27719872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27666971,27667157,27667353,27667763,27669114,27669527,27669761,27670150,27670480,27671021,27671793,27672121,27672595,27673065,27673457,27674810,27674953,27675098,27675322,27675658,27676092,27676554,27677013,27677631,27678439,27679073,27679739,27680367,27681074,27681711,27682395,27686379,27687081,27687822,27688928,27689833,27690741,27691357,27692247,27693351,27694033,27694826,27697987,27698447,27699039,27699828,27700422,27701019,27701753,27702479,27703133,27703945,27704550,27705266,27706045,27706853,27707417,27708136,27709915,27710267,27710653,27711167,27711555,27712226,27712730,27713285,27713685,27714321,27714835,27716272,27717049,27717492,27718577,27719516,27719789,27719860) result : ((1388576303,), (1388576306,), (1388576309,), (1388576313,), (1388576457,), (1388576597,), (1388576598,), (1388576601,), (1388576613,), (1388576617,), (1388576621,), (1388576624,), (1388576627,), (1388576630,), (1388576637,), (1388576639,), (1388576640,), (1388576643,), (1388576645,), (1388576646,), (1388576659,), (1388576660,), (1388576661,), (1388576663,), (1388576860,), (1388576902,), (1388576957,), (1388576960,), (1388576964,), (1388577094,), (1388577096,), (1388577098,), (1388577110,), (1388577156,), (1388577168,), (1388577170,), (1388577171,), (1388577174,), (1388577188,), (1388577189,), (1388577191,), (1388577195,), (1388577200,), (1388577204,), (1388577214,), (1388577216,), (1388577219,), (1388577222,), (1388577224,), (1388577227,), (1388577230,), (1388577231,), (1388577237,), (1388577238,), (1388577240,), (1388577247,), (1388577250,), (1388577252,), (1388577254,), (1388577399,), (1388577443,), (1388577490,), (1388577535,), (1388577724,), (1388577727,), (1388577732,), (1388577778,), (1388577824,), (1388577908,), (1388577898,), (1388577899,), (1388577903,), (1388577915,), (1388577918,), (1388577921,), (1388577933,), (1388577934,), (1388577936,), (1388577939,), (1388577941,), (1388577960,), (1388577962,), (1388577964,), (1388577967,), (1388577969,), (1388578143,), (1388578189,), (1388578234,), (1388578285,), (1388578331,), (1388578550,), (1388578551,), (1388578553,), (1388578555,), (1388578728,), (1388578773,), (1388578819,), (1388578846,), (1388578849,), (1388578852,), (1388578927,), (1388578928,), (1388578930,), (1388578932,), (1388578935,), (1388578939,), (1388578991,), (1388579078,), (1388579080,), (1388579082,), (1388579086,), (1388579097,), (1388579099,), (1388579101,), (1388579105,), (1388579115,), (1388579117,), (1388579119,), (1388579125,), (1388579138,), (1388579140,), (1388579143,), (1388579147,), (1388579150,), (1388579161,), (1388579163,), (1388579166,), (1388579178,), (1388579180,), (1388579182,), (1388579185,), (1388579188,), (1388579202,), (1388579223,), (1388579269,), (1388579322,), (1388579370,), (1388579422,), (1388579843,), (1388579846,), (1388579848,), (1388580398,), (1388580399,), (1388580401,), (1388580403,), (1388580405,), (1388580544,), (1388580548,), (1388580557,), (1388580560,), (1388579824,), (1388579837,), (1388579840,), (1388580139,), (1388580142,), (1388580184,), (1388580204,), (1388580206,), (1388580234,), (1388580356,), (1388580450,), (1388580451,), (1388580495,), (1388580497,), (1388580539,), (1388580542,), (1388580565,), (1388580568,), (1388580570,), (1388580588,), (1388580590,), (1388580591,), (1388580593,), (1388580596,), (1388580606,), (1388580608,), (1388580613,), (1388580618,), (1388580621,), (1388580748,), (1388580786,), (1388580789,), (1388580793,), (1388580936,), (1388580938,), (1388580941,), (1388580944,), (1388580948,), (1388580951,), (1388580958,), (1388580960,), (1388580976,), (1388580978,), (1388580980,), (1388580984,), (1388580988,), (1388580993,), (1388580995,), (1388580997,), (1388581001,), (1388581004,), (1388581008,), (1388581014,), (1388581018,), (1388581059,), (1388581105,), (1388581296,), (1388581297,), (1388581298,), (1388581396,), (1388581398,), (1388581401,), (1388581404,), (1388581407,), (1388581414,), (1388581416,), (1388581418,), (1388581424,), (1388581429,), (1388581431,), (1388581443,), (1388581440,), (1388581442,), (1388581456,), (1388581458,), (1388581459,), (1388581462,), (1388581466,), (1388581469,), (1388581475,), (1388581477,), (1388581479,), (1388581483,), (1388581486,), (1388581489,), (1388581497,), (1388581499,), (1388581501,), (1388581515,), (1388581517,), (1388581518,), (1388581521,), (1388581524,), (1388581534,), (1388581536,), (1388581538,), (1388581540,), (1388581544,), (1388581708,), (1388581714,), (1388581740,), (1388581745,), (1388581775,), (1388581777,), (1388581781,), (1388581783,), (1388581784,), (1388581786,), (1388581788,), (1388581790,), (1388581793,), (1388581796,), (1388581799,), (1388581807,), (1388581811,), (1388581815,), (1388581820,), (1388581823,), (1388581825,), (1388581844,), (1388581847,), (1388581850,), (1388581853,), (1388581856,), (1388581971,), (1388582011,), (1388582073,), (1388582117,), (1388582646,), (1388582689,), (1388582733,), (1388582785,), (1388582844,), (1388582912,), (1388583320,), (1388583368,), (1388583414,), (1388583458,), (1388583504,), (1388583530,), (1388583539,), (1388583541,), (1388583545,), (1388584852,), (1388587460,), (1388587608,), (1388587639,), (1388587652,), (1388587654,), (1388587656,), (1388587673,), (1388587675,), (1388587676,), (1388587679,), (1388587692,), (1388587694,), (1388587696,), (1388587700,), (1388587703,), (1388587708,), (1388587710,), (1388587712,), (1388587716,), (1388587880,), (1388587882,), (1388587904,), (1388587961,), (1388587963,), (1388587965,), (1388587969,), (1388587972,), (1388587983,), (1388587984,), (1388587985,), (1388587988,), (1388588002,), (1388588004,), (1388588006,), (1388588009,), (1388588023,), (1388588024,), (1388588025,), (1388588196,), (1388588198,), (1388588218,), (1388588227,), (1388588248,), (1388588266,), (1388588270,), (1388588271,), (1388588288,), (1388588293,), (1388588299,), (1388588300,), (1388588304,), (1388588308,), (1388588310,), (1388588312,), (1388588316,), (1388588321,), (1388588327,), (1388588330,), (1388588473,), (1388588348,), (1388588350,), (1388588351,), (1388588389,), (1388588444,), (1388588508,), (1388588522,), (1388588524,), (1388588554,), (1388588560,), (1388588567,), (1388588570,), (1388588573,), (1388588577,), (1388588580,), (1388588596,), (1388588598,), (1388588601,), (1388588605,), (1388588609,), (1388588634,), (1388589188,), (1388589189,), (1388589191,), (1388589289,), (1388589330,), (1388589371,), (1388589681,), (1388589683,), (1388589687,), (1388589715,), (1388590003,), (1388589703,), (1388589705,), (1388589708,), (1388589711,), (1388589727,), (1388589768,), (1388589812,), (1388589861,), (1388589909,), (1388589944,), (1388589946,), (1388589972,), (1388590001,), (1388590036,), (1388590038,), (1388590041,), (1388590064,), (1388590085,), (1388590087,), (1388590094,), (1388590096,), (1388590098,), (1388590101,), (1388590108,), (1388590110,), (1388590112,), (1388590116,), (1388590118,), (1388590126,), (1388590129,), (1388590132,), (1388590135,), (1388590137,), (1388590139,), (1388590170,), (1388590220,), (1388590262,), (1388590289,), (1388590292,), (1388590295,), (1388590389,), (1388590391,), (1388590394,), (1388590397,), (1388590401,), (1388590402,), (1388590403,), (1388590404,), (1388590408,), (1388590414,), (1388590417,), (1388590420,), (1388590427,), (1388590429,), (1388590431,), (1388590435,), (1388590438,), (1388590448,), (1388590449,), (1388590451,), (1388590453,), (1388590485,), (1388590531,), (1388590575,), (1388590713,), (1388590718,), (1388590722,), (1388590727,), (1388590728,), (1388590729,), (1388590734,), (1388590736,), (1388590740,), (1388590742,), (1388590745,), (1388590748,), (1388590751,), (1388590761,), (1388590764,), (1388590766,), (1388590770,), (1388590792,), (1388590784,), (1388590786,), (1388590787,), (1388590789,), (1388590803,), (1388590804,), (1388590819,), (1388590861,), (1388590909,), (1388590959,), (1388591084,), (1388591112,), (1388591144,), (1388591147,), (1388591150,), (1388591222,), (1388591224,), (1388591226,), (1388591242,), (1388591244,), (1388591245,), (1388591248,), (1388591252,), (1388591255,), (1388591264,), (1388591267,), (1388591271,), (1388591275,), (1388591287,), (1388591288,), (1388591291,), (1388591299,), (1388591301,), (1388591303,), (1388591304,), (1388591306,), (1388591307,), (1388591312,), (1388591314,), (1388591316,), (1388591320,), (1388591323,), (1388591325,), (1388591330,), (1388591333,), (1388591336,), (1388591339,), (1388591355,), (1388591357,), (1388591358,), (1388591360,), (1388591363,), (1388591375,), (1388591377,), (1388591379,), (1388591383,), (1388591387,), (1388591389,), (1388591395,), (1388591397,), (1388591399,), (1388591402,), (1388591418,), (1388591439,), (1388591487,), (1388591531,), (1388591575,), (1388591804,), (1388591856,), (1388591947,), (1388592040,), (1388592115,), (1388592549,), (1388592592,), (1388592637,), (1388593053,), (1388593078,), (1388593039,), (1388593041,), (1388593043,), (1388593046,), (1388593050,), (1388593062,), (1388593063,), (1388593065,), (1388593067,), (1388593069,), (1388593070,), (1388593073,), (1388593074,), (1388593077,), (1388593149,), (1388593195,), (1388593237,), (1388593282,), (1388593326,), (1388593400,), (1388593820,), (1388593908,), (1388593986,), (1388594043,), (1388594091,), (1388594123,), (1388594229,), (1388594236,), (1388594283,), (1388594328,), (1388594508,), (1388594509,), (1388594525,), (1388594582,), (1388594616,), (1388594758,), (1388594806,), (1388594849,), (1388594898,), (1388595230,), (1388595231,), (1388595232,), (1388595234,), (1388595246,), (1388595247,), (1388595248,), (1388595250,), (1388595253,), (1388595263,), (1388595265,), (1388595268,), (1388595271,), (1388595283,), (1388595285,), (1388595287,), (1388595434,), (1388595436,), (1388595452,), (1388595480,), (1388595484,), (1388595556,), (1388595557,), (1388595559,), (1388595562,), (1388595565,), (1388595570,), (1388595575,), (1388595576,), (1388595578,), (1388595580,), (1388595581,), (1388595586,), (1388595592,), (1388595594,), (1388595596,), (1388595599,), (1388595601,), (1388595604,), (1388595606,), (1388595628,), (1388595614,), (1388595616,), (1388595619,), (1388595621,), (1388595625,), (1388595636,), (1388595638,), (1388595639,), (1388595651,), (1388595654,), (1388595656,), (1388595659,), (1388595662,), (1388595667,), (1388595683,), (1388595724,), (1388595813,), (1388595857,), (1388595898,), (1388596174,), (1388596175,), (1388596178,), (1388596181,), (1388596185,), (1388596231,), (1388596298,), (1388596299,), (1388596300,), (1388596363,), (1388596411,), (1388596414,), (1388596416,), (1388596417,), (1388596520,), (1388596522,), (1388596523,), (1388596525,), (1388596750,), (1388596774,), (1388596813,), (1388596817,), (1388596823,), (1388596855,), (1388596860,), (1388596901,), (1388596924,), (1388596926,), (1388596929,), (1388596932,), (1388596935,), (1388596938,), (1388596944,), (1388596946,), (1388596948,), (1388596976,), (1388596978,), (1388596980,), (1388596983,), (1388596988,), (1388596990,), (1388597212,), (1388597220,), (1388597222,), (1388597225,), (1388597391,), (1388597399,), (1388597637,), (1388597419,), (1388597815,), (1388597835,), (1388597921,), (1388597922,), (1388597924,), (1388597928,), (1388597936,), (1388597938,), (1388597940,), (1388597945,), (1388597956,), (1388597958,), (1388597960,), (1388597963,), (1388597966,), (1388597968,), (1388597975,), (1388597977,), (1388597980,), (1388597984,), (1388597993,), (1388597995,), (1388597997,), (1388598001,), (1388598015,), (1388598016,), (1388598018,), (1388598022,), (1388598025,), (1388598028,), (1388598035,), (1388598037,), (1388598039,), (1388598042,), (1388598344,), (1388598392,), (1388598434,), (1388598483,), (1388598510,), (1388598514,), (1388598520,), (1388598522,), (1388598524,), (1388598528,), (1388598571,), (1388598617,), (1388598702,), (1388598755,), (1388598677,), (1388598680,), (1388598683,), (1388598892,), (1388598931,), (1388598975,), (1388599025,), (1388599069,), (1388599134,), (1388599135,), (1388599136,), (1388599139,), (1388599152,), (1388599154,), (1388599156,), (1388599160,), (1388599164,), (1388599167,), (1388599173,), (1388599175,), (1388599178,), (1388599181,), (1388599189,), (1388599194,), (1388599196,), (1388599198,), (1388599202,), (1388599215,), (1388599233,), (1388599235,), (1388599240,), (1388599244,), (1388599247,), (1388599254,), (1388599268,), (1388599269,), (1388599270,), (1388599272,), (1388599277,), (1388599283,), (1388599288,), (1388599289,), (1388599291,), (1388599294,), (1388599297,), (1388599397,), (1388599440,), (1388599447,), (1388599450,), (1388599452,), (1388599562,), (1388599580,), (1388599584,), (1388599588,), (1388599591,), (1388599592,), (1388599598,), (1388599599,), (1388599600,), (1388599602,), (1388599604,), (1388599607,), (1388599616,), (1388599620,), (1388599623,), (1388599626,), (1388599647,), (1388599638,), (1388599640,), (1388599642,), (1388599655,), (1388599657,), (1388599659,), (1388599662,), (1388599664,), (1388599668,), (1388599867,), (1388599869,), (1388599872,), (1388599875,), (1388599903,), (1388599939,), (1388599953,), (1388599994,), (1388600003,), (1388600005,), (1388600038,), (1388600086,), (1388600105,), (1388600106,), (1388600107,), (1388600108,), (1388600110,), (1388600114,), (1388600116,), (1388600119,), (1388600122,), (1388600125,), (1388600135,), (1388600137,), (1388600139,), (1388600153,), (1388600155,), (1388600158,), (1388600161,), (1388600165,), (1388600315,), (1388600363,), (1388600412,), (1388600432,), (1388600434,), (1388600437,), (1388600499,), (1388600505,), (1388600507,), (1388600532,), (1388600574,), (1388600577,), (1388600580,), (1388600639,), (1388600691,), (1388600701,), (1388600715,), (1388600717,), (1388600719,), (1388600843,), (1388600846,), (1388600869,), (1388600873,), (1388600916,), (1388600918,), (1388600921,), (1388600926,), (1388600928,), (1388600930,), (1388600933,), (1388600934,), (1388600936,), (1388600937,), (1388600942,), (1388600945,), (1388600948,), (1388600959,), (1388600961,), (1388600963,), (1388600968,), (1388600972,), (1388600991,), (1388600979,), (1388600981,), (1388600983,), (1388600987,), (1388601000,), (1388601002,), (1388601004,), (1388601006,), (1388601011,), (1388601014,), (1388601021,), (1388601023,), (1388601036,), (1388601038,), (1388601040,), (1388601044,), (1388601057,), (1388601059,), (1388601061,), (1388601064,), (1388601067,), (1388601070,), (1388601078,), (1388601080,), (1388601081,), (1388601085,), (1388601090,), (1388601261,), (1388601262,), (1388601264,), (1388601267,), (1388601285,), (1388601325,), (1388601443,), (1388601484,), (1388601524,), (1388601631,), (1388601675,), (1388601718,), (1388601764,), (1388601808,), (1388602143,), (1388602145,), (1388602149,), (1388602151,), (1388602158,), (1388602159,), (1388602189,), (1388602234,), (1388602285,), (1388602326,), (1388602409,), (1388602411,), (1388602415,), (1388602419,), (1388602421,), (1388602786,), (1388602788,), (1388602790,), (1388602794,), (1388602797,), (1388602801,), (1388602811,), (1388602814,), (1388602816,), (1388603156,), (1388603158,), (1388603161,), (1388603164,), (1388603169,), (1388603190,), (1388603182,), (1388603186,), (1388603302,), (1388603327,), (1388603330,), (1388603363,), (1388603370,), (1388603384,), (1388603386,), (1388603390,), (1388603395,), (1388603399,), (1388603402,), (1388603406,), (1388603407,), (1388603408,), (1388603411,), (1388603414,), (1388603421,), (1388603425,), (1388603430,), (1388603433,), (1388603435,), (1388603436,), (1388603444,), (1388603448,), (1388603452,), (1388603463,), (1388603466,), (1388603469,), (1388603473,), (1388603476,), (1388603479,), (1388603502,), (1388603505,), (1388603509,), (1388603526,), (1388603529,), (1388603532,), (1388603537,), (1388603554,), (1388603558,), (1388603560,), (1388603576,), (1388603578,), (1388603580,), (1388606291,), (1388606312,), (1388606340,), (1388606356,), (1388606378,), (1388606404,), (1388606438,), (1388606441,), (1388606444,), (1388606461,), (1388606464,), (1388606466,), (1388606469,), (1388606473,), (1388606477,), (1388606486,), (1388606514,), (1388606517,), (1388606521,), (1388606525,), (1388606529,), (1388606540,), (1388606543,), (1388606611,), (1388606673,), (1388606741,), (1388606862,), (1388606864,), (1388606867,), (1388606871,), (1388606881,), (1388606882,), (1388606885,), (1388606890,), (1388606894,), (1388606896,), (1388606904,), (1388606907,), (1388606910,), (1388606913,), (1388606917,), (1388606950,), (1388606954,), (1388606956,), (1388606965,), (1388606969,), (1388606975,), (1388606983,), (1388606985,), (1388606986,), (1388607012,), (1388607018,), (1388607023,), (1388607030,), (1388607032,), (1388607034,), (1388607041,), (1388607043,), (1388607046,), (1388607050,), (1388607053,), (1388607056,), (1388607064,), (1388607066,), (1388607080,), (1388607083,), (1388607085,), (1388607089,), (1388607132,), (1388607134,), (1388607136,), (1388607139,), (1388607142,), (1388607144,), (1388607151,), (1388607153,), (1388607155,), (1388607158,), (1388607200,), (1388607204,), (1388607208,), (1388607211,), (1388607215,), (1388607238,), (1388607230,), (1388607232,), (1388607234,), (1388607236,), (1388607247,), (1388607250,), (1388607254,), (1388607256,), (1388607257,), (1388607258,), (1388607266,), (1388607268,), (1388607276,), (1388607279,), (1388607342,), (1388607350,), (1388607353,), (1388607355,), (1388607358,), (1388607367,), (1388607369,), (1388607372,), (1388607374,), (1388607381,), (1388607389,), (1388607410,), (1388607413,), (1388607416,), (1388607431,), (1388607439,), (1388607442,), (1388607445,), (1388607449,), (1388607491,), (1388607493,), (1388607496,), (1388607506,), (1388607509,), (1388607513,), (1388607529,), (1388607531,), (1388607533,), (1388607537,), (1388607540,), (1388607549,), (1388607551,), (1388607553,), (1388607557,), (1388607561,), (1388607569,), (1388607571,), (1388607573,), (1388607576,), (1388607579,), (1388607588,), (1388607590,), (1388607593,), (1388607596,), (1388607598,), (1388607600,), (1388607607,), (1388607610,), (1388607613,), (1388607615,), (1388607618,), (1388607621,), (1388607624,), (1388607626,), (1388607628,), (1388607630,), (1388607633,), (1388607637,), (1388607639,), (1388607641,), (1388607644,), (1388607648,), (1388607650,), (1388607652,), (1388607656,), (1388607660,), (1388607690,), (1388607675,), (1388607678,), (1388607681,), (1388607683,), (1388607686,), (1388607698,), (1388607701,), (1388607704,), (1388607708,), (1388607715,), (1388607759,), (1388607763,), (1388607781,), (1388607783,), (1388607791,), (1388607798,), (1388607818,), (1388607861,), (1388607889,), (1388607891,), (1388607906,), (1388607908,), (1388607910,), (1388607913,), (1388607916,), (1388607920,), (1388607924,), (1388607927,), (1388607930,), (1388607933,), (1388607940,), (1388607942,), (1388607944,), (1388607948,), (1388607950,), (1388607953,), (1388607993,), (1388607996,), (1388607999,), (1388608003,), (1388608013,), (1388608015,), (1388608016,), (1388608019,), (1388608021,), (1388608022,), (1388608030,), (1388608032,), (1388608034,), (1388608038,), (1388608041,), (1388608044,), (1388608053,), (1388608055,), (1388608057,), (1388608059,), (1388608062,), (1388608065,), (1388608072,), (1388608078,), (1388608081,), (1388608094,), (1388608098,), (1388608104,), (1388608107,), (1388608110,), (1388608116,), (1388608118,), (1388608120,), (1388608127,), (1388608129,), (1388608133,), (1388608137,), (1388608164,), (1388608152,), (1388608157,), (1388608161,), (1388608174,), (1388608176,), (1388608178,), (1388608181,), (1388608185,), (1388608201,), (1388608203,), (1388608204,), (1388608215,), (1388608228,), (1388608231,), (1388608274,), (1388608277,), (1388608278,), (1388608281,), (1388608296,), (1388608298,), (1388608300,), (1388608304,), (1388608307,), (1388608310,), (1388608329,), (1388608332,), (1388608337,), (1388608344,), (1388608354,), (1388608361,), (1388608363,), (1388608365,), (1388608368,), (1388608371,), (1388608385,), (1388608411,), (1388608413,), (1388608416,), (1388608419,), (1388608421,), (1388608443,), (1388608444,), (1388608447,), (1388608451,), (1388608460,), (1388608462,), (1388608465,), (1388608469,), (1388608471,), (1388608475,), (1388608479,), (1388608481,), (1388608483,), (1388608487,), (1388608503,), (1388608510,), (1388608512,), (1388608515,), (1388608519,), (1388608522,), (1388608530,), (1388608533,), (1388608538,), (1388608543,), (1388608551,), (1388608557,), (1388608561,), (1388608565,), (1388608569,), (1388608572,), (1388608579,), (1388608582,), (1388608591,), (1388608593,), (1388608610,), (1388608596,), (1388608599,), (1388608601,), (1388608606,), (1388608618,), (1388608620,), (1388608621,), (1388608624,), (1388608628,), (1388608657,), (1388608659,), (1388608660,), (1388608663,), (1388608674,), (1388608676,), (1388608678,), (1388608680,), (1388608682,), (1388608688,), (1388608690,), (1388608691,), (1388608694,), (1388608697,), (1388608706,), (1388608708,), (1388608711,), (1388608715,), (1388608727,), (1388608728,), (1388608730,), (1388608733,), (1388608737,), (1388608772,), (1388608795,), (1388608800,), (1388608804,), (1388608807,), (1388608812,), (1388608815,), (1388608817,), (1388608820,), (1388608831,), (1388608833,), (1388608835,), (1388608839,), (1388608843,), (1388608845,), (1388608877,), (1388608880,), (1388608882,), (1388608885,), (1388608893,), (1388608895,), (1388608896,), (1388608899,), (1388608903,), (1388608905,), (1388608919,), (1388608927,), (1388608941,), (1388608943,), (1388609008,), (1388609009,), (1388609011,), (1388609014,), (1388609017,), (1388609019,), (1388609028,), (1388609031,), (1388609032,), (1388609035,), (1388609067,), (1388609050,), (1388609052,), (1388609055,), (1388609061,), (1388609064,), (1388609093,), (1388609096,), (1388609099,), (1388609102,), (1388609106,), (1388609117,), (1388609119,), (1388609122,), (1388609126,), (1388609129,), (1388609138,), (1388609140,), (1388609142,), (1388609145,), (1388609172,), (1388609174,), (1388609176,), (1388609179,), (1388609181,), (1388609185,), (1388609192,), (1388609195,), (1388609196,), (1388609200,), (1388609204,), (1388609211,), (1388609213,), (1388609215,), (1388609219,), (1388609223,), (1388609226,), (1388609233,), (1388609236,), (1388609237,), (1388609240,), (1388609251,), (1388609252,), (1388609253,), (1388609256,), (1388609260,), (1388609263,), (1388609270,), (1388609271,), (1388609273,), (1388609276,), (1388609286,), (1388609287,), (1388609289,), (1388609292,), (1388609295,), (1388609297,), (1388609304,), (1388609306,), (1388609307,), (1388609309,), (1388609322,), (1388609332,), (1388609334,), (1388609338,), (1388609342,), (1388609344,), (1388609418,), (1388609421,), (1388609423,), (1388609426,), (1388609441,), (1388609443,), (1388609445,), (1388609448,), (1388609451,), (1388609453,), (1388609469,), (1388609463,), (1388609466,), (1388609467,), (1388609526,), (1388609569,), (1388609619,), (1388609623,), (1388609650,), (1388609662,), (1388609726,), (1388609728,), (1388609734,), (1388609740,), (1388609786,), (1388609794,), (1388609796,), (1388609799,), (1388609808,), (1388609814,), (1388609841,), (1388609843,), (1388609846,), (1388609849,), (1388609853,), (1388609928,), (1388609929,), (1388609931,), (1388609934,), (1388609936,), (1388609938,), (1388609949,), (1388609952,), (1388609954,), (1388609956,), (1388610154,), (1388610190,), (1388610195,), (1388610197,), (1388610199,), (1388610201,), (1388610305,), (1388610307,), (1388610309,), (1388610311,), (1388610313,), (1388610328,), (1388610331,), (1388610334,), (1388610340,), (1388610342,), (1388610345,), (1388610359,), (1388610362,), (1388610363,), (1388610365,), (1388610368,), (1388610379,), (1388610380,), (1388610381,), (1388610384,), (1388610387,), (1388610398,), (1388610400,), (1388610402,), (1388610405,), (1388610409,), (1388610412,), (1388610420,), (1388610423,), (1388610426,), (1388610429,), (1388610432,), (1388610441,), (1388610443,), (1388610537,), (1388610930,), (1388610688,), (1388610732,), (1388610781,), (1388610823,), (1388611140,), (1388611174,), (1388611177,), (1388611202,), (1388611208,), (1388611403,), (1388611404,), (1388611406,), (1388611408,), (1388611410,), (1388611599,), (1388611601,), (1388611602,), (1388611605,), (1388611608,), (1388611721,), (1388611723,), (1388611724,), (1388611727,), (1388611731,), (1388611734,), (1388611745,), (1388611747,), (1388611749,), (1388611756,), (1388611758,), (1388611776,), (1388611779,), (1388611780,), (1388611783,), (1388611787,), (1388611789,), (1388611800,), (1388611834,), (1388611882,), (1388611975,), (1388612020,), (1388612139,), (1388612192,), (1388612227,), (1388612232,), (1388612235,), (1388612237,), (1388612369,), (1388612371,), (1388612372,), (1388612374,), (1388612389,), (1388612392,), (1388612393,), (1388612397,), (1388612401,), (1388612404,), (1388612526,), (1388612528,), (1388612552,), (1388612570,), (1388612579,), (1388612597,), (1388612598,), (1388612599,), (1388612602,), (1388612606,), (1388612609,), (1388612618,), (1388612620,), (1388612622,), (1388612626,), (1388612630,), (1388612640,), (1388612642,), (1388612645,), (1388612649,), (1388612676,), (1388612661,), (1388612663,), (1388612666,), (1388612670,), (1388612673,), (1388612821,), (1388612824,), (1388612839,), (1388612842,), (1388612846,), (1388612854,), (1388612856,), (1388612859,), (1388612863,), (1388612866,), (1388612883,), (1388612886,), (1388612887,), (1388612890,), (1388612893,), (1388612899,), (1388612907,), (1388612910,), (1388612912,), (1388612916,), (1388612919,), (1388612922,), (1388612929,), (1388612932,), (1388612934,), (1388612938,), (1388613091,), (1388613109,), (1388613110,), (1388613113,), (1388613117,), (1388613120,), (1388613131,), (1388613133,), (1388613135,), (1388613143,), (1388613146,), (1388613154,), (1388613156,), (1388613157,), (1388613160,), (1388613164,), (1388613167,), (1388613177,), (1388613178,), (1388613180,), (1388613199,), (1388613213,), (1388613215,), (1388613217,), (1388613221,), (1388613224,), (1388613249,), (1388613354,), (1388613377,), (1388613378,), (1388613393,), (1388613395,), (1388613399,), (1388613403,), (1388613406,), (1388613409,), (1388613418,), (1388613421,), (1388613422,), (1388613424,), (1388613437,), (1388613441,), (1388613444,), (1388613447,), (1388613450,), (1388613454,), (1388613486,), (1388613462,), (1388613476,), (1388613477,), (1388613481,), (1388613484,), (1388613645,), (1388613647,), (1388613648,), (1388613652,), (1388613671,), (1388613672,), (1388613673,), (1388613677,), (1388613681,), (1388613684,), (1388613693,), (1388613695,), (1388613697,), (1388613702,), (1388613716,), (1388613718,), (1388613720,), (1388613723,), (1388613727,), (1388613729,), (1388613738,), (1388613739,), (1388613741,), (1388613744,), (1388613748,), (1388613752,), (1388613887,), (1388613914,), (1388613921,), (1388613925,), (1388613940,), (1388613942,), (1388613944,), (1388613946,), (1388613949,), (1388613952,), (1388613961,), (1388613964,), (1388613966,), (1388613970,), (1388613985,), (1388613988,), (1388613990,), (1388613993,), (1388613997,), (1388614000,), (1388614009,), (1388614011,), (1388614013,), (1388614017,), (1388614020,), (1388614152,), (1388614154,), (1388614156,), (1388614161,), (1388614165,), (1388614212,), (1388614278,), (1388614281,), (1388614285,), (1388614289,), (1388614326,), (1388614328,), (1388614330,), (1388614333,), (1388614337,), (1388614340,), (1388614345,), (1388614352,), (1388614356,), (1388614360,), (1388614363,), (1388614383,), (1388614372,), (1388614374,), (1388614375,), (1388614377,), (1388614380,), (1388614516,), (1388614519,), (1388614521,), (1388614562,), (1388614669,), (1388614671,), (1388614673,), (1388614675,), (1388614680,), (1388614684,), (1388614704,), (1388614705,), (1388614706,), (1388614713,), (1388614716,), (1388614726,), (1388614728,), (1388614730,), (1388614734,), (1388614738,), (1388614750,), (1388614753,), (1388614754,), (1388614756,), (1388614759,), (1388614772,), (1388614934,), (1388614947,), (1388614950,), (1388614952,), (1388614958,), (1388615057,), (1388615059,), (1388615060,), (1388615062,), (1388615124,), (1388615126,), (1388615128,), (1388615132,), (1388615136,), (1388615139,), (1388615158,), (1388615162,), (1388615168,), (1388615171,), (1388615184,), (1388615186,), (1388615190,), (1388615196,), (1388615199,), (1388615202,), (1388615210,), (1388615213,), (1388615215,), (1388615231,), (1388615279,), (1388615471,), (1388615474,), (1388615522,), (1388615529,), (1388615531,), (1388615579,), (1388615583,), (1388615588,), (1388615590,), (1388615594,), (1388615611,), (1388615607,), (1388615782,), (1388615787,), (1388615807,), (1388615809,), (1388615823,), (1388615824,), (1388615825,), (1388615828,), (1388615832,), (1388615843,), (1388615845,), (1388615847,), (1388615851,), (1388615865,), (1388615867,), (1388615868,), (1388615871,), (1388615874,), (1388615878,), (1388615893,), (1388615895,), (1388615897,), (1388615901,), (1388615904,), (1388615908,), (1388616088,), (1388616094,), (1388616120,), (1388616123,), (1388616126,), (1388616128,), (1388616133,), (1388616134,), (1388616136,), (1388616141,), (1388616143,), (1388616146,), (1388616149,), (1388616152,), (1388616164,), (1388616167,), (1388616169,), (1388616172,), (1388616175,), (1388616178,), (1388616195,), (1388616197,), (1388616198,), (1388616200,), (1388616203,), (1388616218,), (1388616221,), (1388616222,), (1388616368,), (1388616397,), (1388616400,), (1388616427,), (1388616431,), (1388616434,), (1388616444,), (1388616450,), (1388616453,), (1388616456,), (1388616460,), (1388616463,), (1388616475,), (1388616476,), (1388616479,), (1388616482,), (1388616487,), (1388616488,), (1388616490,), (1388616493,), (1388616497,), (1388616500,), (1388616503,), (1388616506,), (1388616509,), (1388616512,), (1388616531,), (1388616519,), (1388616522,), (1388616525,), (1388616528,), (1388616542,), (1388616551,), (1388616594,), (1388616718,), (1388616720,), (1388616758,), (1388616813,), (1388616861,), (1388616863,), (1388616865,), (1388616869,), (1388616874,), (1388616890,), (1388616892,), (1388616894,), (1388616898,), (1388616912,), (1388616915,), (1388616917,), (1388617063,), (1388617091,), (1388617102,), (1388617119,), (1388617123,), (1388617125,), (1388617132,), (1388617139,), (1388617143,), (1388617145,), (1388617174,), (1388617427,), (1388617447,), (1388617450,), (1388617452,), (1388617498,), (1388617468,), (1388617486,), (1388617490,), (1388617495,), (1388617654,), (1388617660,), (1388617685,), (1388617688,), (1388617692,), (1388617696,), (1388617708,), (1388617711,), (1388617739,), (1388617741,), (1388617742,), (1388617761,), (1388617764,), (1388617767,), (1388617790,), (1388617792,), (1388617794,), (1388617798,), (1388617803,), (1388617959,), (1388617962,), (1388617964,), (1388617967,), (1388617987,), (1388617988,), (1388617990,), (1388617994,), (1388617997,), (1388618000,), (1388618004,), (1388618006,), (1388618007,), (1388618012,), (1388618014,), (1388618018,), (1388618021,), (1388618038,), (1388618041,), (1388618044,), (1388618049,), (1388618053,), (1388618066,), (1388618069,), (1388618071,), (1388618075,), (1388618079,), (1388618083,), (1388618094,), (1388618127,), (1388618168,), (1388618211,), (1388618357,), (1388618362,), (1388618368,), (1388618428,), (1388618434,), (1388618436,), (1388618446,), (1388618448,), (1388618450,), (1388618471,), (1388618475,), (1388618477,), (1388618481,), (1388618484,), (1388618486,), (1388618513,), (1388618499,), (1388618501,), (1388618502,), (1388618505,), (1388618509,), (1388618522,), (1388618525,), (1388618528,), (1388618532,), (1388618542,), (1388618544,), (1388618546,), (1388618550,), (1388618554,), (1388618687,), (1388618839,), (1388618892,), (1388618934,), (1388618977,), (1388618984,), (1388619075,), (1388619077,), (1388619078,), (1388619092,), (1388619136,), (1388619174,), (1388619273,), (1388619276,), (1388619329,), (1388619355,), (1388619365,), (1388619368,), (1388619371,), (1388619425,), (1388619428,), (1388619430,), (1388619434,), (1388619438,), (1388619443,), (1388619462,), (1388619464,), (1388619504,), (1388619516,), (1388619518,), (1388619520,), (1388619529,), (1388619539,), (1388619541,), (1388619543,), (1388619547,), (1388619557,), (1388619683,), (1388619687,), (1388619688,), (1388619737,), (1388620882,), (1388620886,), (1388635077,), (1388635098,), (1388635100,), (1388635101,), (1388635103,), (1388636072,), (1388636076,), (1388636082,), (1388636264,), (1388636295,), (1388636332,), (1388636417,), (1388636429,), (1388636437,), (1388636447,), (1388636461,), (1388636464,), (1388636465,), (1388637397,), (1388637399,), (1388637401,), (1388637404,), (1388637416,), (1388637879,), (1388637882,), (1388638116,), (1388638206,), (1388638209,), (1388638583,), (1388638585,), (1388638594,), (1388638605,), (1388638609,), (1388638811,), (1388638817,), (1388638818,), (1388638878,), (1388638898,), (1388638906,), (1388638910,), (1388638932,), (1388639007,), (1388639010,), (1388639012,), (1388639053,), (1388639193,), (1388640647,), (1388640577,), (1388640598,), (1388640602,), (1388640850,), (1388640863,), (1388640866,), (1388640869,), (1388640872,), (1388641904,), (1388641920,), (1388641923,), (1388641940,), (1388642131,), (1388642133,), (1388642244,), (1388642249,), (1388642257,), (1388642274,), (1388642277,), (1388642294,), (1388642309,), (1388642314,), (1388642316,), (1388642330,), (1388642337,), (1388642338,), (1388642351,), (1388642397,), (1388642485,), (1388642486,), (1388642487,), (1388642489,), (1388642539,), (1388642546,), (1388642548,), (1388642551,), (1388642555,), (1388642560,), (1388643306,), (1388643308,), (1388643310,), (1388643314,), (1388643321,), (1388643622,), (1388643624,), (1388643668,), (1388643671,), (1388643689,), (1388643832,), (1388643834,), (1388643836,), (1388643881,), (1388643884,), (1388643886,), (1388643889,), (1388644823,), (1388644826,), (1388644828,), (1388644831,), (1388644834,), (1388645186,), (1388645189,), (1388645191,), (1388645194,), (1388645198,), (1388646303,), (1388646362,), (1388646365,), (1388646666,), (1388646649,), (1388646664,), (1388646730,), (1388647815,), (1388647952,), (1388648276,), (1388649105,), (1388649106,), (1388649107,), (1388649143,), (1388649145,), (1388649146,), (1388649149,), (1388649531,), (1388649558,), (1388649562,), (1388650474,), (1388650493,), (1388650501,), (1388650519,), (1388650522,), (1388651221,), (1388651254,), (1388651256,), (1388651287,), (1388651304,), (1388651309,), (1388651332,), (1388651338,), (1388651408,), (1388651411,), (1388651412,), (1388651414,), (1388651435,), (1388651692,), (1388651702,), (1388651705,), (1388651708,), (1388651712,), (1388651882,), (1388651967,), (1388651997,), (1388652001,), (1388652006,), (1388652015,), (1388652167,), (1388652170,), (1388652172,), (1388653183,), (1388653186,), (1388653188,), (1388653191,), (1388653196,), (1388653965,), (1388653723,), (1388653953,), (1388653955,), (1388653958,), (1388653962,), (1388654223,), (1388654266,), (1388654291,), (1388654359,), (1388654365,), (1388654670,), (1388654698,), (1388654705,), (1388654716,), (1388655468,), (1388655472,), (1388655475,), (1388655479,), (1388655488,), (1388655811,), (1388655896,), (1388655900,), (1388656027,), (1388656031,), (1388656040,), (1388656063,), (1388656077,), (1388656153,), (1388656156,), (1388656157,), (1388656164,), (1388656173,), (1388656345,), (1388656350,), (1388656454,), (1388657029,), (1388657061,), (1388657101,), (1388657123,), (1388657143,), (1388657147,), (1388658410,), (1388658413,), (1388658469,), (1388658694,), (1388658697,), (1388658700,), (1388658801,), (1388658807,), (1388658812,), (1388659400,), (1388659412,), (1388659415,), (1388659419,), (1388659424,), (1388659511,), (1388659516,), (1388659517,), (1388659555,), (1388659579,), (1388659588,), (1388659607,), (1388659611,), (1388659614,), (1388661034,), (1388659654,), (1388659726,), (1388660052,), (1388660562,), (1388661031,), (1388661045,), (1388661078,), (1388661088,), (1388661090,), (1388661952,), (1388661953,), (1388662344,), (1388663254,), (1388663257,), (1388663258,), (1388663261,), (1388663281,), (1388663283,), (1388663286,), (1388663289,), (1388663292,), (1388663295,), (1388663317,), (1388663320,), (1388663325,), (1388663328,), (1388663331,), (1388663379,), (1388663382,), (1388663395,), (1388663787,), (1388663791,), (1388664838,), (1388664861,), (1388664864,), (1388665273,), (1388665291,), (1388665431,), (1388666945,), (1388667002,), (1388667053,), (1388667170,), (1388667176,), (1388667189,), (1388667193,), (1388667210,), (1388667233,), (1388667234,), (1388667236,), (1388667239,), (1388667243,), (1388667261,), (1388667265,), (1388667269,), (1388667274,), (1388667278,), (1388667282,), (1388667324,), (1388667313,), (1388667317,), (1388667320,), (1388667343,), (1388667345,), (1388667348,), (1388667352,), (1388667365,), (1388667407,), (1388667411,), (1388667414,), (1388667419,), (1388667424,), (1388667435,), (1388667475,), (1388667478,), (1388668245,), (1388668249,), (1388668251,), (1388668254,), (1388668259,), (1388668263,), (1388668560,), (1388668562,), (1388668599,), (1388668603,), (1388668786,), (1388668798,), (1388668813,), (1388668828,), (1388668831,), (1388668855,), (1388669574,), (1388669578,), (1388669586,), (1388669589,), (1388669594,), (1388670126,), (1388670158,), (1388670162,), (1388670166,), (1388670402,), (1388670417,), (1388670427,), (1388670439,), (1388670443,), (1388671250,), (1388671254,), (1388671257,), (1388671260,), (1388671264,), (1388671267,), (1388671529,), (1388671582,), (1388671619,), (1388671634,), (1388671643,), (1388671676,), (1388671679,), (1388671681,), (1388671693,), (1388671696,), (1388671698,), (1388673447,), (1388673461,), (1388673467,), (1388673688,), (1388674069,), (1388674103,), (1388674107,), (1388674188,), (1388674193,), (1388674322,), (1388674870,), (1388674710,), (1388674713,), (1388674741,), (1388674745,), (1388674762,), (1388675010,), (1388675014,), (1388675015,), (1388675017,), (1388675059,), (1388675061,), (1388675063,), (1388675066,), (1388675072,), (1388675122,), (1388675124,), (1388675125,), (1388675377,), (1388675680,), (1388675700,), (1388675702,), (1388675704,), (1388675708,), (1388675712,), (1388676144,), (1388676160,), (1388676162,), (1388676166,), (1388676203,), (1388676205,), (1388676207,), (1388676299,), (1388676304,), (1388676306,), (1388676310,), (1388676314,), (1388676345,), (1388676420,), (1388676421,), (1388676425,), (1388676451,), (1388676453,), (1388676967,), (1388677509,), (1388677734,), (1388677736,), (1388677763,), (1388677829,), (1388677862,), (1388677868,), (1388677876,), (1388679447,), (1388679640,), (1388679682,), (1388679710,), (1388679844,), (1388679846,), (1388679849,), (1388679853,), (1388679857,), (1388679861,), (1388680320,), (1388680330,), (1388680331,), (1388680841,), (1388680990,), (1388681438,), (1388681998,), (1388682092,), (1388682122,), (1388682119,), (1388682121,), (1388682573,), (1388682626,), (1388682644,), (1388682685,), (1388682812,), (1388682815,), (1388682817,), (1388683312,), (1388683317,), (1388683318,), (1388683320,), (1388683324,), (1388683327,), (1388683339,), (1388683346,), (1388683791,), (1388684307,), (1388684344,), (1388684349,), (1388684369,), (1388685385,), (1388685447,), (1388685461,), (1388685477,), (1388685480,), (1388685512,), (1388685785,), (1388685791,), (1388685794,), (1388685800,), (1388685807,), (1388685810,), (1388685865,), (1388685868,), (1388685946,), (1388685948,), (1388685949,), (1388686690,), (1388687115,), (1388687124,), (1388687126,), (1388687129,), (1388687132,), (1388687135,), (1388687251,), (1388687253,), (1388687254,), (1388687277,), (1388687281,), (1388687305,), (1388687312,), (1388687313,), (1388687526,), (1388687523,), (1388687524,), (1388687556,), (1388688153,), (1388688155,), (1388688212,), (1388688783,), (1388688818,), (1388688820,), (1388688823,), (1388688841,), (1388688844,), (1388688852,), (1388688854,), (1388688856,), (1388688859,), (1388688891,), (1388688894,), (1388688895,), (1388688938,), (1388688945,), (1388688947,), (1388688951,), (1388688955,), (1388688967,), (1388688970,), (1388688972,), (1388689036,), (1388689055,), (1388689066,), (1388689075,), (1388689084,), (1388690358,), (1388690889,), (1388690961,), (1388690963,), (1388691183,), (1388691214,), (1388691278,), (1388691614,), (1388691628,), (1388692121,), (1388692122,), (1388692124,), (1388692127,), (1388692131,), (1388692134,), (1388692206,), (1388692209,), (1388692217,), (1388692221,), (1388692224,), (1388692264,), (1388692307,), (1388692348,), (1388692363,), (1388692365,), (1388692368,), (1388692381,), (1388692383,), (1388692385,), (1388692389,), (1388692392,), (1388692398,), (1388692411,), (1388692407,), (1388692410,), (1388692428,), (1388692430,), (1388692432,), (1388692540,), (1388693114,), (1388693304,), (1388693386,), (1388693393,), (1388693394,), (1388693420,), (1388693423,), (1388693805,), (1388693807,), (1388693879,), (1388693906,), (1388693919,), (1388693922,), (1388693930,), (1388694005,), (1388696998,), (1388697045,), (1388697087,), (1388697146,), (1388698716,), (1388698512,), (1388698607,), (1388698713,), (1388698812,), (1388698815,), (1388698817,), (1388699363,), (1388699379,), (1388699439,), (1388699451,), (1388699576,), (1388700131,), (1388700157,), (1388700186,), (1388700445,), (1388700459,), (1388700465,), (1388700496,), (1388700498,), (1388700501,), (1388700505,), (1388700523,), (1388700525,), (1388700528,), (1388700532,), (1388701111,), (1388701193,), (1388701270,), (1388701274,), (1388701277,), (1388701491,), (1388701495,), (1388701673,), (1388701676,), (1388701677,), (1388701724,), (1388701726,), (1388701729,), (1388701946,), (1388734795,), (1388734735,), (1388734824,), (1388734870,), (1388734874,), (1388734878,), (1388734928,), (1388735231,), (1388735312,), (1388735314,), (1388735316,), (1388735320,), (1388735372,), (1388735391,), (1388735412,), (1388735415,), (1388735419,), (1388735538,), (1388735562,), (1388735644,), (1388735647,), (1388735649,), (1388735724,), (1388735726,), (1388735728,), (1388735928,), (1388735931,), (1388735932,), (1388735936,), (1388736656,), (1388736539,), (1388736542,), (1388736602,), (1388736881,), (1388736883,), (1388736886,), (1388737097,), (1388737100,), (1388737103,), (1388737108,), (1388737130,), (1388737155,), (1388737165,), (1388737190,), (1388737195,), (1388737235,), (1388737381,), (1388737383,), (1388737386,), (1388737864,), (1388737866,), (1388737868,), (1388737957,), (1388737960,), (1388737987,), (1388737989,), (1388737993,), (1388737997,), (1388738113,), (1388738116,), (1388738120,), (1388738126,), (1388738129,), (1388738131,), (1388738142,), (1388738144,), (1388738147,), (1388738149,), (1388738151,), (1388738153,), (1388738170,), (1388738174,), (1388738175,), (1388738178,), (1388738180,), (1388738182,), (1388738196,), (1388738198,), (1388738199,), (1388738200,), (1388738202,), (1388738204,), (1388738209,), (1388738212,), (1388738214,), (1388738216,), (1388738218,), (1388738235,), (1388738237,), (1388738239,), (1388738242,), (1388738246,), (1388738252,), (1388738391,), (1388738393,), (1388738395,), (1388739200,), (1388739209,), (1388739217,), (1388739229,), (1388739407,), (1388739408,), (1388739426,), (1388739427,), (1388739435,), (1388739436,), (1388739448,), (1388739449,), (1388739575,), (1388739530,), (1388739570,), (1388739571,), (1388739597,), (1388739637,), (1388740243,), (1388740515,), (1388740653,), (1388740659,), (1388741103,), (1388741108,), (1388741890,), (1388741898,), (1388741902,), (1388741904,), (1388742228,), (1388742231,), (1388742276,), (1388742333,), (1388742425,), (1388742433,), (1388742464,), (1388742475,), (1388742479,), (1388742485,), (1388742494,), (1388742503,), (1388742551,), (1388742554,), (1388742557,), (1388742584,), (1388742586,), (1388742589,), (1388742592,), (1388742630,), (1388742634,), (1388742654,), (1388742657,), (1388742659,), (1388742664,), (1388742699,), (1388742717,), (1388742739,), (1388742747,), (1388742751,), (1388742756,), (1388742787,), (1388742794,), (1388742806,), (1388742810,), (1388742815,), (1388743023,), (1388743138,), (1388743144,), (1388743152,), (1388743157,), (1388743160,), (1388743171,), (1388743173,), (1388743176,), (1388743181,), (1388743185,), (1388743190,), (1388743257,), (1388743254,), (1388743450,), (1388743462,), (1388743480,), (1388743487,), (1388743496,), (1388743624,), (1388743627,), (1388743632,), (1388743637,), (1388743642,), (1388743646,), (1388743677,), (1388743688,), (1388743699,), (1388743704,), (1388743715,), (1388743737,), (1388743740,), (1388743742,), (1388743745,), (1388743775,), (1388743794,), (1388743801,), (1388743807,), (1388743813,), (1388743835,), (1388743837,), (1388743840,), (1388743843,), (1388743859,), (1388743861,), (1388743949,), (1388743970,), (1388743977,), (1388743981,), (1388743986,), (1388743990,), (1388744012,), (1388744013,), (1388744021,), (1388744033,), (1388744038,), (1388744073,), (1388744085,), (1388744089,), (1388744096,), (1388744101,), (1388744134,), (1388744136,), (1388744148,), (1388744150,), (1388744155,), (1388744159,), (1388744216,), (1388744219,), (1388744221,), (1388744223,), (1388744226,), (1388744239,), (1388744242,), (1388744247,), (1388744254,), (1388744257,), (1388744260,), (1388744301,), (1388744307,), (1388744308,), (1388744386,), (1388744473,), (1388744347,), (1388744376,), (1388744379,), (1388744382,), (1388744384,), (1388744391,), (1388744393,), (1388744395,), (1388744401,), (1388744406,), (1388744421,), (1388744427,), (1388744428,), (1388744448,), (1388744455,), (1388744457,), (1388744496,), (1388744500,), (1388744576,), (1388744579,), (1388744583,), (1388744588,), (1388744761,), (1388744786,), (1388744793,), (1388744816,), (1388744827,), (1388744832,), (1388744966,), (1388744970,), (1388744971,), (1388744974,), (1388745035,), (1388745040,), (1388745051,), (1388745071,), (1388745078,), (1388745080,), (1388745127,), (1388745130,), (1388745133,), (1388745136,), (1388745141,), (1388745147,), (1388745152,), (1388745155,), (1388745157,), (1388745203,), (1388745207,), (1388745209,), (1388745212,), (1388745216,), (1388745238,), (1388745239,), (1388745366,), (1388745369,), (1388745371,), (1388745375,), (1388745517,), (1388745520,), (1388745523,), (1388745536,), (1388745548,), (1388745552,), (1388745809,), (1388745819,), (1388745827,), (1388745879,), (1388745904,), (1388745911,), (1388746002,), (1388746005,), (1388746072,), (1388746057,), (1388746060,), (1388746064,), (1388746142,), (1388746144,), (1388746147,), (1388746152,), (1388746156,), (1388746161,), (1388746181,), (1388746184,), (1388746186,), (1388746189,), (1388746194,), (1388746247,), (1388746249,), (1388746269,), (1388746483,), (1388746517,), (1388746542,), (1388746545,), (1388747275,), (1388747283,), (1388747287,), (1388747291,), (1388747370,), (1388747382,), (1388747536,), (1388747540,), (1388747544,), (1388747547,), (1388747550,), (1388747553,), (1388747569,), (1388747570,), (1388747637,), (1388747647,), (1388747656,), (1388747660,), (1388747662,), (1388747686,), (1388747689,), (1388747699,), (1388747703,), (1388747717,), (1388747722,), (1388747747,), (1388747755,), (1388747757,), (1388747775,), (1388747778,), (1388747779,), (1388747783,), (1388747787,), (1388747790,), (1388747846,), (1388747849,), (1388747851,), (1388747856,), (1388748064,), (1388748087,), (1388748915,), (1388748927,), (1388748932,), (1388748936,), (1388748947,), (1388748948,), (1388748950,), (1388748952,), (1388749326,), (1388749252,), (1388749254,), (1388749255,), (1388749421,), (1388749424,), (1388749426,), (1388749431,), (1388749443,), (1388750450,), (1388750462,), (1388750466,), (1388750482,), (1388750552,), (1388750556,), (1388750592,), (1388750637,), (1388750645,), (1388751206,), (1388751231,), (1388751234,), (1388751238,), (1388751249,), (1388751252,), (1388751255,), (1388751260,), (1388751264,), (1388751267,), (1388751304,), (1388751314,), (1388751316,), (1388751320,), (1388751325,), (1388751333,), (1388751363,), (1388751366,), (1388751386,), (1388751388,), (1388751389,), (1388751482,), (1388751486,), (1388751491,), (1388751496,), (1388751502,), (1388751512,), (1388751523,), (1388751524,), (1388751525,), (1388751528,), (1388751531,), (1388751534,), (1388751537,), (1388751541,), (1388751543,), (1388751555,), (1388751557,), (1388751946,), (1388751939,), (1388751945,), (1388752000,), (1388752003,), (1388752005,), (1388752009,), (1388752014,), (1388752022,), (1388752024,), (1388752101,), (1388752114,), (1388752122,), (1388752126,), (1388752157,), (1388752162,), (1388752169,), (1388752173,), (1388752210,), (1388752354,), (1388752355,), (1388752356,), (1388752359,), (1388752363,), (1388752378,), (1388752380,), (1388752382,), (1388752400,), (1388752403,), (1388752404,), (1388752406,), (1388752419,), (1388752423,), (1388752435,), (1388752438,), (1388752452,), (1388752455,), (1388752456,), (1388752460,), (1388752506,), (1388752508,), (1388752511,), (1388752514,), (1388752613,), (1388752617,), (1388752619,), (1388752622,), (1388752625,), (1388752641,), (1388752643,), (1388752646,), (1388752651,), (1388752659,), (1388752790,), (1388752793,), (1388752802,), (1388752814,), (1388752913,), (1388752897,), (1388752904,), (1388752907,), (1388752987,), (1388752988,), (1388752989,), (1388752992,), (1388753044,), (1388753047,), (1388753049,), (1388753053,), (1388753116,), (1388753119,), (1388753120,), (1388753123,), (1388753294,), (1388753296,), (1388753298,), (1388753324,), (1388753607,), (1388754500,), (1388754493,), (1388754495,), (1388754497,), (1388754712,), (1388754729,), (1388754732,), (1388754746,), (1388754792,), (1388754802,), (1388754874,), (1388754880,), (1388754887,), (1388754890,), (1388754894,), (1388755228,), (1388755230,), (1388755338,), (1388755354,), (1388755414,), (1388755419,), (1388755422,), (1388755427,), (1388755437,), (1388755467,), (1388755470,), (1388755473,), (1388755476,), (1388755483,), (1388755522,), (1388755525,), (1388755527,), (1388755622,), (1388755623,), (1388755624,), (1388755626,), (1388755629,), (1388755650,), (1388755677,), (1388755687,), (1388755691,), (1388755858,), (1388755860,), (1388755862,), (1388755975,), (1388755977,), (1388755978,), (1388755981,), (1388756047,), (1388756049,), (1388756051,), (1388756054,), (1388756057,), (1388756060,), (1388756844,), (1388756848,), (1388756851,), (1388756854,), (1388756858,), (1388757160,), (1388757149,), (1388757156,), (1388757229,), (1388757231,), (1388757245,), (1388757249,), (1388757252,), (1388757256,), (1388758216,), (1388758217,), (1388758325,), (1388758328,), (1388758429,), (1388758432,), (1388758435,), (1388758439,), (1388758456,), (1388758457,), (1388758458,), (1388758461,), (1388758465,), (1388758476,), (1388759500,), (1388759503,), (1388759505,), (1388759509,), (1388759514,), (1388759519,), (1388759831,), (1388759840,), (1388759890,), (1388759893,), (1388760013,), (1388760015,), (1388760016,), (1388760019,), (1388760022,), (1388760025,), (1388760041,), (1388760056,), (1388760057,), (1388760059,), (1388760078,), (1388760080,), (1388760082,), (1388760084,), (1388760088,), (1388760099,), (1388760101,), (1388760103,), (1388760107,), (1388760111,), (1388760223,), (1388760226,), (1388760237,), (1388760310,), (1388760311,), (1388760312,), (1388760314,), (1388760321,), (1388760327,), (1388760365,), (1388760368,), (1388760379,), (1388760430,), (1388760433,), (1388760438,), (1388760440,), (1388760531,), (1388760518,), (1388760521,), (1388760527,), (1388760606,), (1388760608,), (1388760626,), (1388760630,), (1388760650,), (1388760653,), (1388760656,), (1388760660,), (1388760663,), (1388760666,), (1388760681,), (1388760726,), (1388760751,), (1388760752,), (1388760770,), (1388760772,), (1388760843,), (1388760855,), (1388760858,), (1388760862,), (1388760868,), (1388760931,), (1388760938,), (1388760945,), (1388760948,), (1388760954,), (1388760967,), (1388760970,), (1388760972,), (1388760976,), (1388760997,), (1388760999,), (1388761002,), (1388761021,), (1388761027,), (1388761030,), (1388761052,), (1388761055,), (1388761058,), (1388761062,), (1388761065,), (1388761073,), (1388761075,), (1388761077,), (1388761080,), (1388761174,), (1388761176,), (1388761177,), (1388761180,), (1388761184,), (1388761198,), (1388761200,), (1388761202,), (1388761205,), (1388761244,), (1388761249,), (1388761251,), (1388761255,), (1388761259,), (1388761436,), (1388761273,), (1388761433,), (1388761490,), (1388761514,), (1388761517,), (1388761524,), (1388761527,), (1388761591,), (1388761593,), (1388761594,), (1388761598,), (1388761603,), (1388761612,), (1388761641,), (1388761644,), (1388761646,), (1388761757,), (1388761773,), (1388761783,), (1388761787,), (1388761790,), (1388761797,), (1388761919,), (1388761922,), (1388761924,), (1388761926,), (1388761941,), (1388761947,), (1388761949,), (1388761973,), (1388761976,), (1388761985,), (1388761988,), (1388761991,), (1388761994,), (1388762084,), (1388762086,), (1388762090,), (1388762095,), (1388762099,), (1388762133,), (1388762135,), (1388762136,), (1388762139,), (1388762194,), (1388762205,), (1388762213,), (1388762459,), (1388762473,), (1388762475,), (1388762499,), (1388762721,), (1388762734,), (1388762772,), (1388762789,), (1388762792,), (1388763006,), (1388763012,), (1388763013,), (1388763016,), (1388763282,), (1388763284,), (1388763301,), (1388763304,), (1388763403,), (1388763391,), (1388763393,), (1388763394,), (1388763396,), (1388763400,), (1388763422,), (1388763432,), (1388763434,), (1388763440,), (1388763476,), (1388763478,), (1388763480,), (1388763483,), (1388763488,), (1388763502,), (1388763539,), (1388763573,), (1388763574,), (1388763584,), (1388763595,), (1388763603,), (1388763611,), (1388763614,), (1388763625,), (1388763673,), (1388763676,), (1388763679,), (1388763690,), (1388763694,), (1388763707,), (1388763710,), (1388763712,), (1388763716,), (1388763719,), (1388763721,), (1388763740,), (1388763742,), (1388763743,), (1388763760,), (1388763773,), (1388763777,), (1388763780,), (1388763783,), (1388763785,), (1388763819,), (1388763825,), (1388763827,), (1388763831,), (1388763835,), (1388763844,), (1388763879,), (1388763880,), (1388763943,), (1388763945,), (1388763947,), (1388763952,), (1388763957,), (1388763963,), (1388763996,), (1388763998,), (1388764000,), (1388764004,), (1388764008,), (1388764011,), (1388764446,), (1388764448,), (1388764451,), (1388764460,), (1388764463,), (1388764466,), (1388764468,), (1388764471,), (1388766674,), (1388764478,), (1388764987,), (1388765836,), (1388766840,), (1388766849,), (1388767080,), (1388767093,), (1388767096,), (1388767142,), (1388767540,), (1388767589,), (1388767591,), (1388767634,), (1388767672,), (1388767674,), (1388767682,), (1388767686,), (1388767709,), (1388767712,), (1388767722,), (1388767726,), (1388767728,), (1388767731,), (1388767755,), (1388767757,), (1388767758,), (1388767760,), (1388767763,), (1388767766,), (1388767796,), (1388767801,), (1388767805,), (1388767809,), (1388767812,), (1388767847,), (1388767849,), (1388767850,), (1388767853,), (1388767867,), (1388767869,), (1388767871,), (1388767875,), (1388767879,), (1388767896,), (1388767991,), (1388768244,), (1388768249,), (1388768272,), (1388768274,), (1388768275,), (1388768277,), (1388768300,), (1388768305,), (1388768309,), (1388768312,), (1388768316,), (1388768336,), (1388768337,), (1388768339,), (1388768341,), (1388768348,), (1388768351,), (1388768360,), (1388768363,), (1388768364,), (1388768370,), (1388768384,), (1388768387,), (1388768389,), (1388768394,), (1388768398,), (1388768402,), (1388768506,), (1388768518,), (1388768532,), (1388768544,), (1388768545,), (1388768547,), (1388768550,), (1388768494,), (1388768495,), (1388768497,), (1388768500,), (1388768503,), (1388768557,), (1388768560,), (1388768562,), (1388768564,), (1388768578,), (1388768581,), (1388768584,), (1388768587,), (1388768590,), (1388768637,), (1388768783,), (1388768798,), (1388768808,), (1388768818,), (1388768824,), (1388768849,), (1388768851,), (1388768852,), (1388768888,), (1388768891,), (1388768896,), (1388768902,), (1388768906,), (1388768921,), (1388768945,), (1388768947,), (1388768951,), (1388768956,), (1388768959,), (1388769000,), (1388769004,), (1388769011,), (1388769072,), (1388769075,), (1388769078,), (1388769082,), (1388769084,), (1388769086,), (1388769099,), (1388769102,), (1388769103,), (1388769105,), (1388769109,), (1388769129,), (1388769131,), (1388769135,), (1388769139,), (1388769142,), (1388769148,), (1388769160,), (1388769168,), (1388769184,), (1388769197,), (1388769215,), (1388769221,), (1388769236,), (1388769359,), (1388769391,), (1388769392,), (1388769395,), (1388769399,), (1388769402,), (1388769411,), (1388769413,), (1388769416,), (1388782757,), (1388782602,), (1388782753,), (1388782755,), (1388782775,), (1388782777,), (1388782779,), (1388782782,), (1388782790,), (1388782881,), (1388782882,), (1388782883,), (1388782917,), (1388782919,), (1388782922,), (1388782928,), (1388782939,), (1388782941,), (1388782999,), (1388783057,), (1388783060,), (1388783097,), (1388783085,), (1388783089,), (1388783091,), (1388783094,), (1388783105,), (1388783108,), (1388783109,), (1388783181,), (1388783182,), (1388783183,), (1388783223,), (1388783224,), (1388783225,), (1388783602,), (1388783604,), (1388783605,), (1388783607,), (1388783610,), (1388783614,), (1388783625,), (1388783629,), (1388783633,), (1388783659,), (1388783693,), (1388783697,), (1388783727,), (1388783738,), (1388783742,), (1388783747,), (1388783778,), (1388783780,), (1388783809,), (1388783812,), (1388783813,), (1388783816,), (1388783820,), (1388783832,), (1388783847,), (1388783853,), (1388783856,), (1388783859,), (1388783862,), (1388783891,), (1388783893,), (1388783895,), (1388783897,), (1388783899,), (1388783902,), (1388783906,), (1388783909,), (1388783911,), (1388783912,), (1388783914,), (1388783924,), (1388783933,), (1388783939,), (1388783994,), (1388783996,), (1388783999,), (1388784002,), (1388784005,), (1388784007,), (1388784017,), (1388784019,), (1388784020,), (1388784022,), (1388784025,), (1388784046,), (1388784050,), (1388784053,), (1388784058,), (1388784061,), (1388784064,), (1388784082,), (1388784078,), (1388784080,), (1388784241,), (1388784272,), (1388784273,), (1388784275,), (1388784278,), (1388784282,), (1388784305,), (1388784308,), (1388784313,), (1388784318,), (1388784623,), (1388784626,), (1388784641,), (1388784644,), (1388784646,), (1388784659,), (1388784661,), (1388784662,), (1388784665,), (1388784691,), (1388784694,), (1388784696,), (1388784699,), (1388784702,), (1388784705,), (1388784728,), (1388784799,), (1388784801,), (1388784846,), (1388784850,), (1388784853,), (1388784855,), (1388784858,), (1388784874,), (1388784877,), (1388784880,), (1388784901,), (1388784904,), (1388784906,), (1388784909,), (1388784913,), (1388784931,), (1388784937,), (1388784952,), (1388784978,), (1388784980,), (1388784982,), (1388784985,), (1388785015,), (1388785021,), (1388785024,), (1388785029,), (1388785032,), (1388785034,), (1388785044,), (1388785046,), (1388785065,), (1388785069,), (1388785074,), (1388785079,), (1388785088,), (1388785115,), (1388785100,), (1388785103,), (1388785105,), (1388785109,), (1388785113,), (1388785126,), (1388785128,), (1388785129,), (1388785131,), (1388785135,), (1388785161,), (1388785164,), (1388785166,), (1388785169,), (1388785190,), (1388785192,), (1388785194,), (1388785197,), (1388785201,), (1388785214,), (1388785217,), (1388785220,), (1388785224,), (1388785227,), (1388785229,), (1388785236,), (1388785238,), (1388785240,), (1388785243,), (1388785248,), (1388785252,), (1388785268,), (1388785271,), (1388785274,), (1388785278,), (1388785298,), (1388785319,), (1388785320,), (1388785323,), (1388785327,), (1388785350,), (1388785353,), (1388785355,), (1388785358,), (1388785362,), (1388785382,), (1388785386,), (1388785390,), (1388785406,), (1388785409,), (1388785410,), (1388785414,), (1388785426,), (1388785428,), (1388785430,), (1388785434,), (1388785444,), (1388785457,), (1388786002,), (1388786005,), (1388786007,), (1388786579,), (1388786584,), (1388786587,), (1388786589,), (1388786593,), (1388786596,), (1388786600,), (1388786602,), (1388786629,), (1388787998,), (1388786615,), (1388786617,), (1388786620,), (1388786624,), (1388786627,), (1388787008,), (1388787575,), (1388787922,), (1388787925,), (1388787927,), (1388787930,), (1388787953,), (1388787975,), (1388787983,), (1388787985,), (1388787996,), (1388788019,), (1388788020,), (1388788034,), (1388788035,), (1388788071,), (1388788112,), (1388788152,), (1388788167,), (1388788171,), (1388788282,), (1388788658,), (1388788736,), (1388788739,), (1388788742,), (1388788812,), (1388788846,), (1388788867,), (1388788879,), (1388788884,), (1388788900,), (1388788903,), (1388788906,), (1388788910,), (1388788914,), (1388788922,), (1388788924,), (1388788926,), (1388788959,), (1388788961,), (1388788963,), (1388788997,), (1388789021,), (1388789028,), (1388789040,), (1388789043,), (1388789064,), (1388789066,), (1388789085,), (1388789089,), (1388789104,), (1388789141,), (1388789144,), (1388789146,), (1388789152,), (1388789154,), (1388789218,), (1388789219,), (1388789221,), (1388789388,), (1388789392,), (1388789393,), (1388789396,), (1388789399,), (1388789401,), (1388789440,), (1388789423,), (1388789433,), (1388789438,), (1388789535,), (1388789543,), (1388789565,), (1388789570,), (1388790096,), (1388790159,), (1388790169,), (1388790172,), (1388790371,), (1388790373,), (1388790375,), (1388790378,), (1388790381,), (1388790392,), (1388790395,), (1388790398,), (1388790400,), (1388790411,), (1388790413,), (1388790414,), (1388790417,), (1388790420,), (1388790422,), (1388790451,), (1388790453,), (1388790456,), (1388790515,), (1388790518,), (1388790519,), (1388790520,), (1388790551,), (1388790554,), (1388790557,), (1388790560,), (1388790564,), (1388790567,), (1388790579,), (1388790599,), (1388790609,), (1388790628,), (1388790630,), (1388790767,), (1388790769,), (1388790771,), (1388790773,), (1388790871,), (1388790873,), (1388790875,), (1388790878,), (1388790906,), (1388791033,), (1388791036,), (1388791038,), (1388791049,), (1388791053,), (1388791055,), (1388791057,), (1388791059,), (1388791079,), (1388791082,), (1388791084,), (1388791087,), (1388791090,), (1388791093,), (1388791132,), (1388791110,), (1388791113,), (1388791115,), (1388791119,), (1388791122,), (1388791143,), (1388791145,), (1388791146,), (1388791170,), (1388791174,), (1388791207,), (1388791213,), (1388791222,), (1388792630,), (1388792818,), (1388793350,), (1388793834,), (1388794397,), (1388796053,), (1388795977,), (1388796049,), (1388796051,), (1388796081,), (1388796085,), (1388796092,), (1388796124,), (1388796195,), (1388796197,), (1388796212,), (1388796215,), (1388796217,), (1388796220,), (1388796224,), (1388796236,), (1388796238,), (1388796240,), (1388796242,), (1388796245,), (1388796259,), (1388796261,), (1388796264,), (1388796278,), (1388796282,), (1388796285,), (1388796288,), (1388796291,), (1388796301,), (1388796304,), (1388796306,), (1388796308,), (1388796314,), (1388796320,), (1388796333,), (1388796335,), (1388796337,), (1388796341,), (1388797040,), (1388797046,), (1388797049,), (1388797087,), (1388797078,), (1388797082,), (1388797085,), (1388797101,), (1388797103,), (1388797104,), (1388798137,), (1388798139,), (1388798141,), (1388798145,), (1388798151,), (1388798154,), (1388798167,), (1388798169,), (1388798170,), (1388798535,), (1388798544,), (1388799370,), (1388799373,), (1388799375,), (1388799379,), (1388799690,), (1388799691,), (1388800047,), (1388800051,), (1388800053,), (1388800056,), (1388800416,), (1388800419,), (1388800421,), (1388800523,), (1388800538,), (1388800559,), (1388800622,), (1388800638,), (1388800649,), (1388800656,), (1388800747,), (1388800787,), (1388800870,), (1388800873,), (1388800876,), (1388800882,), (1388800894,), (1388800898,), (1388800902,), (1388800905,), (1388800909,), (1388800933,), (1388800936,), (1388800938,), (1388800940,), (1388801066,), (1388801079,), (1388801149,), (1388801155,), (1388801158,), (1388801222,), (1388801229,), (1388801235,), (1388801239,), (1388801243,), (1388801273,), (1388801275,), (1388801277,), (1388801279,), (1388801283,), (1388801298,), (1388801302,), (1388801308,), (1388801314,), (1388801348,), (1388801335,), (1388801337,), (1388801339,), (1388801342,), (1388801345,), (1388801358,), (1388801361,), (1388801365,), (1388801375,), (1388801384,), (1388801413,), (1388801415,), (1388801417,), (1388801420,), (1388801439,), (1388801447,), (1388801449,), (1388801453,), (1388801459,), (1388801461,), (1388801475,), (1388801477,), (1388801479,), (1388801483,), (1388801486,), (1388801812,), (1388801815,), (1388801818,), (1388801861,), (1388801863,), (1388801865,), (1388801869,), (1388801871,), (1388801874,), (1388802040,), (1388802063,), (1388802067,), (1388802165,), (1388802167,), (1388802169,), (1388802172,), (1388802175,), (1388802189,), (1388802199,), (1388802201,), (1388802378,), (1388802406,), (1388802407,), (1388802411,), (1388802415,), (1388802424,), (1388802426,), (1388802429,), (1388802433,), (1388802436,), (1388802455,), (1388802457,), (1388802459,), (1388802465,), (1388802528,), (1388802531,), (1388802533,), (1388802555,), (1388802600,), (1388802620,), (1388802623,), (1388802626,), (1388802628,), (1388802631,), (1388802674,), (1388802666,), (1388802669,), (1388802672,), (1388802677,), (1388802678,), (1388802679,), (1388802681,), (1388802685,), (1388802689,), (1388802701,), (1388802704,), (1388802706,), (1388802709,), (1388802713,), (1388802717,), (1388802748,), (1388802750,), (1388802751,), (1388802767,), (1388802768,), (1388802769,), (1388802795,), (1388802797,), (1388802799,), (1388802803,), (1388802807,), (1388802856,), (1388802858,), (1388802860,), (1388802863,), (1388802867,), (1388802883,), (1388802886,), (1388802887,), (1388802890,), (1388803179,), (1388808280,), (1388808974,), (1388808976,), (1388809022,), (1388809041,), (1388809043,), (1388809046,), (1388809281,), (1388809305,), (1388809654,), (1388809657,), (1388809770,), (1388809772,), (1388809834,), (1388809893,), (1388810246,), (1388810398,), (1388813564,), (1388814756,), (1388815058,), (1388815096,), (1388815125,), (1388815152,), (1388815153,), (1388815387,), (1388815436,), (1388815767,), (1388817186,), (1388819391,), (1388819463,), (1388819481,), (1388819483,), (1388822152,), (1388822165,), (1388825616,), (1388826029,), (1388827059,), (1388827061,), (1388827160,), (1388827182,), (1388827252,), (1388829047,), (1388829049,), (1388830984,), (1388831001,), (1388831521,), (1388831523,), (1388831525,), (1388831528,), (1388832073,), (1388832904,), (1388832908,), (1388833499,), (1388841292,), (1388841367,), (1388841395,), (1388841410,), (1388841429,), (1388842681,), (1388842720,), (1388844653,), (1388844735,), (1388844805,), (1388844850,), (1388844924,), (1388844997,), (1388845060,), (1388845074,), (1388845173,), (1388845186,), (1388845202,), (1388845371,), (1388845608,), (1388845757,), (1388845751,), (1388845813,), (1388845855,), (1388845857,), (1388845867,), (1388845876,), (1388845922,), (1388845944,), (1388845987,), (1388846032,), (1388846034,), (1388846201,), (1388846217,), (1388846898,), (1388846963,), (1388847173,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10102025': {'nb_upload': 21, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27709915]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] map_info['map_portfolio_photo'] : {27709915: [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602]} final : True mtd_id 4302 list_pids : [1388783097, 1388783060, 1388783057, 1388782999, 1388782941, 1388782939, 1388782928, 1388782922, 1388782919, 1388782917, 1388782883, 1388782882, 1388782881, 1388782790, 1388782782, 1388782779, 1388782777, 1388782775, 1388782755, 1388782753, 1388782602] Looping around the photos to save general results len do output : 1 /27709915Didn'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, '3927913') ('4302', '27709915', '1388783097', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783060', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388783057', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782999', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782941', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782939', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782928', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782922', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782919', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782917', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782883', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782882', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782881', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782790', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782782', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782779', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782777', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782775', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782755', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782753', None, None, None, None, None, '3927913') ('4302', None, None, None, None, None, None, None, '3927913') ('4302', '27709915', '1388782602', None, None, None, None, None, '3927913') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 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, '27709915', 'None', None, None, None, None, '3927913'), ('4302', '27709915', '1388783097', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388783060', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388783057', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782999', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782941', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782939', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782928', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782922', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782919', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782917', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782883', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782882', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782881', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782790', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782782', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782779', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782777', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782775', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782755', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782753', None, None, None, None, None, '3927913'), ('4302', '27709915', '1388782602', None, None, None, None, None, '3927913')] time used for this insertion : 0.04069781303405762 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.29976224899292 time spend to save output : 0.04097127914428711 total time spend for step 5 : 15.340733528137207 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 (3927913) 2.50user 2.12system 0:31.91elapsed 14%CPU (0avgtext+0avgdata 166884maxresident)k 208inputs+15864outputs (0major+75784minor)pagefaults 0swaps