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 : 2528861 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 (4243977) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4243977) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498746 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4243977'] with mtr_portfolio_ids : ['29498746'] and first list_photo_ids : [] new path : /proc/2528861/ Name: python3 Umask: 0002 State: R (running) Tgid: 2528861 Ngid: 0 Pid: 2528861 PPid: 2528858 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2528861 NSpid: 2528861 NSpgid: 2528440 NSsid: 2528440 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104712 kB VmRSS: 104712 kB RssAnon: 66296 kB RssFile: 38416 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 588 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: 50 nonvoluntary_ctxt_switches: 123 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2528861', 'Ngid': '0', 'Pid': '2528861', 'PPid': '2528858', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2528861', 'NSpid': '2528861', 'NSpgid': '2528440', 'NSsid': '2528440', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104712 kB', 'VmRSS': '104712 kB', 'RssAnon': '66296 kB', 'RssFile': '38416 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '588 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': '50', 'nonvoluntary_ctxt_switches': '123'} ('datou_batch_current', '2528861', '1113364', '0', '1113364', '872092', '104712', b'', 'marlene', '4243977') 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 (29498746) 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 (4243977 ) ) 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 (29498746) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1399782312, 'portfolio_id': 29498746}, {'photo_id': 1399779768, 'portfolio_id': 29498746}, {'photo_id': 1399779469, 'portfolio_id': 29498746}, {'photo_id': 1399779415, 'portfolio_id': 29498746}, {'photo_id': 1399779412, 'portfolio_id': 29498746}, {'photo_id': 1399779035, 'portfolio_id': 29498746}, {'photo_id': 1399778923, 'portfolio_id': 29498746}, {'photo_id': 1399778921, 'portfolio_id': 29498746}, {'photo_id': 1399778912, 'portfolio_id': 29498746}, {'photo_id': 1399778896, 'portfolio_id': 29498746}, {'photo_id': 1399778893, 'portfolio_id': 29498746}, {'photo_id': 1399778890, 'portfolio_id': 29498746}, {'photo_id': 1399778873, 'portfolio_id': 29498746}, {'photo_id': 1399778871, 'portfolio_id': 29498746}, {'photo_id': 1399778868, 'portfolio_id': 29498746}, {'photo_id': 1399778866, 'portfolio_id': 29498746}, {'photo_id': 1399778859, 'portfolio_id': 29498746}, {'photo_id': 1399778856, 'portfolio_id': 29498746}, {'photo_id': 1399778841, 'portfolio_id': 29498746}, {'photo_id': 1399778838, 'portfolio_id': 29498746}, {'photo_id': 1399778837, 'portfolio_id': 29498746}, {'photo_id': 1399778836, 'portfolio_id': 29498746}, {'photo_id': 1399778835, 'portfolio_id': 29498746}, {'photo_id': 1399778787, 'portfolio_id': 29498746}, {'photo_id': 1399778785, 'portfolio_id': 29498746}, {'photo_id': 1399778783, 'portfolio_id': 29498746}, {'photo_id': 1399778781, 'portfolio_id': 29498746}, {'photo_id': 1399778757, 'portfolio_id': 29498746}, {'photo_id': 1399778744, 'portfolio_id': 29498746}, {'photo_id': 1399778705, 'portfolio_id': 29498746}, {'photo_id': 1399778702, 'portfolio_id': 29498746}, {'photo_id': 1399778699, 'portfolio_id': 29498746}] map_portfolio_id_photo_id: {29498746: [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699]} ##### 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.0189666748046875 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Dec 18 05:49:27 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 (29498746) 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 : 29498746 get user id for portfolio 29498746 get sub ptf for main ptf 29498746, type 3726 and hashtags ['Teint_Dans_La_Masse', 'metal', 'plastique', 'Carton_brun', 'Carton_gris', 'autre_refus', 'kraft', 'environnement', 'mal_croppe', 'flou', 'papier', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29498746 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','metal','plastique','Carton_brun','Carton_gris','autre_refus','kraft','environnement','mal_croppe','flou','papier','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29498746 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','metal','plastique','Carton_brun','Carton_gris','autre_refus','kraft','environnement','mal_croppe','flou','papier','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 29498746, 'sub_port_id': 29498761, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115099, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'flou': {'main_port_id': 29498746, 'sub_port_id': 29498762, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115100, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 29498746, 'sub_port_id': 29498763, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115101, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'papier': {'main_port_id': 29498746, 'sub_port_id': 29498764, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115102, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'autre_refus': {'main_port_id': 29498746, 'sub_port_id': 29498765, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115103, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'cartonnette': {'main_port_id': 29498746, 'sub_port_id': 29498766, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115104, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'kraft': {'main_port_id': 29498746, 'sub_port_id': 29498767, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115105, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'metal': {'main_port_id': 29498746, 'sub_port_id': 29498768, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115106, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'plastique': {'main_port_id': 29498746, 'sub_port_id': 29498769, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115107, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'mal_croppe': {'main_port_id': 29498746, 'sub_port_id': 29498770, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115108, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'Carton_gris': {'main_port_id': 29498746, 'sub_port_id': 29498771, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115109, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}, 'Carton_brun': {'main_port_id': 29498746, 'sub_port_id': 29498772, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115110, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29498761 , 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=29498746 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 (29498761) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498762 , 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=29498746 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 (29498762) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498763 , 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=29498746 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 (29498763) result : ((1399779664,), (1399779666,), (1399779668,), (1399779806,), (1399780088,), (1399780089,), (1399780177,), (1399780178,), (1399780179,), (1399780180,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498764 , 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=29498746 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 (29498764) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498765 , 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=29498746 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 (29498765) result : ((1399779042,), (1399779043,), (1399779054,), (1399779671,), (1399779807,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498766 , 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=29498746 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 (29498766) result : ((1399779045,), (1399779055,), (1399779958,), (1399780094,), (1399780096,), (1399780097,), (1399780098,), (1399780099,), (1399780181,), (1399780182,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498767 , 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=29498746 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 (29498767) result : ((1399779048,), (1399779808,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498768 , 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=29498746 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 (29498768) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498769 , 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=29498746 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 (29498769) result : ((1399780095,), (1399780107,), (1399780109,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498770 , 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=29498746 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 (29498770) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498771 , 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=29498746 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 (29498771) result : ((1399779673,), (1399780090,), (1399780091,), (1399780092,), (1399780093,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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 29498772 , 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=29498746 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 (29498772) result : ((1399779047,), (1399779674,), (1399780184,), (1399780185,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29498746) result : ((1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,)) 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`=29498746 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','metal','plastique','Carton_brun','Carton_gris','autre_refus','kraft','environnement','mal_croppe','flou','papier','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29498746 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','metal','plastique','Carton_brun','Carton_gris','autre_refus','kraft','environnement','mal_croppe','flou','papier','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 29498746, 'sub_port_id': 29498773, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115111, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'flou': {'main_port_id': 29498746, 'sub_port_id': 29498774, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115112, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 29498746, 'sub_port_id': 29498775, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115113, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'papier': {'main_port_id': 29498746, 'sub_port_id': 29498776, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115114, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'autre_refus': {'main_port_id': 29498746, 'sub_port_id': 29498777, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115115, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'cartonnette': {'main_port_id': 29498746, 'sub_port_id': 29498778, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115116, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'kraft': {'main_port_id': 29498746, 'sub_port_id': 29498779, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115117, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'metal': {'main_port_id': 29498746, 'sub_port_id': 29498780, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115118, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'plastique': {'main_port_id': 29498746, 'sub_port_id': 29498781, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115119, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'mal_croppe': {'main_port_id': 29498746, 'sub_port_id': 29498782, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115120, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'Carton_gris': {'main_port_id': 29498746, 'sub_port_id': 29498783, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115121, 'last_updated_at': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 12, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}, 'Carton_brun': {'main_port_id': 29498746, 'sub_port_id': 29498784, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20115122, 'last_updated_at': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 17, 14, 1, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 17, 12, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498773,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498761 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498774,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498762 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498775,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498763 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498776,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498764 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498777,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498765 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498778,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498766 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498779,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498767 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498780,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498768 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498781,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498769 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498782,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498770 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498783,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498771 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29498784,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29498772 lien utilise dans velours : https://marlene.fotonower.com/velours/29498773,29498774,29498775,29498776,29498777,29498778,29498779,29498780,29498781,29498782,29498783,29498784?tags=environnement,flou,Teint_Dans_La_Masse,papier,autre_refus,cartonnette,kraft,metal,plastique,mal_croppe,Carton_gris,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29498746]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] map_info['map_portfolio_photo'] : {29498746: [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699]} final : False mtd_id 4302 list_pids : [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] Looping around the photos to save general results len do output : 1 /29498746. 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, '4243977') ('4302', '29498746', '1399782312', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779768', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779469', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779415', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779412', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779035', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778923', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778921', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778912', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778896', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778893', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778890', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778873', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778871', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778868', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778866', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778859', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778856', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778841', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778838', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778837', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778836', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778835', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778787', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778785', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778783', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778781', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778757', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778744', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778705', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778702', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778699', None, None, None, None, None, '4243977') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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, '29498746', "{'environnement': 29498761, 'flou': 29498762, 'Teint_Dans_La_Masse': 29498763, 'papier': 29498764, 'autre_refus': 29498765, 'cartonnette': 29498766, 'kraft': 29498767, 'metal': 29498768, 'plastique': 29498769, 'mal_croppe': 29498770, 'Carton_gris': 29498771, 'Carton_brun': 29498772}", None, None, None, None, '4243977'), ('4302', '29498746', '1399782312', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779768', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779469', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779415', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779412', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779035', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778923', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778921', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778912', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778896', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778893', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778890', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778873', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778871', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778868', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778866', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778859', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778856', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778841', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778838', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778837', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778836', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778835', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778787', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778785', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778783', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778781', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778757', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778744', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778705', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778702', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778699', None, None, None, None, None, '4243977')] time used for this insertion : 0.02235126495361328 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8633768558502197 time spend to save output : 0.02277660369873047 total time spend for step 1 : 1.8861534595489502 step2:final Thu Dec 18 05:49: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 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 (29498746) 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 29498746 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1399778705,1399778702,1399778699,1399778757,1399778744,1399778787,1399778785,1399778783,1399778781,1399778896,1399778841,1399778893,1399778838,1399778890,1399778837,1399778836,1399778873,1399778835,1399778871,1399778868,1399778866,1399778859,1399778856,1399778923,1399778921,1399778912,1399779035,1399779415,1399779412,1399779469,1399782312,1399779768); 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([29498746]) Inside saveOutput : final : False verbose : True original output for save of step final : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} new output for save of step final : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] map_info['map_portfolio_photo'] : {29498746: [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699]} final : False mtd_id 4302 list_pids : [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] Looping around the photos to save general results len do output : 32 /1399782312.Didn't retrieve data . /1399779768.Didn't retrieve data . /1399779469.Didn't retrieve data . /1399779415.Didn't retrieve data . /1399779412.Didn't retrieve data . /1399779035.Didn't retrieve data . /1399778923.Didn't retrieve data . /1399778921.Didn't retrieve data . /1399778912.Didn't retrieve data . /1399778896.Didn't retrieve data . /1399778893.Didn't retrieve data . /1399778890.Didn't retrieve data . /1399778873.Didn't retrieve data . /1399778871.Didn't retrieve data . /1399778868.Didn't retrieve data . /1399778866.Didn't retrieve data . /1399778859.Didn't retrieve data . /1399778856.Didn't retrieve data . /1399778841.Didn't retrieve data . /1399778838.Didn't retrieve data . /1399778837.Didn't retrieve data . /1399778836.Didn't retrieve data . /1399778835.Didn't retrieve data . /1399778787.Didn't retrieve data . /1399778785.Didn't retrieve data . /1399778783.Didn't retrieve data . /1399778781.Didn't retrieve data . /1399778757.Didn't retrieve data . /1399778744.Didn't retrieve data . /1399778705.Didn't retrieve data . /1399778702.Didn't retrieve data . /1399778699.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, '4243977') ('4302', '29498746', '1399782312', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779768', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779469', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779415', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779412', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779035', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778923', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778921', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778912', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778896', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778893', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778890', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778873', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778871', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778868', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778866', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778859', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778856', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778841', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778838', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778837', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778836', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778835', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778787', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778785', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778783', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778781', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778757', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778744', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778705', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778702', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778699', None, None, None, None, None, '4243977') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 96 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', '29498746', '1399782312', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399779768', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399779469', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399779415', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399779412', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399779035', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778923', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778921', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778912', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778896', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778893', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778890', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778873', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778871', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778868', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778866', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778859', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778856', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778841', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778838', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778837', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778836', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778835', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778787', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778785', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778783', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778781', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778757', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778744', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778705', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778702', '0.060021877680669335', None, None, None, None, '4243977'), ('4302', '29498746', '1399778699', '0.060021877680669335', None, None, None, None, '4243977')] time used for this insertion : 0.040123939514160156 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08712458610534668 time spend to save output : 0.041387319564819336 total time spend for step 2 : 0.12851190567016602 step3:velours_tree Thu Dec 18 05:49: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 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 : {29498746: [{'environnement': 29498761, 'flou': 29498762, 'Teint_Dans_La_Masse': 29498763, 'papier': 29498764, 'autre_refus': 29498765, 'cartonnette': 29498766, 'kraft': 29498767, 'metal': 29498768, 'plastique': 29498769, 'mal_croppe': 29498770, 'Carton_gris': 29498771, 'Carton_brun': 29498772}]} input_args_next_step : {29498746: ()} output_args : {29498746: [{'environnement': 29498761, 'flou': 29498762, 'Teint_Dans_La_Masse': 29498763, 'papier': 29498764, 'autre_refus': 29498765, 'cartonnette': 29498766, 'kraft': 29498767, 'metal': 29498768, 'plastique': 29498769, 'mal_croppe': 29498770, 'Carton_gris': 29498771, 'Carton_brun': 29498772}]} args : 29498746 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 29498761, 'flou': 29498762, 'Teint_Dans_La_Masse': 29498763, 'papier': 29498764, 'autre_refus': 29498765, 'cartonnette': 29498766, 'kraft': 29498767, 'metal': 29498768, 'plastique': 29498769, 'mal_croppe': 29498770, 'Carton_gris': 29498771, 'Carton_brun': 29498772},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29498746) 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([29498746]) 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.31663942337036133 time spend to save output : 0.00010323524475097656 total time spend for step 3 : 0.3167426586151123 step4:send_mail_cod Thu Dec 18 05:49:30 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 : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} input_args_next_step : {1399782312: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399782312 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399779768 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399779469 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399779415 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399779412 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399779035 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778923 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778921 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778912 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778896 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778893 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778890 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778873 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778871 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778868 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778866 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778859 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778856 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778841 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778838 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778837 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778836 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778835 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778787 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778785 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778783 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778781 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778757 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778744 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778705 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778702 depend.output_id : 0 input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ()} output_args : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',)} args : 1399778699 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 : {29498746: [{'environnement': 29498761, 'flou': 29498762, 'Teint_Dans_La_Masse': 29498763, 'papier': 29498764, 'autre_refus': 29498765, 'cartonnette': 29498766, 'kraft': 29498767, 'metal': 29498768, 'plastique': 29498769, 'mal_croppe': 29498770, 'Carton_gris': 29498771, 'Carton_brun': 29498772}]} input_args_next_step : {1399782312: ('0.060021877680669335',), 1399779768: ('0.060021877680669335',), 1399779469: ('0.060021877680669335',), 1399779415: ('0.060021877680669335',), 1399779412: ('0.060021877680669335',), 1399779035: ('0.060021877680669335',), 1399778923: ('0.060021877680669335',), 1399778921: ('0.060021877680669335',), 1399778912: ('0.060021877680669335',), 1399778896: ('0.060021877680669335',), 1399778893: ('0.060021877680669335',), 1399778890: ('0.060021877680669335',), 1399778873: ('0.060021877680669335',), 1399778871: ('0.060021877680669335',), 1399778868: ('0.060021877680669335',), 1399778866: ('0.060021877680669335',), 1399778859: ('0.060021877680669335',), 1399778856: ('0.060021877680669335',), 1399778841: ('0.060021877680669335',), 1399778838: ('0.060021877680669335',), 1399778837: ('0.060021877680669335',), 1399778836: ('0.060021877680669335',), 1399778835: ('0.060021877680669335',), 1399778787: ('0.060021877680669335',), 1399778785: ('0.060021877680669335',), 1399778783: ('0.060021877680669335',), 1399778781: ('0.060021877680669335',), 1399778757: ('0.060021877680669335',), 1399778744: ('0.060021877680669335',), 1399778705: ('0.060021877680669335',), 1399778702: ('0.060021877680669335',), 1399778699: ('0.060021877680669335',), 29498746: ()} output_args : {29498746: [{'environnement': 29498761, 'flou': 29498762, 'Teint_Dans_La_Masse': 29498763, 'papier': 29498764, 'autre_refus': 29498765, 'cartonnette': 29498766, 'kraft': 29498767, 'metal': 29498768, 'plastique': 29498769, 'mal_croppe': 29498770, 'Carton_gris': 29498771, 'Carton_brun': 29498772}]} args : 29498746 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 :33, first value : ('0.060021877680669335',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29498746) 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 (1399782312,1399779768,1399779469,1399779415,1399779412,1399779035,1399778923,1399778921,1399778912,1399778896,1399778893,1399778890,1399778873,1399778871,1399778868,1399778866,1399778859,1399778856,1399778841,1399778838,1399778837,1399778836,1399778835,1399778787,1399778785,1399778783,1399778781,1399778757,1399778744,1399778705,1399778702,1399778699) Found this number of photos: 32 ##### Call download_photos : nb_thread : 5 begin to download photo : 1399778699 begin to download photo : 1399778785 begin to download photo : 1399778856 begin to download photo : 1399778893 begin to download photo : 1399779415 download finish for photo 1399778699 begin to download photo : 1399778702 download finish for photo 1399778856 begin to download photo : 1399778859 download finish for photo 1399779415 begin to download photo : 1399779469 download finish for photo 1399778785 begin to download photo : 1399778787 download finish for photo 1399778893 begin to download photo : 1399778896 download finish for photo 1399778702 begin to download photo : 1399778705 download finish for photo 1399778787 begin to download photo : 1399778835 download finish for photo 1399778859 begin to download photo : 1399778866 download finish for photo 1399779469 begin to download photo : 1399779768 download finish for photo 1399778705 begin to download photo : 1399778744 download finish for photo 1399778835 begin to download photo : 1399778836 download finish for photo 1399779768 begin to download photo : 1399782312 download finish for photo 1399778866 begin to download photo : 1399778868 download finish for photo 1399778896 begin to download photo : 1399778912 download finish for photo 1399778836 begin to download photo : 1399778837 download finish for photo 1399778744 begin to download photo : 1399778757 download finish for photo 1399778912 begin to download photo : 1399778921 download finish for photo 1399778868 begin to download photo : 1399778871 download finish for photo 1399782312 download finish for photo 1399778921 begin to download photo : 1399778923 download finish for photo 1399778837 begin to download photo : 1399778838 download finish for photo 1399778871 begin to download photo : 1399778873 download finish for photo 1399778757 begin to download photo : 1399778781 download finish for photo 1399778923 begin to download photo : 1399779035 download finish for photo 1399778838 begin to download photo : 1399778841 download finish for photo 1399778873 begin to download photo : 1399778890 download finish for photo 1399778781 begin to download photo : 1399778783 download finish for photo 1399778841 download finish for photo 1399779035 begin to download photo : 1399779412 download finish for photo 1399778890 download finish for photo 1399778783 download finish for photo 1399779412 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette294987621766033371/ length of list_filenames : 32 ; length of list_pids : 32 ; length of list_args : 32 results_Auto_P29498746_18-12-2025_05_49_31.pdf 29498762 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=29498762 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294987621766033371 29498765 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=29498765 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399779042: '1765969625_3950556_1399778783_9878d457ff2b8c02442c5b6b860a8758_rle_crop_4072767725_0.png', 1399779043: '1765969625_3950556_1399778781_e2866cbc4baccc66be6b134db141e32a_rle_crop_4072767733_0.png', 1399779054: '1765969647_3951377_1399778744_85e7fb51ab20d7fa63a96454967acb3d_rle_crop_4072767782_0.png', 1399779671: '1765969867_3962953_1399779035_f95f516bdf75fb22213a39a10c7dd162_rle_crop_4072768939_0.png', 1399779807: '1765970007_3970189_1399779469_f29b5b42d012e17608f417d6683b6802_rle_crop_4072769489_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29a166e8583fbe0a8292d0e4827caefb_71619546.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a1ed76b8878789cac24cea5542b839e_55908649.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eeed76ce588d75e1eaa0150b25f025f2_35886309.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5f9e88f559d4667a0d879cf4a8e10d3_29358251.png change filename to text .imagette294987651766033371/ imagette294987651766033371/1765969625_3950556_1399778783_9878d457ff2b8c02442c5b6b860a8758_rle_crop_4072767725_0.png.png imagette294987651766033371/1765969625_3950556_1399778781_e2866cbc4baccc66be6b134db141e32a_rle_crop_4072767733_0.png.png imagette294987651766033371/1765970007_3970189_1399779469_f29b5b42d012e17608f417d6683b6802_rle_crop_4072769489_0.png.png imagette294987651766033371/1765969647_3951377_1399778744_85e7fb51ab20d7fa63a96454967acb3d_rle_crop_4072767782_0.png.png imagette294987651766033371/1765969867_3962953_1399779035_f95f516bdf75fb22213a39a10c7dd162_rle_crop_4072768939_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fd2b83a94f6a0e29d5fda4d5a63da76_96534059.png imagette294987651766033371 29498766 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=29498766 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399779045: '1765969625_3950556_1399778783_9878d457ff2b8c02442c5b6b860a8758_rle_crop_4072767714_0.png', 1399779055: '1765969647_3951377_1399778744_85e7fb51ab20d7fa63a96454967acb3d_rle_crop_4072767787_0.png', 1399779958: '1765970107_3975091_1399778856_110b1cada60287b2ff85c699a3f2d94d_rle_crop_4072769780_0.png', 1399780094: '1765970247_3982390_1399778699_16c6d2f19370a73fcf7eeeaecb17b9a2_rle_crop_4072770636_0.png', 1399780096: '1765970227_3982016_1399778871_9eaa3d91adfc55f98796d54892f6b357_rle_crop_4072770518_0.png', 1399780097: '1765970227_3982016_1399778871_9eaa3d91adfc55f98796d54892f6b357_rle_crop_4072770519_0.png', 1399780098: '1765970227_3982016_1399778835_400d2b0d3d2ffae12b330e86e98b2607_rle_crop_4072770624_0.png', 1399780099: '1765970227_3982016_1399778835_400d2b0d3d2ffae12b330e86e98b2607_rle_crop_4072770625_0.png', 1399780181: '1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770824_0.png', 1399780182: '1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770837_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/200ecfad455c9e79685ab83786bad4e1_50629760.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbfb5fa07c15cbfcda34d0ea8ced710a_59790957.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5f83f640b410eee7b452fe8bea4a2a3_54979192.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f45356362ad1d7c16e55f3a0115930a_35329030.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afa94862b3d847366f6490fb2e276e28_32195422.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d987502d2d896ed6aba54cc75feec06_58368201.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afa94862b3d847366f6490fb2e276e28_500396.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d987502d2d896ed6aba54cc75feec06_46916424.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4857d13fd86ca0a23a7c170c33a8409_24605598.png change filename to text .imagette294987661766033372/ imagette294987661766033372/1765970227_3982016_1399778835_400d2b0d3d2ffae12b330e86e98b2607_rle_crop_4072770625_0.png.png imagette294987661766033372/1765969647_3951377_1399778744_85e7fb51ab20d7fa63a96454967acb3d_rle_crop_4072767787_0.png.png imagette294987661766033372/1765970227_3982016_1399778835_400d2b0d3d2ffae12b330e86e98b2607_rle_crop_4072770624_0.png.png imagette294987661766033372/1765970227_3982016_1399778871_9eaa3d91adfc55f98796d54892f6b357_rle_crop_4072770518_0.png.png imagette294987661766033372/1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770824_0.png.png imagette294987661766033372/1765970247_3982390_1399778699_16c6d2f19370a73fcf7eeeaecb17b9a2_rle_crop_4072770636_0.png.png imagette294987661766033372/1765969625_3950556_1399778783_9878d457ff2b8c02442c5b6b860a8758_rle_crop_4072767714_0.png.png imagette294987661766033372/1765970227_3982016_1399778871_9eaa3d91adfc55f98796d54892f6b357_rle_crop_4072770519_0.png.png imagette294987661766033372/1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770837_0.png.png imagette294987661766033372/1765970107_3975091_1399778856_110b1cada60287b2ff85c699a3f2d94d_rle_crop_4072769780_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4857d13fd86ca0a23a7c170c33a8409_37517331.png imagette294987661766033372 29498767 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=29498767 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399779048: '1765969625_3950556_1399778781_e2866cbc4baccc66be6b134db141e32a_rle_crop_4072767731_0.png', 1399779808: '1765970007_3970189_1399779412_22ec0795eb405cf827cb1bceae087ac1_rle_crop_4072769502_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fd07690522ac1c71a706c067cd44b1b_48229375.png change filename to text .imagette294987671766033373/ imagette294987671766033373/1765970007_3970189_1399779412_22ec0795eb405cf827cb1bceae087ac1_rle_crop_4072769502_0.png.png imagette294987671766033373/1765969625_3950556_1399778781_e2866cbc4baccc66be6b134db141e32a_rle_crop_4072767731_0.png.png imagette294987681766033373/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed884c2e407a076ae9ac18cda503e63d_86049471.png imagette294987671766033373 29498768 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=29498768 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294987681766033373 29498769 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=29498769 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399780095: '1765970247_3982390_1399778702_0b12762e0835693b837cdeaa06e688cd_rle_crop_4072770614_0.png', 1399780107: '1765970227_3982016_1399778873_ce929a099d75dd49fdb86872bec4edbc_rle_crop_4072770505_0.png', 1399780109: '1765970227_3982016_1399778836_03fc1e0172c6d0085b03cdccbbcec933_rle_crop_4072770601_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87638cf1349e5c7527da6b599c7d6ab7_39359122.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be2b27591f9cae489c073af00781b417_20479501.png change filename to text .imagette294987691766033373/ imagette294987691766033373/1765970247_3982390_1399778702_0b12762e0835693b837cdeaa06e688cd_rle_crop_4072770614_0.png.png imagette294987691766033373/1765970227_3982016_1399778873_ce929a099d75dd49fdb86872bec4edbc_rle_crop_4072770505_0.png.png imagette294987691766033373/1765970227_3982016_1399778836_03fc1e0172c6d0085b03cdccbbcec933_rle_crop_4072770601_0.png.png imagette294987701766033374/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be2b27591f9cae489c073af00781b417_1111483.png imagette294987691766033373 29498770 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=29498770 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294987701766033374 29498763 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=29498763 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399779664: '1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768955_0.png', 1399779666: '1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768964_0.png', 1399779668: '1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768956_0.png', 1399779806: '1765970007_3970189_1399779412_22ec0795eb405cf827cb1bceae087ac1_rle_crop_4072769504_0.png', 1399780088: '1765970247_3982390_1399778757_39b3b0f2d88e74d51be3d46b277d98e0_rle_crop_4072770584_0.png', 1399780089: '1765970247_3982390_1399778757_39b3b0f2d88e74d51be3d46b277d98e0_rle_crop_4072770586_0.png', 1399780177: '1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770829_0.png', 1399780178: '1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770830_0.png', 1399780179: '1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770842_0.png', 1399780180: '1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770843_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6124b5a4d49393fc55d6a46026cb7f02_656136.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7fec1d067ddcc62ab24ed909d624f07_48664273.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fadcb223adbcfaf199646f412685a4b4_59205467.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe1015e630e0806b326a8dd42d7920a3_40103215.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61ba8ded091c2e9fa8807272513d3af0_64164656.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/512bd1b766b9eb1b4d13ea8631930515_88987867.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa581063f797c46b4a8a5249618387b7_52673015.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7c3a2cd72167ad37b8d7911c010a054_15115631.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa581063f797c46b4a8a5249618387b7_38119493.png change filename to text .imagette294987631766033374/ imagette294987631766033374/1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770829_0.png.png imagette294987631766033374/1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768956_0.png.png imagette294987631766033374/1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770830_0.png.png imagette294987631766033374/1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768955_0.png.png imagette294987631766033374/1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768964_0.png.png imagette294987631766033374/1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770843_0.png.png imagette294987631766033374/1765970007_3970189_1399779412_22ec0795eb405cf827cb1bceae087ac1_rle_crop_4072769504_0.png.png imagette294987631766033374/1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770842_0.png.png imagette294987631766033374/1765970247_3982390_1399778757_39b3b0f2d88e74d51be3d46b277d98e0_rle_crop_4072770584_0.png.png imagette294987631766033374/1765970247_3982390_1399778757_39b3b0f2d88e74d51be3d46b277d98e0_rle_crop_4072770586_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7c3a2cd72167ad37b8d7911c010a054_89402377.png imagette294987631766033374 29498771 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=29498771 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399779673: '1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768957_0.png', 1399780090: '1765970227_3982016_1399778893_b7082dfce584a7a047560845b75526a0_rle_crop_4072770472_0.png', 1399780091: '1765970227_3982016_1399778890_f0348d3c77b6596e9bf3b931e13ad36a_rle_crop_4072770486_0.png', 1399780092: '1765970227_3982016_1399778838_3fccd7696b1a1026c9d9cb15d0d4fdd6_rle_crop_4072770549_0.png', 1399780093: '1765970227_3982016_1399778837_e4cac6449df87de5a80739191e99af35_rle_crop_4072770563_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c791e6c54ab21fc1328280e5bf3d5358_55305630.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afa760ab72edc77bc1aec0ef166d06ef_4154125.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b98547e7c17b62aaba127cfd300da30_31281791.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afa760ab72edc77bc1aec0ef166d06ef_17514738.png change filename to text .imagette294987711766033375/ imagette294987711766033375/1765970227_3982016_1399778838_3fccd7696b1a1026c9d9cb15d0d4fdd6_rle_crop_4072770549_0.png.png imagette294987711766033375/1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768957_0.png.png imagette294987711766033375/1765970227_3982016_1399778893_b7082dfce584a7a047560845b75526a0_rle_crop_4072770472_0.png.png imagette294987711766033375/1765970227_3982016_1399778890_f0348d3c77b6596e9bf3b931e13ad36a_rle_crop_4072770486_0.png.png imagette294987711766033375/1765970227_3982016_1399778837_e4cac6449df87de5a80739191e99af35_rle_crop_4072770563_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b98547e7c17b62aaba127cfd300da30_15888082.png imagette294987711766033375 29498772 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=29498772 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399779047: '1765969625_3950556_1399778783_9878d457ff2b8c02442c5b6b860a8758_rle_crop_4072767716_0.png', 1399779674: '1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768952_0.png', 1399780184: '1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770825_0.png', 1399780185: '1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770838_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b921fe03de2bb50ba18dfbd2da734788_39258110.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3964ea4947ad071e53750f316fb3d16a_44733445.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2ca6bd91fe2a51c77573b7004821284_35317463.png change filename to text .imagette294987721766033376/ imagette294987721766033376/1765970367_3988262_1399778896_463a842037c23826a60e26c9b93ad9ed_rle_crop_4072770825_0.png.png imagette294987721766033376/1765969625_3950556_1399778783_9878d457ff2b8c02442c5b6b860a8758_rle_crop_4072767716_0.png.png imagette294987721766033376/1765969867_3962953_1399778921_a04defd41b8a5583d37ed56e3afab346_rle_crop_4072768952_0.png.png imagette294987721766033376/1765970367_3988262_1399778841_61dd48fe174b84599bd0b9bae0bf16a3_rle_crop_4072770838_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2ca6bd91fe2a51c77573b7004821284_43758641.png imagette294987721766033376 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29498746 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29498773,29498774,29498775,29498776,29498777,29498778,29498779,29498780,29498781,29498782,29498783,29498784?tags=environnement,flou,Teint_Dans_La_Masse,papier,autre_refus,cartonnette,kraft,metal,plastique,mal_croppe,Carton_gris,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1399782312] : ('0.060021877680669335',) no score found for photo 1399782312 We are sending mail with results at report@fotonower.com args[1399779768] : ('0.060021877680669335',) no score found for photo 1399779768 We are sending mail with results at report@fotonower.com args[1399779469] : ('0.060021877680669335',) no score found for photo 1399779469 We are sending mail with results at report@fotonower.com args[1399779415] : ('0.060021877680669335',) no score found for photo 1399779415 We are sending mail with results at report@fotonower.com args[1399779412] : ('0.060021877680669335',) no score found for photo 1399779412 We are sending mail with results at report@fotonower.com args[1399779035] : ('0.060021877680669335',) no score found for photo 1399779035 We are sending mail with results at report@fotonower.com args[1399778923] : ('0.060021877680669335',) no score found for photo 1399778923 We are sending mail with results at report@fotonower.com args[1399778921] : ('0.060021877680669335',) no score found for photo 1399778921 We are sending mail with results at report@fotonower.com args[1399778912] : ('0.060021877680669335',) no score found for photo 1399778912 We are sending mail with results at report@fotonower.com args[1399778896] : ('0.060021877680669335',) no score found for photo 1399778896 We are sending mail with results at report@fotonower.com args[1399778893] : ('0.060021877680669335',) no score found for photo 1399778893 We are sending mail with results at report@fotonower.com args[1399778890] : ('0.060021877680669335',) no score found for photo 1399778890 We are sending mail with results at report@fotonower.com args[1399778873] : ('0.060021877680669335',) no score found for photo 1399778873 We are sending mail with results at report@fotonower.com args[1399778871] : ('0.060021877680669335',) no score found for photo 1399778871 We are sending mail with results at report@fotonower.com args[1399778868] : ('0.060021877680669335',) no score found for photo 1399778868 We are sending mail with results at report@fotonower.com args[1399778866] : ('0.060021877680669335',) no score found for photo 1399778866 We are sending mail with results at report@fotonower.com args[1399778859] : ('0.060021877680669335',) no score found for photo 1399778859 We are sending mail with results at report@fotonower.com args[1399778856] : ('0.060021877680669335',) no score found for photo 1399778856 We are sending mail with results at report@fotonower.com args[1399778841] : ('0.060021877680669335',) no score found for photo 1399778841 We are sending mail with results at report@fotonower.com args[1399778838] : ('0.060021877680669335',) no score found for photo 1399778838 We are sending mail with results at report@fotonower.com args[1399778837] : ('0.060021877680669335',) no score found for photo 1399778837 We are sending mail with results at report@fotonower.com args[1399778836] : ('0.060021877680669335',) no score found for photo 1399778836 We are sending mail with results at report@fotonower.com args[1399778835] : ('0.060021877680669335',) no score found for photo 1399778835 We are sending mail with results at report@fotonower.com args[1399778787] : ('0.060021877680669335',) no score found for photo 1399778787 We are sending mail with results at report@fotonower.com args[1399778785] : ('0.060021877680669335',) no score found for photo 1399778785 We are sending mail with results at report@fotonower.com args[1399778783] : ('0.060021877680669335',) no score found for photo 1399778783 We are sending mail with results at report@fotonower.com args[1399778781] : ('0.060021877680669335',) no score found for photo 1399778781 We are sending mail with results at report@fotonower.com args[1399778757] : ('0.060021877680669335',) no score found for photo 1399778757 We are sending mail with results at report@fotonower.com args[1399778744] : ('0.060021877680669335',) no score found for photo 1399778744 We are sending mail with results at report@fotonower.com args[1399778705] : ('0.060021877680669335',) no score found for photo 1399778705 We are sending mail with results at report@fotonower.com args[1399778702] : ('0.060021877680669335',) no score found for photo 1399778702 We are sending mail with results at report@fotonower.com args[1399778699] : ('0.060021877680669335',) no score found for photo 1399778699 We are sending mail with results at report@fotonower.com refus_total : 0.060021877680669335 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=29498746 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_P29498746_18-12-2025_05_49_31.pdf results_Auto_P29498746_18-12-2025_05_49_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498746_18-12-2025_05_49_31.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','29498746','results_Auto_P29498746_18-12-2025_05_49_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498746_18-12-2025_05_49_31.pdf','pdf','','0.34','0.060021877680669335') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29498746]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] map_info['map_portfolio_photo'] : {29498746: [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699]} final : False mtd_id 4302 list_pids : [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] 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, '4243977') ('4302', '29498746', '1399782312', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779768', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779469', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779415', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779412', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779035', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778923', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778921', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778912', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778896', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778893', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778890', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778873', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778871', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778868', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778866', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778859', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778856', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778841', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778838', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778837', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778836', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778835', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778787', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778785', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778783', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778781', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778757', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778744', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778705', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778702', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778699', None, None, None, None, None, '4243977') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 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', '29498746', '1399782312', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779768', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779469', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779415', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779412', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779035', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778923', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778921', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778912', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778896', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778893', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778890', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778873', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778871', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778868', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778866', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778859', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778856', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778841', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778838', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778837', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778836', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778835', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778787', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778785', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778783', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778781', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778757', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778744', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778705', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778702', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778699', None, None, None, None, None, '4243977')] time used for this insertion : 0.02160167694091797 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.809099435806274 time spend to save output : 0.02201390266418457 total time spend for step 4 : 8.831113338470459 step5:split_time_score Thu Dec 18 05:49:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29498746'] 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 : [('29498746',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29498746) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1399779415: {'path': 'temp/1766033370_2528861_1399779415_bff3e971417bd0e504acdc401586dbf5.jpg', 'extension': 'jpg'}, 1399779469: {'path': 'temp/1766033370_2528861_1399779469_f29b5b42d012e17608f417d6683b6802.jpg', 'extension': 'jpg'}, 1399779768: {'path': 'temp/1766033370_2528861_1399779768_5e5511c39af3e32650e398bbc5d9a8da.jpg', 'extension': 'jpg'}, 1399782312: {'path': 'temp/1766033370_2528861_1399782312_28e7e521e6308bc1efa014b55cd2232c.jpg', 'extension': 'jpg'}, 1399778785: {'path': 'temp/1766033370_2528861_1399778785_2d91586b52d88769d22e88a96de7b960.jpg', 'extension': 'jpg'}, 1399778787: {'path': 'temp/1766033370_2528861_1399778787_9aef9d2541ea9dc331c18198cc77ad3b.jpg', 'extension': 'jpg'}, 1399778835: {'path': 'temp/1766033370_2528861_1399778835_400d2b0d3d2ffae12b330e86e98b2607.jpg', 'extension': 'jpg'}, 1399778836: {'path': 'temp/1766033370_2528861_1399778836_03fc1e0172c6d0085b03cdccbbcec933.jpg', 'extension': 'jpg'}, 1399778837: {'path': 'temp/1766033370_2528861_1399778837_e4cac6449df87de5a80739191e99af35.jpg', 'extension': 'jpg'}, 1399778838: {'path': 'temp/1766033370_2528861_1399778838_3fccd7696b1a1026c9d9cb15d0d4fdd6.jpg', 'extension': 'jpg'}, 1399778841: {'path': 'temp/1766033370_2528861_1399778841_61dd48fe174b84599bd0b9bae0bf16a3.jpg', 'extension': 'jpg'}, 1399778856: {'path': 'temp/1766033370_2528861_1399778856_110b1cada60287b2ff85c699a3f2d94d.jpg', 'extension': 'jpg'}, 1399778859: {'path': 'temp/1766033370_2528861_1399778859_bb2084af903a64b716bddf083ad5c8c5.jpg', 'extension': 'jpg'}, 1399778866: {'path': 'temp/1766033370_2528861_1399778866_6a59d7bf1db30abc087b943f2bec1217.jpg', 'extension': 'jpg'}, 1399778868: {'path': 'temp/1766033370_2528861_1399778868_638b11f3e9732a67decfbf2184c1cc30.jpg', 'extension': 'jpg'}, 1399778871: {'path': 'temp/1766033370_2528861_1399778871_9eaa3d91adfc55f98796d54892f6b357.jpg', 'extension': 'jpg'}, 1399778873: {'path': 'temp/1766033370_2528861_1399778873_ce929a099d75dd49fdb86872bec4edbc.jpg', 'extension': 'jpg'}, 1399778890: {'path': 'temp/1766033370_2528861_1399778890_f0348d3c77b6596e9bf3b931e13ad36a.jpg', 'extension': 'jpg'}, 1399778699: {'path': 'temp/1766033370_2528861_1399778699_16c6d2f19370a73fcf7eeeaecb17b9a2.jpg', 'extension': 'jpg'}, 1399778702: {'path': 'temp/1766033370_2528861_1399778702_0b12762e0835693b837cdeaa06e688cd.jpg', 'extension': 'jpg'}, 1399778705: {'path': 'temp/1766033370_2528861_1399778705_81e299b1b8b9cc8c98b2e858c7f29b59.jpg', 'extension': 'jpg'}, 1399778744: {'path': 'temp/1766033370_2528861_1399778744_85e7fb51ab20d7fa63a96454967acb3d.jpg', 'extension': 'jpg'}, 1399778757: {'path': 'temp/1766033370_2528861_1399778757_39b3b0f2d88e74d51be3d46b277d98e0.jpg', 'extension': 'jpg'}, 1399778781: {'path': 'temp/1766033370_2528861_1399778781_e2866cbc4baccc66be6b134db141e32a.jpg', 'extension': 'jpg'}, 1399778783: {'path': 'temp/1766033370_2528861_1399778783_9878d457ff2b8c02442c5b6b860a8758.jpg', 'extension': 'jpg'}, 1399778893: {'path': 'temp/1766033370_2528861_1399778893_b7082dfce584a7a047560845b75526a0.jpg', 'extension': 'jpg'}, 1399778896: {'path': 'temp/1766033370_2528861_1399778896_463a842037c23826a60e26c9b93ad9ed.jpg', 'extension': 'jpg'}, 1399778912: {'path': 'temp/1766033370_2528861_1399778912_435dd199e1316bffeb042627d7f7b899.jpg', 'extension': 'jpg'}, 1399778921: {'path': 'temp/1766033370_2528861_1399778921_a04defd41b8a5583d37ed56e3afab346.jpg', 'extension': 'jpg'}, 1399778923: {'path': 'temp/1766033370_2528861_1399778923_c36a63765edb9b28b0c7298988772152.jpg', 'extension': 'jpg'}, 1399779035: {'path': 'temp/1766033370_2528861_1399779035_f95f516bdf75fb22213a39a10c7dd162.jpg', 'extension': 'jpg'}, 1399779412: {'path': 'temp/1766033370_2528861_1399779412_22ec0795eb405cf827cb1bceae087ac1.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 = 29498746; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29498746 group by h (('12', 32),) 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=29498746 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 (29498746) 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 (29498746) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17122025 29498746 Nombre de photos uploadées : 32 / 23040 (0%) 17122025 29498746 Nombre de photos taguées (types de déchets): 0 / 32 (0%) 17122025 29498746 Nombre de photos taguées (volume) : 0 / 32 (0%) [{'photo_id': 1399778705, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81e299b1b8b9cc8c98b2e858c7f29b59.jpg', 'username': None, 'uploaded_at': 1765969268, 'text': 'image_17122025_12_00_14_010215m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1399778702, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b12762e0835693b837cdeaa06e688cd.jpg', 'username': None, 'uploaded_at': 1765969268, 'text': 'image_17122025_12_00_24_010145m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399778699, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16c6d2f19370a73fcf7eeeaecb17b9a2.jpg', 'username': None, 'uploaded_at': 1765969268, 'text': 'image_17122025_12_00_34_010148m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399778757, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39b3b0f2d88e74d51be3d46b277d98e0.jpg', 'username': None, 'uploaded_at': 1765969327, 'text': 'image_17122025_12_00_45_010142m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015149116516113281 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29498746, '2025-12-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-12-17' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2748388,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.35141515731811523 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= 2748388 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29485245, 'dashboard_result_id': 18501256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485245_18-12-2025_05_34_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485257, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29485330, 'dashboard_result_id': 18501257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485330_18-12-2025_05_35_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485342, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29486151, 'dashboard_result_id': 18501258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486151_18-12-2025_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486167, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29486387, 'dashboard_result_id': 18501259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486387_18-12-2025_05_36_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29486392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486403, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29486785, 'dashboard_result_id': 18501260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486785_18-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486800, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29487088, 'dashboard_result_id': 18501261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487088_18-12-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487108, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29487491, 'dashboard_result_id': 18501262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487491_18-12-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487506, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29488001, 'dashboard_result_id': 18501263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_18-12-2025_05_38_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488013, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29488439, 'dashboard_result_id': 18501264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488439_18-12-2025_05_39_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488454, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29488957, 'dashboard_result_id': 18501265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488957_18-12-2025_05_39_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488976, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29489376, 'dashboard_result_id': 18501266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489376_18-12-2025_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29489402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29489403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29489404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29489405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29489406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29489407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29489408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29489409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29489410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29489411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29489412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29489413, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29489974, 'dashboard_result_id': 18501267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489974_18-12-2025_05_40_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490018, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29490515, 'dashboard_result_id': 18501268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29490515_18-12-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490552, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29491177, 'dashboard_result_id': 18501269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491177_18-12-2025_05_41_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29491180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29491181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29491182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29491183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29491184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29491185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29491186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29491187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29491188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29491189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29491190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29491191, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29491559, 'dashboard_result_id': 18501270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491559_18-12-2025_05_42_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29491584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29491585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29491586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29491587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29491588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29491589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29491590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29491591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29491592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29491593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29491594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29491595, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29492179, 'dashboard_result_id': 18501271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492179_18-12-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29492183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29492184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29492185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29492186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29492187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29492188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29492189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29492190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29492191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29492192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29492193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29492194, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29492555, 'dashboard_result_id': 18501272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492555_18-12-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29492583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29492584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29492585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29492586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29492587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29492588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29492589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29492590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29492591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29492592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29492593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29492594, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29493108, 'dashboard_result_id': 18501273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29493108_18-12-2025_05_44_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29493134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29493135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29493136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29493137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29493138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29493139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29493140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29493141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29493142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29493143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29493144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29493145, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29494104, 'dashboard_result_id': 18501274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494104_18-12-2025_05_44_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29494113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494123, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29494438, 'dashboard_result_id': 18501275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494438_18-12-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29494454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494456, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29494773, 'dashboard_result_id': 18501276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494773_18-12-2025_05_45_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29494790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494801, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29495425, 'dashboard_result_id': 18501277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495425_18-12-2025_05_46_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29495433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29495434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29495435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29495436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29495437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29495438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29495439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29495440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29495441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29495442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29495443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29495444, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29495864, 'dashboard_result_id': 18501278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495864_18-12-2025_05_46_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29495907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29495908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29495909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29495910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29495911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29495912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29495913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29495914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29495915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29495916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29495917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29495918, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29496570, 'dashboard_result_id': 18501279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29496570_18-12-2025_05_46_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29496571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29496572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29496573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29496574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29496575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29496576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29496577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29496578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29496579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29496580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29496581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29496582, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29497550, 'dashboard_result_id': 18501280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497550_18-12-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29497553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29497554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29497555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29497556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29497557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29497558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29497559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29497560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29497561, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29497562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29497563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29497564, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29497780, 'dashboard_result_id': 18501281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497780_18-12-2025_05_48_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29497797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29497798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29497799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29497800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29497801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29497802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29497803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29497804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29497805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29497806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29497807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29497808, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29498331, 'dashboard_result_id': 18501282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498331_18-12-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29498335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29498336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29498337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29498338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29498339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29498340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29498341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29498342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29498343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29498344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29498345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29498346, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29498746, 'dashboard_result_id': 18501283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498746_17-12-2025_14_01_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29498761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29498762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29498763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29498764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29498765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29498766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29498767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29498768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29498769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29498770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29498771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29498772, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29499437, 'dashboard_result_id': 18501284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499437_17-12-2025_13_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29499438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29499439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29499440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29499441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29499442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29499443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29499444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29499445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29499446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29499447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29499448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29499449, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29499809, 'dashboard_result_id': 18501285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499809_17-12-2025_14_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29499811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29499812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29499813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29499814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29499815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29499816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29499817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29499818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29499819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29499820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29499821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29499822, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29500190, 'dashboard_result_id': 18501286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500190_17-12-2025_14_19_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29500203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29500204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29500205, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29500206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29500207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29500208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29500209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29500210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29500211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29500212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29500213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29500214, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29500777, 'dashboard_result_id': 18501287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500777_17-12-2025_14_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29500782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29500783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29500784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29500785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29500786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29500787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29500788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29500789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29500790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29500791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29500792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29500793, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29501317, 'dashboard_result_id': 18501288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501317_17-12-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29501372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29501373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29501374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29501375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29501376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29501377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29501378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29501379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29501380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29501381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29501382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29501383, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29501873, 'dashboard_result_id': 18501289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501873_17-12-2025_15_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29501882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29501883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29501884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29501885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29501886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29501887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29501888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29501889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29501890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29501891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29501892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29501893, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29502422, 'dashboard_result_id': 18501290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502422_17-12-2025_15_16_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29502426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29502427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29502428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29502430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29502431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29502432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29502433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29502434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29502435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29502436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29502437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29502438, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29502768, 'dashboard_result_id': 18501291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502768_17-12-2025_15_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29502770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29502771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29502772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29502773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29502774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29502775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29502776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29502777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29502778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29502779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29502780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29502781, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29503062, 'dashboard_result_id': 18501292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503062_17-12-2025_16_07_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503076, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29503383, 'dashboard_result_id': 18501293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503383_17-12-2025_16_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503398, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29503674, 'dashboard_result_id': 18501294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503674_17-12-2025_16_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503690, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29504071, 'dashboard_result_id': 18501295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504071_17-12-2025_16_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504116, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29504554, 'dashboard_result_id': 18501296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504554_17-12-2025_17_07_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504590, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29504935, 'dashboard_result_id': 18501297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504935_17-12-2025_17_16_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504951, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29505354, 'dashboard_result_id': 18501298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29505354_17-12-2025_18_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29505359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29505360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29505361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29505362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29505363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29505364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29505365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29505366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29505367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29505368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29505369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29505370, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29506270, 'dashboard_result_id': 18501299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506270_17-12-2025_18_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29506276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29506277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29506278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29506279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29506281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29506282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29506283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29506284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29506285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29506286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29506287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29506288, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29506681, 'dashboard_result_id': 18501300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506681_17-12-2025_18_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29506686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29506687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29506688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29506689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29506690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29506691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29506692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29506693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29506694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29506695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29506696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29506697, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29507142, 'dashboard_result_id': 18501301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507142_17-12-2025_18_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29507157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29507158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29507159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29507160, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29507161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29507162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29507163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29507164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29507165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29507166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29507167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29507168, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29507712, 'dashboard_result_id': 18501302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507712_17-12-2025_19_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29507721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29507722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29507723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29507724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29507725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29507726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29507727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29507728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29507729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29507730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29507731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29507732, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29508122, 'dashboard_result_id': 18501303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508122_17-12-2025_19_19_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29508139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29508140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29508141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29508142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29508143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29508144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29508145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29508146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29508147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29508148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29508149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29508150, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29508787, 'dashboard_result_id': 18501304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508787_17-12-2025_19_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29508795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29508796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29508797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29508798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29508799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29508800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29508801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29508802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29508803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29508804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29508805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29508806, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29509290, 'dashboard_result_id': 18501305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509290_17-12-2025_19_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29509296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29509297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29509298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29509299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29509300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29509301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29509302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29509303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29509304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29509305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29509306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29509307, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29509667, 'dashboard_result_id': 18501306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509667_17-12-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29509675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29509676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29509677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29509678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29509679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29509680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29509681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29509682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29509683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29509684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29509685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29509686, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29510002, 'dashboard_result_id': 18501307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510002_17-12-2025_20_19_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29510017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29510018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29510019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29510020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29510021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29510022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29510023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29510024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29510025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29510026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29510027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29510028, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29510697, 'dashboard_result_id': 18501308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510697_17-12-2025_20_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29510729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29510730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29510731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29510732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29510733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29510734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29510735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29510736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29510737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29510738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29510739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29510740, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29511131, 'dashboard_result_id': 18501309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511131_17-12-2025_21_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29511147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29511148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29511149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29511150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29511151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29511152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29511153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29511154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29511155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29511156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29511157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29511158, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29511952, 'dashboard_result_id': 18501310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511952_17-12-2025_21_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29511954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29511955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29511956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29511957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29511958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29511959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29511960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29511961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29511962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29511963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29511964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29511965, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29512196, 'dashboard_result_id': 18501311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512196_17-12-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512211, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29512513, 'dashboard_result_id': 18501312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512513_17-12-2025_21_49_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512534, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29512927, 'dashboard_result_id': 18501313, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512927_17-12-2025_22_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512942, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29513291, 'dashboard_result_id': 18501314, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513291_17-12-2025_22_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29513333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29513334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29513335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29513336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29513337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29513338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29513339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29513340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29513341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29513342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29513343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29513344, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29513930, 'dashboard_result_id': 18501315, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513930_17-12-2025_22_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29513938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29513939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29513940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29513941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29513942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29513944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29513945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29513946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29513947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29513948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29513949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29513950, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29514471, 'dashboard_result_id': 18501316, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29514471_17-12-2025_22_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29514503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29514504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29514505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29514506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29514507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29514508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29514509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29514510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29514511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29514512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29514513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29514514, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29515048, 'dashboard_result_id': 18501317, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515048_17-12-2025_23_03_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29515052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29515053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29515054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29515055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29515056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29515057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29515058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29515059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29515060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29515061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29515062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29515063, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29515690, 'dashboard_result_id': 18501318, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515690_17-12-2025_23_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29515694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29515695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29515696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29515697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29515698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29515699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29515700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29515701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29515702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29515703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29515704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29515705, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29516316, 'dashboard_result_id': 18501319, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516316_17-12-2025_23_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29516321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29516322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29516323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29516324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29516325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29516326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29516327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29516328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29516329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29516330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29516331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29516332, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29516991, 'dashboard_result_id': 18501320, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516991_17-12-2025_23_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29516995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29516996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29516997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29516998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29516999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29517000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29517001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29517002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29517003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29517004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29517005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29517006, 'pht': 3726}}"}, {'dashboat_entry_day': 2748388, 'dashboard_run_id': 2762662, 'mtr_portfolio_id': 29517462, 'dashboard_result_id': 18501321, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29517462_18-12-2025_00_50_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29517470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29517472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29517473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29517474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29517475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29517476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29517477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29517478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29517479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29517480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29517481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29517482, '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 = 29485245 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': 4243950, 'mtr_portfolio_id': 29485245, 'created_at': datetime.datetime(2025, 12, 18, 5, 34, 28), 'result': '0.02842152714867772', 'result_long': None, 'result_double': None}] Qualite : 0.02842152714867772 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29485245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485245_18-12-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29485245 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485245_18-12-2025_05_34_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485257, 'pht': 3726}}" where mtr_portfolio_id = 29485245 and dashboard_run_id = 2762662 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`=29485245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501256, 0.02842152714867772, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485245_18-12-2025_05_34_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485252, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485257, '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 = 29485330 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': 4243951, 'mtr_portfolio_id': 29485330, 'created_at': datetime.datetime(2025, 12, 18, 5, 35, 27), 'result': '0.07549590350533569', 'result_long': None, 'result_double': None}] Qualite : 0.07549590350533569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29485330 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485330_18-12-2025_05_35_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29485330 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485330_18-12-2025_05_35_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485342, 'pht': 3726}}" where mtr_portfolio_id = 29485330 and dashboard_run_id = 2762662 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`=29485330 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501257, 0.07549590350533569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29485330_18-12-2025_05_35_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29485331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29485332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29485333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29485334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29485335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29485336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29485337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29485338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29485339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29485340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29485341, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29485342, '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 = 29486151 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': 4243952, 'mtr_portfolio_id': 29486151, 'created_at': datetime.datetime(2025, 12, 18, 5, 35, 31), 'result': '0.03183617600169805', 'result_long': None, 'result_double': None}] Qualite : 0.03183617600169805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29486151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486151_18-12-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29486151 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486151_18-12-2025_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486167, 'pht': 3726}}" where mtr_portfolio_id = 29486151 and dashboard_run_id = 2762662 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`=29486151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501258, 0.03183617600169805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486151_18-12-2025_05_35_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486160, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486166, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486167, '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 = 29486387 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': 4243953, 'mtr_portfolio_id': 29486387, 'created_at': datetime.datetime(2025, 12, 18, 5, 35, 57), 'result': '0.0324798333062245', 'result_long': None, 'result_double': None}] Qualite : 0.0324798333062245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29486387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486387_18-12-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29486387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486387_18-12-2025_05_36_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29486392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486403, 'pht': 3726}}" where mtr_portfolio_id = 29486387 and dashboard_run_id = 2762662 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`=29486387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501259, 0.0324798333062245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486387_18-12-2025_05_36_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29486392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486395, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486403, '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 = 29486785 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': 4243954, 'mtr_portfolio_id': 29486785, 'created_at': datetime.datetime(2025, 12, 18, 5, 36, 7), 'result': '0.05201869709353735', 'result_long': None, 'result_double': None}] Qualite : 0.05201869709353735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29486785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486785_18-12-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29486785 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486785_18-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486800, 'pht': 3726}}" where mtr_portfolio_id = 29486785 and dashboard_run_id = 2762662 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`=29486785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501260, 0.05201869709353735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29486785_18-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29486789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29486790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29486791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29486792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29486793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29486794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29486795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29486796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29486797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29486798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29486799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29486800, '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 = 29487088 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': 4243955, 'mtr_portfolio_id': 29487088, 'created_at': datetime.datetime(2025, 12, 18, 5, 37), 'result': '0.06342648130902305', 'result_long': None, 'result_double': None}] Qualite : 0.06342648130902305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29487088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487088_18-12-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29487088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487088_18-12-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487108, 'pht': 3726}}" where mtr_portfolio_id = 29487088 and dashboard_run_id = 2762662 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`=29487088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501261, 0.06342648130902305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487088_18-12-2025_05_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487098, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487105, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487108, '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 = 29487491 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': 4243956, 'mtr_portfolio_id': 29487491, 'created_at': datetime.datetime(2025, 12, 18, 5, 37, 31), 'result': '0.04661846688907468', 'result_long': None, 'result_double': None}] Qualite : 0.04661846688907468 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29487491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487491_18-12-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29487491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487491_18-12-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487506, 'pht': 3726}}" where mtr_portfolio_id = 29487491 and dashboard_run_id = 2762662 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`=29487491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501262, 0.04661846688907468, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29487491_18-12-2025_05_37_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29487495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29487496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29487497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29487498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29487499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29487500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29487502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29487503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29487504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29487505, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29487506, '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 = 29488001 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': 4243957, 'mtr_portfolio_id': 29488001, 'created_at': datetime.datetime(2025, 12, 18, 5, 38), 'result': '0.06161135460556961', 'result_long': None, 'result_double': None}] Qualite : 0.06161135460556961 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29488001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_18-12-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29488001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_18-12-2025_05_38_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488013, 'pht': 3726}}" where mtr_portfolio_id = 29488001 and dashboard_run_id = 2762662 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`=29488001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501263, 0.06161135460556961, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488001_18-12-2025_05_38_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488007, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488009, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488013, '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 = 29488439 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': 4243958, 'mtr_portfolio_id': 29488439, 'created_at': datetime.datetime(2025, 12, 18, 5, 39, 1), 'result': '0.0543794705654049', 'result_long': None, 'result_double': None}] Qualite : 0.0543794705654049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29488439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488439_18-12-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29488439 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488439_18-12-2025_05_39_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488454, 'pht': 3726}}" where mtr_portfolio_id = 29488439 and dashboard_run_id = 2762662 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`=29488439 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501264, 0.0543794705654049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488439_18-12-2025_05_39_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488443, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488444, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488449, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488454, '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 = 29488957 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': 4243959, 'mtr_portfolio_id': 29488957, 'created_at': datetime.datetime(2025, 12, 18, 5, 39, 29), 'result': '0.0594538436661948', 'result_long': None, 'result_double': None}] Qualite : 0.0594538436661948 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29488957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488957_18-12-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29488957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488957_18-12-2025_05_39_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488976, 'pht': 3726}}" where mtr_portfolio_id = 29488957 and dashboard_run_id = 2762662 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`=29488957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501265, 0.0594538436661948, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29488957_18-12-2025_05_39_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29488965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29488966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29488967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29488968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29488969, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29488970, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29488971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29488972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29488973, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29488974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29488975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29488976, '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 = 29489376 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': 4243960, 'mtr_portfolio_id': 29489376, 'created_at': datetime.datetime(2025, 12, 18, 5, 39, 58), 'result': '0.04934211995682551', 'result_long': None, 'result_double': None}] Qualite : 0.04934211995682551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29489376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489376_18-12-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29489376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489376_18-12-2025_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29489402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29489403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29489404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29489405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29489406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29489407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29489408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29489409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29489410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29489411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29489412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29489413, 'pht': 3726}}" where mtr_portfolio_id = 29489376 and dashboard_run_id = 2762662 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`=29489376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501266, 0.04934211995682551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489376_18-12-2025_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29489402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29489403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29489404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29489405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29489406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29489407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29489408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29489409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29489410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29489411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29489412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29489413, '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 = 29489974 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': 4243961, 'mtr_portfolio_id': 29489974, 'created_at': datetime.datetime(2025, 12, 18, 5, 40, 27), 'result': '0.04098464483497326', 'result_long': None, 'result_double': None}] Qualite : 0.04098464483497326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29489974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489974_18-12-2025_05_40_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29489974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489974_18-12-2025_05_40_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490018, 'pht': 3726}}" where mtr_portfolio_id = 29489974 and dashboard_run_id = 2762662 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`=29489974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501267, 0.04098464483497326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29489974_18-12-2025_05_40_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490012, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490013, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490018, '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 = 29490515 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': 4243962, 'mtr_portfolio_id': 29490515, 'created_at': datetime.datetime(2025, 12, 18, 5, 41, 8), 'result': '0.03883177061426892', 'result_long': None, 'result_double': None}] Qualite : 0.03883177061426892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29490515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29490515_18-12-2025_05_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29490515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29490515_18-12-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490552, 'pht': 3726}}" where mtr_portfolio_id = 29490515 and dashboard_run_id = 2762662 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`=29490515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501268, 0.03883177061426892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29490515_18-12-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29490541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29490542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29490543, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29490544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29490545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29490546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29490547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29490548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29490549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29490550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29490551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29490552, '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 = 29491177 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': 4243963, 'mtr_portfolio_id': 29491177, 'created_at': datetime.datetime(2025, 12, 18, 5, 41, 30), 'result': '0.04865115988114579', 'result_long': None, 'result_double': None}] Qualite : 0.04865115988114579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29491177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491177_18-12-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29491177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491177_18-12-2025_05_41_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29491180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29491181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29491182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29491183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29491184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29491185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29491186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29491187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29491188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29491189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29491190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29491191, 'pht': 3726}}" where mtr_portfolio_id = 29491177 and dashboard_run_id = 2762662 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`=29491177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501269, 0.04865115988114579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491177_18-12-2025_05_41_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29491180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29491181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29491182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29491183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29491184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29491185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29491186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29491187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29491188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29491189, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29491190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29491191, '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 = 29491559 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': 4243964, 'mtr_portfolio_id': 29491559, 'created_at': datetime.datetime(2025, 12, 18, 5, 42, 2), 'result': '0.03174155352924015', 'result_long': None, 'result_double': None}] Qualite : 0.03174155352924015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29491559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491559_18-12-2025_05_42_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29491559 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491559_18-12-2025_05_42_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29491584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29491585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29491586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29491587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29491588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29491589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29491590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29491591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29491592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29491593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29491594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29491595, 'pht': 3726}}" where mtr_portfolio_id = 29491559 and dashboard_run_id = 2762662 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`=29491559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501270, 0.03174155352924015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29491559_18-12-2025_05_42_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29491584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29491585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29491586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29491587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29491588, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29491589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29491590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29491591, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29491592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29491593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29491594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29491595, '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 = 29492179 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': 4243965, 'mtr_portfolio_id': 29492179, 'created_at': datetime.datetime(2025, 12, 18, 5, 42, 29), 'result': '0.03925103593470565', 'result_long': None, 'result_double': None}] Qualite : 0.03925103593470565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29492179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492179_18-12-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29492179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492179_18-12-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29492183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29492184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29492185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29492186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29492187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29492188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29492189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29492190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29492191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29492192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29492193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29492194, 'pht': 3726}}" where mtr_portfolio_id = 29492179 and dashboard_run_id = 2762662 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`=29492179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501271, 0.03925103593470565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492179_18-12-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29492183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29492184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29492185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29492186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29492187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29492188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29492189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29492190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29492191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29492192, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29492193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29492194, '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 = 29492555 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': 4243966, 'mtr_portfolio_id': 29492555, 'created_at': datetime.datetime(2025, 12, 18, 5, 43, 30), 'result': '0.04580213097757318', 'result_long': None, 'result_double': None}] Qualite : 0.04580213097757318 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29492555 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492555_18-12-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29492555 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492555_18-12-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29492583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29492584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29492585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29492586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29492587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29492588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29492589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29492590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29492591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29492592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29492593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29492594, 'pht': 3726}}" where mtr_portfolio_id = 29492555 and dashboard_run_id = 2762662 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`=29492555 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501272, 0.04580213097757318, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29492555_18-12-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29492583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29492584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29492585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29492586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29492587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29492588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29492589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29492590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29492591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29492592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29492593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29492594, '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 = 29493108 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': 4243967, 'mtr_portfolio_id': 29493108, 'created_at': datetime.datetime(2025, 12, 18, 5, 44), 'result': '0.04834465450652557', 'result_long': None, 'result_double': None}] Qualite : 0.04834465450652557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29493108 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29493108_18-12-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29493108 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29493108_18-12-2025_05_44_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29493134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29493135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29493136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29493137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29493138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29493139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29493140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29493141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29493142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29493143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29493144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29493145, 'pht': 3726}}" where mtr_portfolio_id = 29493108 and dashboard_run_id = 2762662 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`=29493108 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501273, 0.04834465450652557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29493108_18-12-2025_05_44_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29493134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29493135, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29493136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29493137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29493138, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29493139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29493140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29493141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29493142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29493143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29493144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29493145, '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 = 29494104 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': 4243968, 'mtr_portfolio_id': 29494104, 'created_at': datetime.datetime(2025, 12, 18, 5, 44, 30), 'result': '0.05343727803435985', 'result_long': None, 'result_double': None}] Qualite : 0.05343727803435985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29494104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494104_18-12-2025_05_44_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29494104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494104_18-12-2025_05_44_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29494113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494123, 'pht': 3726}}" where mtr_portfolio_id = 29494104 and dashboard_run_id = 2762662 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`=29494104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501274, 0.05343727803435985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494104_18-12-2025_05_44_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29494113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494121, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494123, '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 = 29494438 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': 4243969, 'mtr_portfolio_id': 29494438, 'created_at': datetime.datetime(2025, 12, 18, 5, 45, 28), 'result': '0.059500536763727394', 'result_long': None, 'result_double': None}] Qualite : 0.059500536763727394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29494438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494438_18-12-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29494438 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494438_18-12-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29494454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494456, 'pht': 3726}}" where mtr_portfolio_id = 29494438 and dashboard_run_id = 2762662 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`=29494438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501275, 0.059500536763727394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494438_18-12-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29494454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494456, '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 = 29494773 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': 4243970, 'mtr_portfolio_id': 29494773, 'created_at': datetime.datetime(2025, 12, 18, 5, 45, 36), 'result': '0.048251496536731726', 'result_long': None, 'result_double': None}] Qualite : 0.048251496536731726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29494773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494773_18-12-2025_05_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29494773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494773_18-12-2025_05_45_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29494790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494801, 'pht': 3726}}" where mtr_portfolio_id = 29494773 and dashboard_run_id = 2762662 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`=29494773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501276, 0.048251496536731726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29494773_18-12-2025_05_45_41.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29494790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29494791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29494792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29494793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29494794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29494795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29494796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29494797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29494798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29494799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29494800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29494801, '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 = 29495425 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': 4243971, 'mtr_portfolio_id': 29495425, 'created_at': datetime.datetime(2025, 12, 18, 5, 45, 57), 'result': '0.06326614797353593', 'result_long': None, 'result_double': None}] Qualite : 0.06326614797353593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29495425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495425_18-12-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29495425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495425_18-12-2025_05_46_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29495433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29495434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29495435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29495436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29495437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29495438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29495439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29495440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29495441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29495442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29495443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29495444, 'pht': 3726}}" where mtr_portfolio_id = 29495425 and dashboard_run_id = 2762662 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`=29495425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501277, 0.06326614797353593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495425_18-12-2025_05_46_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29495433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29495434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29495435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29495436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29495437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29495438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29495439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29495440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29495441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29495442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29495443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29495444, '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 = 29495864 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': 4243972, 'mtr_portfolio_id': 29495864, 'created_at': datetime.datetime(2025, 12, 18, 5, 46, 8), 'result': '0.03543923249472139', 'result_long': None, 'result_double': None}] Qualite : 0.03543923249472139 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29495864 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495864_18-12-2025_05_46_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29495864 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495864_18-12-2025_05_46_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29495907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29495908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29495909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29495910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29495911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29495912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29495913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29495914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29495915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29495916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29495917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29495918, 'pht': 3726}}" where mtr_portfolio_id = 29495864 and dashboard_run_id = 2762662 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`=29495864 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501278, 0.03543923249472139, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29495864_18-12-2025_05_46_11.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29495907, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29495908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29495909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29495910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29495911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29495912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29495913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29495914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29495915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29495916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29495917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29495918, '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 = 29496570 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': 4243973, 'mtr_portfolio_id': 29496570, 'created_at': datetime.datetime(2025, 12, 18, 5, 46, 31), 'result': '0.03563547956207579', 'result_long': None, 'result_double': None}] Qualite : 0.03563547956207579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29496570 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29496570_18-12-2025_05_46_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29496570 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29496570_18-12-2025_05_46_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29496571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29496572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29496573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29496574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29496575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29496576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29496577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29496578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29496579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29496580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29496581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29496582, 'pht': 3726}}" where mtr_portfolio_id = 29496570 and dashboard_run_id = 2762662 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`=29496570 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501279, 0.03563547956207579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29496570_18-12-2025_05_46_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29496571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29496572, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29496573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29496574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29496575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29496576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29496577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29496578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29496579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29496580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29496581, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29496582, '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 = 29497550 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': 4243974, 'mtr_portfolio_id': 29497550, 'created_at': datetime.datetime(2025, 12, 18, 5, 47, 28), 'result': '0.0352391251661253', 'result_long': None, 'result_double': None}] Qualite : 0.0352391251661253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29497550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497550_18-12-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29497550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497550_18-12-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29497553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29497554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29497555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29497556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29497557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29497558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29497559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29497560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29497561, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29497562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29497563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29497564, 'pht': 3726}}" where mtr_portfolio_id = 29497550 and dashboard_run_id = 2762662 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`=29497550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501280, 0.0352391251661253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497550_18-12-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29497553, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29497554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29497555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29497556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29497557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29497558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29497559, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29497560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29497561, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29497562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29497563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29497564, '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 = 29497780 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': 4243975, 'mtr_portfolio_id': 29497780, 'created_at': datetime.datetime(2025, 12, 18, 5, 47, 59), 'result': '0.03255979765715136', 'result_long': None, 'result_double': None}] Qualite : 0.03255979765715136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29497780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497780_18-12-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29497780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497780_18-12-2025_05_48_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29497797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29497798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29497799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29497800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29497801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29497802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29497803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29497804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29497805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29497806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29497807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29497808, 'pht': 3726}}" where mtr_portfolio_id = 29497780 and dashboard_run_id = 2762662 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`=29497780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501281, 0.03255979765715136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29497780_18-12-2025_05_48_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29497797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29497798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29497799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29497800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29497801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29497802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29497803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29497804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29497805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29497806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29497807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29497808, '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 = 29498331 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': 4243976, 'mtr_portfolio_id': 29498331, 'created_at': datetime.datetime(2025, 12, 18, 5, 48, 31), 'result': '0.027302911391426012', 'result_long': None, 'result_double': None}] Qualite : 0.027302911391426012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29498331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498331_18-12-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29498331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498331_18-12-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29498335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29498336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29498337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29498338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29498339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29498340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29498341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29498342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29498343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29498344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29498345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29498346, 'pht': 3726}}" where mtr_portfolio_id = 29498331 and dashboard_run_id = 2762662 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`=29498331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501282, 0.027302911391426012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498331_18-12-2025_05_48_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29498335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29498336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29498337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29498338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29498339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29498340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29498341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29498342, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29498343, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29498344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29498345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29498346, '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 = 29498746 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': 4243977, 'mtr_portfolio_id': 29498746, 'created_at': datetime.datetime(2025, 12, 18, 5, 49, 29), 'result': '0.060021877680669335', 'result_long': None, 'result_double': None}] Qualite : 0.060021877680669335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29498746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498746_18-12-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29498746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498746_18-12-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29498761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29498762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29498763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29498764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29498765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29498766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29498767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29498768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29498769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29498770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29498771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29498772, 'pht': 3726}}" where mtr_portfolio_id = 29498746 and dashboard_run_id = 2762662 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`=29498746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501283, 0.060021877680669335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29498746_18-12-2025_05_49_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29498761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29498762, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29498763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29498764, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29498765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29498766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29498767, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29498768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29498769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29498770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29498771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29498772, '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 = 29499437 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': 4240095, 'mtr_portfolio_id': 29499437, 'created_at': datetime.datetime(2025, 12, 17, 13, 49), 'result': '0.060141817810284076', 'result_long': None, 'result_double': None}] Qualite : 0.060141817810284076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29499437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499437_17-12-2025_13_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29499437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499437_17-12-2025_13_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29499438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29499439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29499440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29499441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29499442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29499443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29499444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29499445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29499446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29499447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29499448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29499449, 'pht': 3726}}" where mtr_portfolio_id = 29499437 and dashboard_run_id = 2762662 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`=29499437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501284, 0.060141817810284076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499437_17-12-2025_13_49_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29499438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29499439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29499440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29499441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29499442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29499443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29499444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29499445, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29499446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29499447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29499448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29499449, '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 = 29499809 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': 4240120, 'mtr_portfolio_id': 29499809, 'created_at': datetime.datetime(2025, 12, 17, 14, 2, 57), 'result': '0.0395573149135856', 'result_long': None, 'result_double': None}] Qualite : 0.0395573149135856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29499809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499809_17-12-2025_14_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29499809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499809_17-12-2025_14_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29499811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29499812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29499813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29499814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29499815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29499816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29499817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29499818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29499819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29499820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29499821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29499822, 'pht': 3726}}" where mtr_portfolio_id = 29499809 and dashboard_run_id = 2762662 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`=29499809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501285, 0.0395573149135856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29499809_17-12-2025_14_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29499811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29499812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29499813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29499814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29499815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29499816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29499817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29499818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29499819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29499820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29499821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29499822, '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 = 29500190 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': 4240178, 'mtr_portfolio_id': 29500190, 'created_at': datetime.datetime(2025, 12, 17, 14, 19, 33), 'result': '0.036522704229659524', 'result_long': None, 'result_double': None}] Qualite : 0.036522704229659524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29500190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500190_17-12-2025_14_19_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29500190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500190_17-12-2025_14_19_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29500203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29500204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29500205, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29500206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29500207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29500208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29500209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29500210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29500211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29500212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29500213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29500214, 'pht': 3726}}" where mtr_portfolio_id = 29500190 and dashboard_run_id = 2762662 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`=29500190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501286, 0.036522704229659524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500190_17-12-2025_14_19_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29500203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29500204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29500205, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29500206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29500207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29500208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29500209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29500210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29500211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29500212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29500213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29500214, '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 = 29500777 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': 4240309, 'mtr_portfolio_id': 29500777, 'created_at': datetime.datetime(2025, 12, 17, 14, 32, 59), 'result': '0.0503400587928257', 'result_long': None, 'result_double': None}] Qualite : 0.0503400587928257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29500777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500777_17-12-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29500777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500777_17-12-2025_14_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29500782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29500783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29500784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29500785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29500786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29500787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29500788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29500789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29500790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29500791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29500792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29500793, 'pht': 3726}}" where mtr_portfolio_id = 29500777 and dashboard_run_id = 2762662 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`=29500777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501287, 0.0503400587928257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29500777_17-12-2025_14_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29500782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29500783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29500784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29500785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29500786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29500787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29500788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29500789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29500790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29500791, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29500792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29500793, '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 = 29501317 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': 4240507, 'mtr_portfolio_id': 29501317, 'created_at': datetime.datetime(2025, 12, 17, 14, 46, 58), 'result': '0.05529232140488498', 'result_long': None, 'result_double': None}] Qualite : 0.05529232140488498 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29501317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501317_17-12-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29501317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501317_17-12-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29501372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29501373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29501374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29501375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29501376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29501377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29501378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29501379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29501380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29501381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29501382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29501383, 'pht': 3726}}" where mtr_portfolio_id = 29501317 and dashboard_run_id = 2762662 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`=29501317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501288, 0.05529232140488498, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501317_17-12-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29501372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29501373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29501374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29501375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29501376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29501377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29501378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29501379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29501380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29501381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29501382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29501383, '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 = 29501873 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': 4240632, 'mtr_portfolio_id': 29501873, 'created_at': datetime.datetime(2025, 12, 17, 15, 3), 'result': '0.037316242479944785', 'result_long': None, 'result_double': None}] Qualite : 0.037316242479944785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29501873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501873_17-12-2025_15_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29501873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501873_17-12-2025_15_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29501882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29501883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29501884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29501885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29501886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29501887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29501888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29501889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29501890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29501891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29501892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29501893, 'pht': 3726}}" where mtr_portfolio_id = 29501873 and dashboard_run_id = 2762662 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`=29501873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501289, 0.037316242479944785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29501873_17-12-2025_15_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29501882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29501883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29501884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29501885, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29501886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29501887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29501888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29501889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29501890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29501891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29501892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29501893, '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 = 29502422 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': 4240723, 'mtr_portfolio_id': 29502422, 'created_at': datetime.datetime(2025, 12, 17, 15, 16, 57), 'result': '0.0789759246463782', 'result_long': None, 'result_double': None}] Qualite : 0.0789759246463782 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29502422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502422_17-12-2025_15_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29502422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502422_17-12-2025_15_16_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29502426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29502427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29502428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29502430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29502431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29502432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29502433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29502434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29502435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29502436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29502437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29502438, 'pht': 3726}}" where mtr_portfolio_id = 29502422 and dashboard_run_id = 2762662 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`=29502422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501290, 0.0789759246463782, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502422_17-12-2025_15_16_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29502426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29502427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29502428, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29502430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29502431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29502432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29502433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29502434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29502435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29502436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29502437, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29502438, '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 = 29502768 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': 4240757, 'mtr_portfolio_id': 29502768, 'created_at': datetime.datetime(2025, 12, 17, 15, 46, 30), 'result': '0.04353398890292629', 'result_long': None, 'result_double': None}] Qualite : 0.04353398890292629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29502768 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502768_17-12-2025_15_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29502768 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502768_17-12-2025_15_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29502770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29502771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29502772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29502773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29502774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29502775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29502776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29502777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29502778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29502779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29502780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29502781, 'pht': 3726}}" where mtr_portfolio_id = 29502768 and dashboard_run_id = 2762662 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`=29502768 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501291, 0.04353398890292629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29502768_17-12-2025_15_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29502770, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29502771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29502772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29502773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29502774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29502775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29502776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29502777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29502778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29502779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29502780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29502781, '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 = 29503062 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': 4240827, 'mtr_portfolio_id': 29503062, 'created_at': datetime.datetime(2025, 12, 17, 16, 7), 'result': '0.08273750678181571', 'result_long': None, 'result_double': None}] Qualite : 0.08273750678181571 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29503062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503062_17-12-2025_16_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29503062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503062_17-12-2025_16_07_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503076, 'pht': 3726}}" where mtr_portfolio_id = 29503062 and dashboard_run_id = 2762662 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`=29503062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501292, 0.08273750678181571, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503062_17-12-2025_16_07_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503070, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503073, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503076, '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 = 29503383 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': 4240871, 'mtr_portfolio_id': 29503383, 'created_at': datetime.datetime(2025, 12, 17, 16, 16, 59), 'result': '0.05741634739452203', 'result_long': None, 'result_double': None}] Qualite : 0.05741634739452203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29503383 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503383_17-12-2025_16_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29503383 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503383_17-12-2025_16_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503398, 'pht': 3726}}" where mtr_portfolio_id = 29503383 and dashboard_run_id = 2762662 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`=29503383 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501293, 0.05741634739452203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503383_17-12-2025_16_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503398, '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 = 29503674 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': 4240897, 'mtr_portfolio_id': 29503674, 'created_at': datetime.datetime(2025, 12, 17, 16, 32, 59), 'result': '0.06364108903828225', 'result_long': None, 'result_double': None}] Qualite : 0.06364108903828225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29503674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503674_17-12-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29503674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503674_17-12-2025_16_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503690, 'pht': 3726}}" where mtr_portfolio_id = 29503674 and dashboard_run_id = 2762662 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`=29503674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501294, 0.06364108903828225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29503674_17-12-2025_16_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29503679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29503680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29503681, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29503682, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29503683, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29503684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29503685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29503686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29503687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29503688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29503689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29503690, '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 = 29504071 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': 4240952, 'mtr_portfolio_id': 29504071, 'created_at': datetime.datetime(2025, 12, 17, 16, 48, 59), 'result': '0.039023630140782695', 'result_long': None, 'result_double': None}] Qualite : 0.039023630140782695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29504071 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504071_17-12-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29504071 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504071_17-12-2025_16_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504116, 'pht': 3726}}" where mtr_portfolio_id = 29504071 and dashboard_run_id = 2762662 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`=29504071 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501295, 0.039023630140782695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504071_17-12-2025_16_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504110, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504116, '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 = 29504554 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': 4241030, 'mtr_portfolio_id': 29504554, 'created_at': datetime.datetime(2025, 12, 17, 17, 7, 1), 'result': '0.021367975776301628', 'result_long': None, 'result_double': None}] Qualite : 0.021367975776301628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29504554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504554_17-12-2025_17_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29504554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504554_17-12-2025_17_07_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504590, 'pht': 3726}}" where mtr_portfolio_id = 29504554 and dashboard_run_id = 2762662 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`=29504554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501296, 0.021367975776301628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504554_17-12-2025_17_07_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504581, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504584, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504590, '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 = 29504935 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': 4241093, 'mtr_portfolio_id': 29504935, 'created_at': datetime.datetime(2025, 12, 17, 17, 16, 31), 'result': '0.05800905032850921', 'result_long': None, 'result_double': None}] Qualite : 0.05800905032850921 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29504935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504935_17-12-2025_17_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29504935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504935_17-12-2025_17_16_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504951, 'pht': 3726}}" where mtr_portfolio_id = 29504935 and dashboard_run_id = 2762662 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`=29504935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501297, 0.05800905032850921, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29504935_17-12-2025_17_16_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29504940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29504941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29504942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29504943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29504944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29504945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29504946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29504947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29504948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29504949, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29504950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29504951, '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 = 29505354 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': 4241140, 'mtr_portfolio_id': 29505354, 'created_at': datetime.datetime(2025, 12, 17, 18, 2, 58), 'result': '0.04509498548465309', 'result_long': None, 'result_double': None}] Qualite : 0.04509498548465309 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29505354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29505354_17-12-2025_18_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29505354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29505354_17-12-2025_18_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29505359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29505360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29505361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29505362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29505363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29505364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29505365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29505366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29505367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29505368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29505369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29505370, 'pht': 3726}}" where mtr_portfolio_id = 29505354 and dashboard_run_id = 2762662 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`=29505354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501298, 0.04509498548465309, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29505354_17-12-2025_18_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29505359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29505360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29505361, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29505362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29505363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29505364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29505365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29505366, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29505367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29505368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29505369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29505370, '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 = 29506270 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': 4241284, 'mtr_portfolio_id': 29506270, 'created_at': datetime.datetime(2025, 12, 17, 18, 17, 28), 'result': '0.07088417496136126', 'result_long': None, 'result_double': None}] Qualite : 0.07088417496136126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29506270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506270_17-12-2025_18_17_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29506270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506270_17-12-2025_18_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29506276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29506277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29506278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29506279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29506281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29506282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29506283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29506284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29506285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29506286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29506287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29506288, 'pht': 3726}}" where mtr_portfolio_id = 29506270 and dashboard_run_id = 2762662 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`=29506270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501299, 0.07088417496136126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506270_17-12-2025_18_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29506276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29506277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29506278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29506279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29506281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29506282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29506283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29506284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29506285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29506286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29506287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29506288, '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 = 29506681 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': 4241325, 'mtr_portfolio_id': 29506681, 'created_at': datetime.datetime(2025, 12, 17, 18, 32, 59), 'result': '0.052802446491239524', 'result_long': None, 'result_double': None}] Qualite : 0.052802446491239524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29506681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506681_17-12-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29506681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506681_17-12-2025_18_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29506686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29506687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29506688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29506689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29506690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29506691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29506692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29506693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29506694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29506695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29506696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29506697, 'pht': 3726}}" where mtr_portfolio_id = 29506681 and dashboard_run_id = 2762662 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`=29506681 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501300, 0.052802446491239524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29506681_17-12-2025_18_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29506686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29506687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29506688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29506689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29506690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29506691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29506692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29506693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29506694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29506695, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29506696, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29506697, '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 = 29507142 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': 4241397, 'mtr_portfolio_id': 29507142, 'created_at': datetime.datetime(2025, 12, 17, 18, 48, 58), 'result': '0.03816447327925217', 'result_long': None, 'result_double': None}] Qualite : 0.03816447327925217 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29507142 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507142_17-12-2025_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29507142 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507142_17-12-2025_18_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29507157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29507158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29507159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29507160, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29507161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29507162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29507163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29507164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29507165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29507166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29507167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29507168, 'pht': 3726}}" where mtr_portfolio_id = 29507142 and dashboard_run_id = 2762662 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`=29507142 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501301, 0.03816447327925217, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507142_17-12-2025_18_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29507157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29507158, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29507159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29507160, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29507161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29507162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29507163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29507164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29507165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29507166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29507167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29507168, '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 = 29507712 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': 4241474, 'mtr_portfolio_id': 29507712, 'created_at': datetime.datetime(2025, 12, 17, 19, 2, 59), 'result': '0.03878948060671115', 'result_long': None, 'result_double': None}] Qualite : 0.03878948060671115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29507712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507712_17-12-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29507712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507712_17-12-2025_19_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29507721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29507722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29507723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29507724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29507725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29507726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29507727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29507728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29507729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29507730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29507731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29507732, 'pht': 3726}}" where mtr_portfolio_id = 29507712 and dashboard_run_id = 2762662 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`=29507712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501302, 0.03878948060671115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29507712_17-12-2025_19_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29507721, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29507722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29507723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29507724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29507725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29507726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29507727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29507728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29507729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29507730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29507731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29507732, '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 = 29508122 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': 4241539, 'mtr_portfolio_id': 29508122, 'created_at': datetime.datetime(2025, 12, 17, 19, 19, 1), 'result': '0.05590262290455289', 'result_long': None, 'result_double': None}] Qualite : 0.05590262290455289 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29508122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508122_17-12-2025_19_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29508122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508122_17-12-2025_19_19_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29508139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29508140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29508141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29508142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29508143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29508144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29508145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29508146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29508147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29508148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29508149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29508150, 'pht': 3726}}" where mtr_portfolio_id = 29508122 and dashboard_run_id = 2762662 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`=29508122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501303, 0.05590262290455289, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508122_17-12-2025_19_19_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29508139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29508140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29508141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29508142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29508143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29508144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29508145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29508146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29508147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29508148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29508149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29508150, '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 = 29508787 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': 4241613, 'mtr_portfolio_id': 29508787, 'created_at': datetime.datetime(2025, 12, 17, 19, 33, 1), 'result': '0.05034060747864121', 'result_long': None, 'result_double': None}] Qualite : 0.05034060747864121 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29508787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508787_17-12-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29508787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508787_17-12-2025_19_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29508795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29508796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29508797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29508798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29508799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29508800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29508801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29508802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29508803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29508804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29508805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29508806, 'pht': 3726}}" where mtr_portfolio_id = 29508787 and dashboard_run_id = 2762662 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`=29508787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501304, 0.05034060747864121, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29508787_17-12-2025_19_33_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29508795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29508796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29508797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29508798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29508799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29508800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29508801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29508802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29508803, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29508804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29508805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29508806, '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 = 29509290 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': 4241680, 'mtr_portfolio_id': 29509290, 'created_at': datetime.datetime(2025, 12, 17, 19, 48, 59), 'result': '0.05831101618958083', 'result_long': None, 'result_double': None}] Qualite : 0.05831101618958083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29509290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509290_17-12-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29509290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509290_17-12-2025_19_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29509296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29509297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29509298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29509299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29509300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29509301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29509302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29509303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29509304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29509305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29509306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29509307, 'pht': 3726}}" where mtr_portfolio_id = 29509290 and dashboard_run_id = 2762662 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`=29509290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501305, 0.05831101618958083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509290_17-12-2025_19_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29509296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29509297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29509298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29509299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29509300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29509301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29509302, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29509303, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29509304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29509305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29509306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29509307, '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 = 29509667 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': 4241733, 'mtr_portfolio_id': 29509667, 'created_at': datetime.datetime(2025, 12, 17, 20, 2, 59), 'result': '0.0451494815010472', 'result_long': None, 'result_double': None}] Qualite : 0.0451494815010472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29509667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509667_17-12-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29509667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509667_17-12-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29509675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29509676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29509677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29509678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29509679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29509680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29509681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29509682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29509683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29509684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29509685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29509686, 'pht': 3726}}" where mtr_portfolio_id = 29509667 and dashboard_run_id = 2762662 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`=29509667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501306, 0.0451494815010472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29509667_17-12-2025_20_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29509675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29509676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29509677, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29509678, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29509679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29509680, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29509681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29509682, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29509683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29509684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29509685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29509686, '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 = 29510002 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': 4241813, 'mtr_portfolio_id': 29510002, 'created_at': datetime.datetime(2025, 12, 17, 20, 19, 2), 'result': '0.047566977519342725', 'result_long': None, 'result_double': None}] Qualite : 0.047566977519342725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29510002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510002_17-12-2025_20_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29510002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510002_17-12-2025_20_19_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29510017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29510018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29510019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29510020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29510021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29510022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29510023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29510024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29510025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29510026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29510027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29510028, 'pht': 3726}}" where mtr_portfolio_id = 29510002 and dashboard_run_id = 2762662 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`=29510002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501307, 0.047566977519342725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510002_17-12-2025_20_19_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29510017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29510018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29510019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29510020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29510021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29510022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29510023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29510024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29510025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29510026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29510027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29510028, '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 = 29510697 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': 4241888, 'mtr_portfolio_id': 29510697, 'created_at': datetime.datetime(2025, 12, 17, 20, 33, 30), 'result': '0.04848331790726659', 'result_long': None, 'result_double': None}] Qualite : 0.04848331790726659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29510697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510697_17-12-2025_20_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29510697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510697_17-12-2025_20_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29510729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29510730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29510731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29510732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29510733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29510734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29510735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29510736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29510737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29510738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29510739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29510740, 'pht': 3726}}" where mtr_portfolio_id = 29510697 and dashboard_run_id = 2762662 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`=29510697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501308, 0.04848331790726659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29510697_17-12-2025_20_33_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29510729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29510730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29510731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29510732, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29510733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29510734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29510735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29510736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29510737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29510738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29510739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29510740, '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 = 29511131 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': 4241949, 'mtr_portfolio_id': 29511131, 'created_at': datetime.datetime(2025, 12, 17, 21, 2, 57), 'result': '0.06985047031030014', 'result_long': None, 'result_double': None}] Qualite : 0.06985047031030014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29511131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511131_17-12-2025_21_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29511131 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511131_17-12-2025_21_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29511147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29511148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29511149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29511150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29511151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29511152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29511153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29511154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29511155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29511156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29511157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29511158, 'pht': 3726}}" where mtr_portfolio_id = 29511131 and dashboard_run_id = 2762662 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`=29511131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501309, 0.06985047031030014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511131_17-12-2025_21_02_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29511147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29511148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29511149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29511150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29511151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29511152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29511153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29511154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29511155, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29511156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29511157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29511158, '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 = 29511952 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': 4242075, 'mtr_portfolio_id': 29511952, 'created_at': datetime.datetime(2025, 12, 17, 21, 18, 58), 'result': '0.04828554597579231', 'result_long': None, 'result_double': None}] Qualite : 0.04828554597579231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29511952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511952_17-12-2025_21_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29511952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511952_17-12-2025_21_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29511954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29511955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29511956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29511957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29511958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29511959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29511960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29511961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29511962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29511963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29511964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29511965, 'pht': 3726}}" where mtr_portfolio_id = 29511952 and dashboard_run_id = 2762662 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`=29511952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501310, 0.04828554597579231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29511952_17-12-2025_21_18_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29511954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29511955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29511956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29511957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29511958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29511959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29511960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29511961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29511962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29511963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29511964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29511965, '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 = 29512196 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': 4242101, 'mtr_portfolio_id': 29512196, 'created_at': datetime.datetime(2025, 12, 17, 21, 33), 'result': '0.0673479287651438', 'result_long': None, 'result_double': None}] Qualite : 0.0673479287651438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29512196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512196_17-12-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29512196 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512196_17-12-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512211, 'pht': 3726}}" where mtr_portfolio_id = 29512196 and dashboard_run_id = 2762662 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`=29512196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501311, 0.0673479287651438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512196_17-12-2025_21_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512201, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512204, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512210, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512211, '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 = 29512513 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': 4242145, 'mtr_portfolio_id': 29512513, 'created_at': datetime.datetime(2025, 12, 17, 21, 49, 29), 'result': '0.04960493635772165', 'result_long': None, 'result_double': None}] Qualite : 0.04960493635772165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29512513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512513_17-12-2025_21_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29512513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512513_17-12-2025_21_49_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512534, 'pht': 3726}}" where mtr_portfolio_id = 29512513 and dashboard_run_id = 2762662 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`=29512513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501312, 0.04960493635772165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512513_17-12-2025_21_49_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512534, '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 = 29512927 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': 4242196, 'mtr_portfolio_id': 29512927, 'created_at': datetime.datetime(2025, 12, 17, 22, 2, 59), 'result': '0.036135875848398905', 'result_long': None, 'result_double': None}] Qualite : 0.036135875848398905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29512927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512927_17-12-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29512927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512927_17-12-2025_22_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512942, 'pht': 3726}}" where mtr_portfolio_id = 29512927 and dashboard_run_id = 2762662 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`=29512927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501313, 0.036135875848398905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29512927_17-12-2025_22_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29512931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29512932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29512933, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29512934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29512935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29512936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29512937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29512938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29512939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29512940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29512941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29512942, '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 = 29513291 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': 4242317, 'mtr_portfolio_id': 29513291, 'created_at': datetime.datetime(2025, 12, 17, 22, 19, 1), 'result': '0.06624031073311996', 'result_long': None, 'result_double': None}] Qualite : 0.06624031073311996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29513291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513291_17-12-2025_22_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29513291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513291_17-12-2025_22_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29513333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29513334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29513335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29513336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29513337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29513338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29513339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29513340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29513341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29513342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29513343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29513344, 'pht': 3726}}" where mtr_portfolio_id = 29513291 and dashboard_run_id = 2762662 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`=29513291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501314, 0.06624031073311996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513291_17-12-2025_22_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29513333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29513334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29513335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29513336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29513337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29513338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29513339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29513340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29513341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29513342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29513343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29513344, '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 = 29513930 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': 4242379, 'mtr_portfolio_id': 29513930, 'created_at': datetime.datetime(2025, 12, 17, 22, 33), 'result': '0.034353409687178975', 'result_long': None, 'result_double': None}] Qualite : 0.034353409687178975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29513930 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513930_17-12-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29513930 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513930_17-12-2025_22_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29513938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29513939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29513940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29513941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29513942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29513944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29513945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29513946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29513947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29513948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29513949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29513950, 'pht': 3726}}" where mtr_portfolio_id = 29513930 and dashboard_run_id = 2762662 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`=29513930 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501315, 0.034353409687178975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29513930_17-12-2025_22_33_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29513938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29513939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29513940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29513941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29513942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29513944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29513945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29513946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29513947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29513948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29513949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29513950, '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 = 29514471 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': 4242438, 'mtr_portfolio_id': 29514471, 'created_at': datetime.datetime(2025, 12, 17, 22, 47), 'result': '0.06758590199775462', 'result_long': None, 'result_double': None}] Qualite : 0.06758590199775462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29514471 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29514471_17-12-2025_22_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29514471 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29514471_17-12-2025_22_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29514503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29514504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29514505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29514506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29514507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29514508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29514509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29514510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29514511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29514512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29514513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29514514, 'pht': 3726}}" where mtr_portfolio_id = 29514471 and dashboard_run_id = 2762662 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`=29514471 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501316, 0.06758590199775462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29514471_17-12-2025_22_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29514503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29514504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29514505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29514506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29514507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29514508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29514509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29514510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29514511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29514512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29514513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29514514, '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 = 29515048 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': 4242492, 'mtr_portfolio_id': 29515048, 'created_at': datetime.datetime(2025, 12, 17, 23, 3, 27), 'result': '0.03726468703523792', 'result_long': None, 'result_double': None}] Qualite : 0.03726468703523792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29515048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515048_17-12-2025_23_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29515048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515048_17-12-2025_23_03_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29515052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29515053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29515054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29515055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29515056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29515057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29515058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29515059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29515060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29515061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29515062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29515063, 'pht': 3726}}" where mtr_portfolio_id = 29515048 and dashboard_run_id = 2762662 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`=29515048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501317, 0.03726468703523792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515048_17-12-2025_23_03_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29515052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29515053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29515054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29515055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29515056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29515057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29515058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29515059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29515060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29515061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29515062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29515063, '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 = 29515690 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': 4242558, 'mtr_portfolio_id': 29515690, 'created_at': datetime.datetime(2025, 12, 17, 23, 19), 'result': '0.025917986648060783', 'result_long': None, 'result_double': None}] Qualite : 0.025917986648060783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29515690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515690_17-12-2025_23_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29515690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515690_17-12-2025_23_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29515694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29515695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29515696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29515697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29515698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29515699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29515700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29515701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29515702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29515703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29515704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29515705, 'pht': 3726}}" where mtr_portfolio_id = 29515690 and dashboard_run_id = 2762662 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`=29515690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501318, 0.025917986648060783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29515690_17-12-2025_23_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29515694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29515695, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29515696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29515697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29515698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29515699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29515700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29515701, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29515702, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29515703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29515704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29515705, '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 = 29516316 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': 4242623, 'mtr_portfolio_id': 29516316, 'created_at': datetime.datetime(2025, 12, 17, 23, 32, 59), 'result': '0.06076081365978717', 'result_long': None, 'result_double': None}] Qualite : 0.06076081365978717 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29516316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516316_17-12-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29516316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516316_17-12-2025_23_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29516321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29516322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29516323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29516324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29516325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29516326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29516327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29516328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29516329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29516330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29516331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29516332, 'pht': 3726}}" where mtr_portfolio_id = 29516316 and dashboard_run_id = 2762662 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`=29516316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501319, 0.06076081365978717, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516316_17-12-2025_23_32_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29516321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29516322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29516323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29516324, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29516325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29516326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29516327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29516328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29516329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29516330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29516331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29516332, '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 = 29516991 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': 4242690, 'mtr_portfolio_id': 29516991, 'created_at': datetime.datetime(2025, 12, 17, 23, 46, 56), 'result': '0.045123734288549065', 'result_long': None, 'result_double': None}] Qualite : 0.045123734288549065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29516991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516991_17-12-2025_23_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29516991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516991_17-12-2025_23_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29516995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29516996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29516997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29516998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29516999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29517000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29517001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29517002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29517003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29517004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29517005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29517006, 'pht': 3726}}" where mtr_portfolio_id = 29516991 and dashboard_run_id = 2762662 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`=29516991 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501320, 0.045123734288549065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29516991_17-12-2025_23_46_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29516995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29516996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29516997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29516998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29516999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29517000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29517001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29517002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29517003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29517004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29517005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29517006, '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 = 29517462 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': 4242739, 'mtr_portfolio_id': 29517462, 'created_at': datetime.datetime(2025, 12, 18, 0, 50, 58), 'result': '0.03859151513859553', 'result_long': None, 'result_double': None}] Qualite : 0.03859151513859553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29517462 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29517462_18-12-2025_00_50_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29517462 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29517462_18-12-2025_00_50_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29517470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29517472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29517473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29517474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29517475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29517476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29517477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29517478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29517479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29517480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29517481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29517482, 'pht': 3726}}" where mtr_portfolio_id = 29517462 and dashboard_run_id = 2762662 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`=29517462 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18501321, 0.03859151513859553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29517462_18-12-2025_00_50_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29517470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29517472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29517473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29517474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29517475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29517476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29517477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29517478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29517479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29517480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29517481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29517482, '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 (29485245,29485330,29486151,29486387,29486785,29487088,29487491,29488001,29488439,29488957,29489376,29489974,29490515,29491177,29491559,29492179,29492555,29493108,29494104,29494438,29494773,29495425,29495864,29496570,29497550,29497780,29498331,29498746,29499437,29499809,29500190,29500777,29501317,29501873,29502422,29502768,29503062,29503383,29503674,29504071,29504554,29504935,29505354,29506270,29506681,29507142,29507712,29508122,29508787,29509290,29509667,29510002,29510697,29511131,29511952,29512196,29512513,29512927,29513291,29513930,29514471,29515048,29515690,29516316,29516991,29517462) result : ((1399736565,), (1399736593,), (1399736649,), (1399736650,), (1399736692,), (1399736693,), (1399736694,), (1399736790,), (1399736818,), (1399736820,), (1399736821,), (1399736824,), (1399736845,), (1399736900,), (1399736932,), (1399736959,), (1399736961,), (1399736979,), (1399743998,), (1399744452,), (1399744765,), (1399744778,), (1399744780,), (1399744782,), (1399744786,), (1399744790,), (1399744802,), (1399744803,), (1399744804,), (1399744805,), (1399744808,), (1399744826,), (1399744827,), (1399744828,), (1399744829,), (1399744848,), (1399744849,), (1399744850,), (1399744851,), (1399744872,), (1399744873,), (1399744874,), (1399744875,), (1399744889,), (1399744890,), (1399744891,), (1399744892,), (1399744913,), (1399744914,), (1399744915,), (1399744916,), (1399744919,), (1399744934,), (1399744936,), (1399744937,), (1399744940,), (1399744944,), (1399744947,), (1399744958,), (1399744959,), (1399744963,), (1399744961,), (1399744962,), (1399744977,), (1399744978,), (1399744997,), (1399744998,), (1399744999,), (1399745000,), (1399745002,), (1399745005,), (1399745017,), (1399745019,), (1399745021,), (1399745024,), (1399745028,), (1399745036,), (1399745047,), (1399745060,), (1399745061,), (1399745062,), (1399745063,), (1399745066,), (1399745093,), (1399745094,), (1399745095,), (1399745096,), (1399745099,), (1399745111,), (1399745112,), (1399745113,), (1399745114,), (1399745117,), (1399745121,), (1399745135,), (1399745136,), (1399745137,), (1399745138,), (1399745151,), (1399745152,), (1399745153,), (1399745154,), (1399745156,), (1399745159,), (1399745186,), (1399745187,), (1399745188,), (1399745189,), (1399745192,), (1399745202,), (1399745203,), (1399745204,), (1399745280,), (1399745301,), (1399745299,), (1399745300,), (1399745326,), (1399745328,), (1399745330,), (1399745345,), (1399745346,), (1399745362,), (1399745364,), (1399745366,), (1399745367,), (1399745369,), (1399745382,), (1399745383,), (1399745384,), (1399745386,), (1399745391,), (1399745394,), (1399745404,), (1399745418,), (1399745420,), (1399745421,), (1399745422,), (1399745441,), (1399745442,), (1399745443,), (1399745444,), (1399745446,), (1399745463,), (1399745464,), (1399745465,), (1399745468,), (1399745470,), (1399745473,), (1399745481,), (1399745483,), (1399745485,), (1399745487,), (1399745491,), (1399745518,), (1399745520,), (1399745522,), (1399745526,), (1399745530,), (1399745534,), (1399745541,), (1399745542,), (1399745543,), (1399745544,), (1399745559,), (1399745560,), (1399745561,), (1399745578,), (1399745579,), (1399745580,), (1399745581,), (1399745584,), (1399745588,), (1399745601,), (1399745602,), (1399745603,), (1399745616,), (1399745617,), (1399745618,), (1399745621,), (1399745625,), (1399745629,), (1399745643,), (1399745641,), (1399745642,), (1399745655,), (1399745669,), (1399745671,), (1399745673,), (1399745677,), (1399745690,), (1399745691,), (1399745692,), (1399745693,), (1399745715,), (1399745716,), (1399745717,), (1399745718,), (1399745737,), (1399745738,), (1399745739,), (1399745757,), (1399745758,), (1399745759,), (1399745760,), (1399745763,), (1399745776,), (1399745778,), (1399745780,), (1399745784,), (1399745788,), (1399745820,), (1399745821,), (1399745822,), (1399745823,), (1399745845,), (1399745847,), (1399745851,), (1399745855,), (1399745859,), (1399745863,), (1399745873,), (1399745874,), (1399745875,), (1399745876,), (1399745877,), (1399745894,), (1399745895,), (1399745896,), (1399745897,), (1399745899,), (1399745902,), (1399745929,), (1399745930,), (1399745932,), (1399745935,), (1399745937,), (1399745939,), (1399745945,), (1399745947,), (1399745948,), (1399745950,), (1399745952,), (1399745954,), (1399746224,), (1399746269,), (1399746304,), (1399746634,), (1399746591,), (1399746594,), (1399746597,), (1399746601,), (1399746822,), (1399746823,), (1399746824,), (1399746825,), (1399747199,), (1399747231,), (1399747265,), (1399747651,), (1399747686,), (1399747717,), (1399747748,), (1399747781,), (1399747894,), (1399747932,), (1399747964,), (1399747981,), (1399747992,), (1399747996,), (1399748043,), (1399748062,), (1399748089,), (1399748093,), (1399748098,), (1399748103,), (1399748104,), (1399748107,), (1399748110,), (1399748124,), (1399748126,), (1399748128,), (1399748130,), (1399748133,), (1399748135,), (1399748159,), (1399748161,), (1399748162,), (1399748164,), (1399748166,), (1399748168,), (1399748197,), (1399748199,), (1399748202,), (1399748204,), (1399748206,), (1399748208,), (1399748230,), (1399748234,), (1399748236,), (1399748239,), (1399748245,), (1399748253,), (1399748259,), (1399748260,), (1399748262,), (1399748264,), (1399748266,), (1399748267,), (1399748271,), (1399748272,), (1399748275,), (1399748276,), (1399748277,), (1399748278,), (1399748282,), (1399748284,), (1399748285,), (1399748287,), (1399748292,), (1399748294,), (1399748303,), (1399748305,), (1399748306,), (1399748307,), (1399748310,), (1399748312,), (1399748335,), (1399748344,), (1399748430,), (1399748420,), (1399748425,), (1399748429,), (1399748449,), (1399748477,), (1399748479,), (1399748499,), (1399748501,), (1399748503,), (1399748507,), (1399748511,), (1399748514,), (1399748529,), (1399748531,), (1399748533,), (1399748535,), (1399748537,), (1399748556,), (1399748557,), (1399748558,), (1399748559,), (1399748594,), (1399748596,), (1399748598,), (1399748607,), (1399748608,), (1399748609,), (1399748610,), (1399748613,), (1399748632,), (1399748634,), (1399748637,), (1399748640,), (1399748660,), (1399748662,), (1399748664,), (1399748668,), (1399748675,), (1399748681,), (1399748697,), (1399748699,), (1399748701,), (1399748703,), (1399748720,), (1399748721,), (1399748722,), (1399748751,), (1399748753,), (1399748755,), (1399748756,), (1399748776,), (1399748777,), (1399748778,), (1399748801,), (1399748803,), (1399748806,), (1399748808,), (1399748810,), (1399748835,), (1399748826,), (1399748827,), (1399748828,), (1399748831,), (1399748856,), (1399748858,), (1399748859,), (1399748860,), (1399748884,), (1399748885,), (1399748886,), (1399748887,), (1399748890,), (1399748911,), (1399748912,), (1399748913,), (1399748916,), (1399748919,), (1399748920,), (1399748929,), (1399748930,), (1399748940,), (1399748941,), (1399748942,), (1399748969,), (1399749052,), (1399749053,), (1399749054,), (1399749055,), (1399749086,), (1399749087,), (1399749088,), (1399749107,), (1399749108,), (1399749127,), (1399749129,), (1399749131,), (1399749133,), (1399749135,), (1399749137,), (1399749151,), (1399749152,), (1399749153,), (1399749154,), (1399749156,), (1399749181,), (1399749183,), (1399749198,), (1399749199,), (1399749201,), (1399749202,), (1399749204,), (1399749206,), (1399749241,), (1399749231,), (1399749232,), (1399749234,), (1399749236,), (1399749239,), (1399749253,), (1399749255,), (1399749257,), (1399749261,), (1399749292,), (1399749293,), (1399749295,), (1399749297,), (1399749299,), (1399749301,), (1399749312,), (1399749315,), (1399749316,), (1399749317,), (1399749320,), (1399749323,), (1399749350,), (1399749352,), (1399749354,), (1399749375,), (1399749377,), (1399749379,), (1399749381,), (1399749383,), (1399749412,), (1399749414,), (1399749416,), (1399749431,), (1399749432,), (1399749434,), (1399749435,), (1399749437,), (1399749439,), (1399749481,), (1399749482,), (1399749483,), (1399749510,), (1399749513,), (1399749516,), (1399749520,), (1399749523,), (1399749526,), (1399749553,), (1399749554,), (1399749555,), (1399749556,), (1399749575,), (1399749578,), (1399749579,), (1399749581,), (1399749610,), (1399749611,), (1399749612,), (1399749615,), (1399749618,), (1399749621,), (1399749628,), (1399749629,), (1399749630,), (1399750064,), (1399750098,), (1399750132,), (1399750165,), (1399750299,), (1399750300,), (1399750331,), (1399750335,), (1399750364,), (1399750367,), (1399750576,), (1399750567,), (1399750570,), (1399750573,), (1399750937,), (1399750971,), (1399751005,), (1399751038,), (1399751071,), (1399751444,), (1399751481,), (1399751513,), (1399751545,), (1399751673,), (1399751675,), (1399751677,), (1399751679,), (1399751709,), (1399751986,), (1399751987,), (1399751988,), (1399752020,), (1399752030,), (1399752047,), (1399752066,), (1399752067,), (1399752071,), (1399752073,), (1399752075,), (1399752077,), (1399752080,), (1399752082,), (1399752108,), (1399752109,), (1399752110,), (1399752111,), (1399752138,), (1399752140,), (1399752142,), (1399752145,), (1399752148,), (1399752150,), (1399752160,), (1399752164,), (1399752167,), (1399752168,), (1399752169,), (1399752213,), (1399752215,), (1399752217,), (1399752235,), (1399752237,), (1399752239,), (1399752241,), (1399752269,), (1399752270,), (1399752271,), (1399752294,), (1399752313,), (1399752314,), (1399752315,), (1399752333,), (1399752335,), (1399752338,), (1399752395,), (1399752393,), (1399752394,), (1399752468,), (1399752475,), (1399752477,), (1399752478,), (1399752487,), (1399752489,), (1399752526,), (1399752528,), (1399752531,), (1399752535,), (1399752539,), (1399752541,), (1399752886,), (1399752943,), (1399752965,), (1399752966,), (1399752969,), (1399753141,), (1399753142,), (1399753191,), (1399753193,), (1399753194,), (1399753196,), (1399753286,), (1399753287,), (1399753288,), (1399753289,), (1399753292,), (1399753294,), (1399753485,), (1399753490,), (1399753501,), (1399753513,), (1399753520,), (1399753521,), (1399753543,), (1399753545,), (1399753553,), (1399753560,), (1399753594,), (1399753655,), (1399754118,), (1399754134,), (1399754138,), (1399754139,), (1399754213,), (1399754214,), (1399754215,), (1399754219,), (1399754221,), (1399754254,), (1399754256,), (1399754258,), (1399754261,), (1399754265,), (1399754267,), (1399754298,), (1399754300,), (1399754302,), (1399754304,), (1399754325,), (1399754327,), (1399754349,), (1399754344,), (1399754345,), (1399754346,), (1399754347,), (1399754369,), (1399754370,), (1399754371,), (1399754372,), (1399754375,), (1399754393,), (1399754394,), (1399754396,), (1399754398,), (1399754402,), (1399754447,), (1399754449,), (1399754659,), (1399754692,), (1399754743,), (1399754781,), (1399754785,), (1399754906,), (1399754907,), (1399754908,), (1399754909,), (1399754931,), (1399754933,), (1399754934,), (1399754936,), (1399755029,), (1399755059,), (1399755061,), (1399755158,), (1399755159,), (1399755160,), (1399755161,), (1399755187,), (1399755188,), (1399755189,), (1399755204,), (1399755205,), (1399755206,), (1399755207,), (1399755210,), (1399755247,), (1399755248,), (1399755249,), (1399755400,), (1399755411,), (1399755436,), (1399755438,), (1399755450,), (1399755506,), (1399755507,), (1399755508,), (1399755509,), (1399755512,), (1399755528,), (1399755529,), (1399755530,), (1399755533,), (1399755536,), (1399755541,), (1399755555,), (1399755560,), (1399755564,), (1399755563,), (1399755586,), (1399755587,), (1399755606,), (1399755628,), (1399755629,), (1399755630,), (1399755643,), (1399755644,), (1399755645,), (1399755646,), (1399755649,), (1399755650,), (1399755663,), (1399755664,), (1399755665,), (1399755666,), (1399755687,), (1399755688,), (1399755689,), (1399755690,), (1399755708,), (1399755709,), (1399755710,), (1399755711,), (1399755713,), (1399755715,), (1399755729,), (1399755730,), (1399755731,), (1399755732,), (1399755735,), (1399755761,), (1399755763,), (1399755765,), (1399755768,), (1399755771,), (1399755772,), (1399755787,), (1399755788,), (1399755789,), (1399755802,), (1399755803,), (1399755819,), (1399755821,), (1399755823,), (1399755827,), (1399755831,), (1399755836,), (1399755850,), (1399755851,), (1399755854,), (1399755857,), (1399755859,), (1399755861,), (1399755869,), (1399755871,), (1399755873,), (1399755875,), (1399755877,), (1399755878,), (1399756127,), (1399756130,), (1399756161,), (1399756227,), (1399756432,), (1399756484,), (1399756522,), (1399756564,), (1399756597,), (1399756846,), (1399756741,), (1399756776,), (1399756810,), (1399756930,), (1399756975,), (1399757013,), (1399757051,), (1399757063,), (1399757066,), (1399757171,), (1399757173,), (1399757175,), (1399757177,), (1399757179,), (1399757204,), (1399757206,), (1399757208,), (1399757221,), (1399757222,), (1399757223,), (1399757226,), (1399757229,), (1399757232,), (1399757241,), (1399757259,), (1399757271,), (1399757276,), (1399757278,), (1399757282,), (1399757301,), (1399757303,), (1399757305,), (1399757307,), (1399757310,), (1399757332,), (1399757333,), (1399757334,), (1399757336,), (1399757338,), (1399757340,), (1399757347,), (1399757348,), (1399757353,), (1399757357,), (1399757358,), (1399757359,), (1399757393,), (1399757395,), (1399757397,), (1399757399,), (1399757402,), (1399757422,), (1399757423,), (1399757424,), (1399757425,), (1399757460,), (1399757461,), (1399757463,), (1399757465,), (1399757468,), (1399757487,), (1399757490,), (1399757528,), (1399757626,), (1399757620,), (1399757621,), (1399757622,), (1399757623,), (1399757653,), (1399757655,), (1399757657,), (1399757672,), (1399757673,), (1399757694,), (1399757696,), (1399757698,), (1399757700,), (1399757703,), (1399757706,), (1399757718,), (1399757719,), (1399757720,), (1399757743,), (1399757744,), (1399757746,), (1399757748,), (1399757750,), (1399757771,), (1399757772,), (1399757773,), (1399757776,), (1399757779,), (1399757781,), (1399757789,), (1399757798,), (1399757799,), (1399757800,), (1399757823,), (1399757826,), (1399757828,), (1399757831,), (1399757864,), (1399757865,), (1399757868,), (1399757871,), (1399757874,), (1399757877,), (1399757892,), (1399757897,), (1399757901,), (1399757903,), (1399757908,), (1399757913,), (1399757917,), (1399757919,), (1399757925,), (1399757933,), (1399757934,), (1399757937,), (1399757948,), (1399757952,), (1399757962,), (1399757963,), (1399757964,), (1399757978,), (1399757967,), (1399757968,), (1399757969,), (1399757972,), (1399757975,), (1399757991,), (1399757992,), (1399757993,), (1399758005,), (1399758006,), (1399758008,), (1399758012,), (1399758048,), (1399758049,), (1399758063,), (1399758093,), (1399758240,), (1399758248,), (1399758252,), (1399758253,), (1399758280,), (1399758281,), (1399758282,), (1399758283,), (1399758286,), (1399758289,), (1399758303,), (1399758305,), (1399758306,), (1399758308,), (1399758310,), (1399758313,), (1399758331,), (1399758332,), (1399758340,), (1399758350,), (1399758357,), (1399758363,), (1399758391,), (1399758394,), (1399758397,), (1399758399,), (1399758402,), (1399758404,), (1399758413,), (1399758416,), (1399758420,), (1399758425,), (1399758429,), (1399758430,), (1399758443,), (1399758444,), (1399758446,), (1399758449,), (1399758452,), (1399758454,), (1399758460,), (1399758467,), (1399758469,), (1399758470,), (1399758471,), (1399758494,), (1399758495,), (1399758496,), (1399758497,), (1399758499,), (1399758501,), (1399758528,), (1399758529,), (1399758540,), (1399758581,), (1399758613,), (1399758648,), (1399758686,), (1399758906,), (1399758881,), (1399758901,), (1399759021,), (1399759022,), (1399759024,), (1399759178,), (1399759213,), (1399759374,), (1399759376,), (1399759378,), (1399759422,), (1399759423,), (1399759424,), (1399759425,), (1399759428,), (1399759441,), (1399759443,), (1399759445,), (1399759447,), (1399759450,), (1399759563,), (1399759597,), (1399759629,), (1399759823,), (1399759825,), (1399759827,), (1399759829,), (1399759831,), (1399759869,), (1399759870,), (1399759872,), (1399759873,), (1399759890,), (1399759891,), (1399759892,), (1399759895,), (1399759898,), (1399759904,), (1399759914,), (1399759915,), (1399759918,), (1399759920,), (1399759922,), (1399759947,), (1399759949,), (1399759951,), (1399759953,), (1399759956,), (1399759959,), (1399759987,), (1399759988,), (1399759989,), (1399759992,), (1399759995,), (1399759998,), (1399760220,), (1399760257,), (1399760284,), (1399760292,), (1399760314,), (1399760327,), (1399760331,), (1399760333,), (1399760335,), (1399760337,), (1399760343,), (1399760353,), (1399760359,), (1399760360,), (1399760363,), (1399760366,), (1399760368,), (1399760370,), (1399760376,), (1399760378,), (1399760380,), (1399765985,), (1399765982,), (1399765983,), (1399765984,), (1399766002,), (1399766004,), (1399766007,), (1399766009,), (1399766036,), (1399766038,), (1399766040,), (1399766261,), (1399766296,), (1399766307,), (1399766311,), (1399766315,), (1399766319,), (1399766325,), (1399766334,), (1399766335,), (1399766337,), (1399766379,), (1399766382,), (1399766383,), (1399766386,), (1399766389,), (1399766394,), (1399766411,), (1399766414,), (1399766416,), (1399766418,), (1399766420,), (1399766422,), (1399766432,), (1399766435,), (1399766437,), (1399766439,), (1399766444,), (1399766446,), (1399766449,), (1399766459,), (1399766464,), (1399766499,), (1399766505,), (1399766507,), (1399766509,), (1399766512,), (1399766527,), (1399766528,), (1399766529,), (1399766530,), (1399766556,), (1399766558,), (1399766560,), (1399766562,), (1399766609,), (1399766610,), (1399766611,), (1399766612,), (1399766615,), (1399766642,), (1399766643,), (1399766645,), (1399766647,), (1399766650,), (1399766665,), (1399766666,), (1399766668,), (1399766669,), (1399766748,), (1399766730,), (1399766738,), (1399766739,), (1399766742,), (1399766745,), (1399766753,), (1399766754,), (1399766756,), (1399766758,), (1399766761,), (1399766763,), (1399766781,), (1399766783,), (1399766785,), (1399766788,), (1399766790,), (1399766793,), (1399766836,), (1399766837,), (1399766839,), (1399766842,), (1399766845,), (1399766851,), (1399766864,), (1399766865,), (1399766866,), (1399766867,), (1399766868,), (1399766869,), (1399766873,), (1399766876,), (1399766878,), (1399766881,), (1399766885,), (1399766889,), (1399766891,), (1399766893,), (1399766895,), (1399766897,), (1399766901,), (1399766904,), (1399766978,), (1399766980,), (1399766982,), (1399766984,), (1399766987,), (1399767001,), (1399767004,), (1399767006,), (1399767026,), (1399767028,), (1399767030,), (1399767100,), (1399767103,), (1399767107,), (1399767111,), (1399767115,), (1399767118,), (1399767128,), (1399767129,), (1399767149,), (1399767150,), (1399767151,), (1399767152,), (1399767191,), (1399767194,), (1399767196,), (1399767198,), (1399767200,), (1399767552,), (1399767555,), (1399767558,), (1399767562,), (1399767565,), (1399767568,), (1399767572,), (1399767573,), (1399767576,), (1399767600,), (1399767629,), (1399767662,), (1399767947,), (1399768014,), (1399768305,), (1399767784,), (1399767819,), (1399767854,), (1399767889,), (1399768540,), (1399768603,), (1399768667,), (1399768731,), (1399768793,), (1399768862,), (1399769177,), (1399769178,), (1399769179,), (1399769555,), (1399769615,), (1399769659,), (1399769712,), (1399769746,), (1399769880,), (1399769881,), (1399769882,), (1399769885,), (1399769888,), (1399769891,), (1399769902,), (1399769903,), (1399769913,), (1399769917,), (1399769950,), (1399769951,), (1399769982,), (1399769984,), (1399769986,), (1399769987,), (1399769990,), (1399770012,), (1399770014,), (1399770016,), (1399770019,), (1399770022,), (1399770024,), (1399770029,), (1399770031,), (1399770035,), (1399770037,), (1399770042,), (1399770045,), (1399770048,), (1399770051,), (1399770099,), (1399770100,), (1399770101,), (1399770102,), (1399770105,), (1399770107,), (1399770272,), (1399770274,), (1399770276,), (1399770304,), (1399770306,), (1399770308,), (1399770310,), (1399770338,), (1399770339,), (1399770341,), (1399770368,), (1399770369,), (1399770370,), (1399770377,), (1399770385,), (1399770388,), (1399770502,), (1399770504,), (1399770507,), (1399770510,), (1399770518,), (1399770550,), (1399770598,), (1399770609,), (1399770622,), (1399770659,), (1399770667,), (1399770669,), (1399770678,), (1399770675,), (1399770694,), (1399770695,), (1399770696,), (1399770697,), (1399770700,), (1399770742,), (1399770744,), (1399770780,), (1399770814,), (1399770848,), (1399770860,), (1399770872,), (1399770873,), (1399770877,), (1399770880,), (1399770884,), (1399770887,), (1399770900,), (1399770906,), (1399770907,), (1399770908,), (1399770909,), (1399770910,), (1399770915,), (1399770918,), (1399770921,), (1399770925,), (1399770927,), (1399770929,), (1399770940,), (1399770942,), (1399770944,), (1399770946,), (1399770949,), (1399770951,), (1399770956,), (1399770964,), (1399770965,), (1399770966,), (1399770967,), (1399770970,), (1399770973,), (1399770992,), (1399770994,), (1399770996,), (1399771001,), (1399771004,), (1399771033,), (1399771048,), (1399771057,), (1399771066,), (1399771080,), (1399771231,), (1399771232,), (1399771234,), (1399771241,), (1399771277,), (1399771284,), (1399771311,), (1399771312,), (1399771318,), (1399771352,), (1399771370,), (1399771377,), (1399771393,), (1399771396,), (1399771411,), (1399771412,), (1399771413,), (1399771414,), (1399771417,), (1399771443,), (1399771444,), (1399771446,), (1399771449,), (1399771452,), (1399771454,), (1399771463,), (1399771465,), (1399771466,), (1399771469,), (1399771472,), (1399771475,), (1399771478,), (1399771481,), (1399771487,), (1399771506,), (1399771509,), (1399771511,), (1399771513,), (1399771545,), (1399771536,), (1399771537,), (1399771538,), (1399771539,), (1399771542,), (1399771575,), (1399771577,), (1399771579,), (1399771581,), (1399771608,), (1399771610,), (1399771612,), (1399771616,), (1399771618,), (1399771623,), (1399771653,), (1399771655,), (1399771657,), (1399771659,), (1399771662,), (1399771664,), (1399771685,), (1399771705,), (1399771722,), (1399771730,), (1399771736,), (1399771763,), (1399771778,), (1399771779,), (1399771780,), (1399771782,), (1399771892,), (1399771895,), (1399771899,), (1399771901,), (1399771912,), (1399771928,), (1399771929,), (1399771930,), (1399771962,), (1399771972,), (1399771981,), (1399771983,), (1399772010,), (1399772011,), (1399772012,), (1399772013,), (1399772297,), (1399772298,), (1399772299,), (1399772300,), (1399772357,), (1399772365,), (1399772374,), (1399772376,), (1399772378,), (1399772390,), (1399772430,), (1399772431,), (1399772432,), (1399772435,), (1399772439,), (1399772442,), (1399772556,), (1399772588,), (1399772989,), (1399772814,), (1399772848,), (1399772884,), (1399772924,), (1399772968,), (1399773038,), (1399773069,), (1399773092,), (1399773093,), (1399773096,), (1399773116,), (1399773118,), (1399773119,), (1399773122,), (1399773125,), (1399773127,), (1399773135,), (1399773159,), (1399773164,), (1399773168,), (1399773178,), (1399773206,), (1399773208,), (1399773211,), (1399773214,), (1399773217,), (1399773230,), (1399773232,), (1399773233,), (1399773235,), (1399773238,), (1399773257,), (1399773258,), (1399773265,), (1399773299,), (1399773331,), (1399773787,), (1399773831,), (1399773868,), (1399774024,), (1399774026,), (1399774033,), (1399774036,), (1399774049,), (1399774199,), (1399774234,), (1399774265,), (1399774299,), (1399774316,), (1399774321,), (1399774439,), (1399775899,), (1399776640,), (1399776808,), (1399776894,), (1399776895,), (1399776896,), (1399776947,), (1399776948,), (1399776949,), (1399776950,), (1399776952,), (1399776971,), (1399776973,), (1399776975,), (1399776976,), (1399776979,), (1399776982,), (1399776997,), (1399776998,), (1399777000,), (1399777045,), (1399777047,), (1399777051,), (1399777056,), (1399777059,), (1399777063,), (1399777068,), (1399777069,), (1399777071,), (1399777078,), (1399777080,), (1399777084,), (1399777088,), (1399777090,), (1399777091,), (1399777105,), (1399777107,), (1399777109,), (1399777111,), (1399777114,), (1399777164,), (1399777165,), (1399777166,), (1399777169,), (1399777172,), (1399777175,), (1399777183,), (1399777184,), (1399777185,), (1399777186,), (1399777190,), (1399777191,), (1399777193,), (1399777196,), (1399777199,), (1399777222,), (1399777223,), (1399777225,), (1399777226,), (1399777270,), (1399777261,), (1399777263,), (1399777265,), (1399777267,), (1399777287,), (1399777288,), (1399777289,), (1399777290,), (1399777292,), (1399777294,), (1399777311,), (1399777314,), (1399777316,), (1399777319,), (1399777372,), (1399777373,), (1399777374,), (1399777375,), (1399777378,), (1399777380,), (1399777393,), (1399777397,), (1399777404,), (1399777407,), (1399777410,), (1399777411,), (1399777427,), (1399777430,), (1399777432,), (1399777457,), (1399777498,), (1399777499,), (1399777500,), (1399777503,), (1399777506,), (1399777509,), (1399777558,), (1399777559,), (1399777561,), (1399777563,), (1399777611,), (1399777612,), (1399777613,), (1399777614,), (1399777618,), (1399777702,), (1399777731,), (1399777740,), (1399777751,), (1399777753,), (1399777798,), (1399777799,), (1399777800,), (1399777820,), (1399777823,), (1399777824,), (1399777826,), (1399777829,), (1399777878,), (1399777887,), (1399777889,), (1399777891,), (1399777915,), (1399777916,), (1399777917,), (1399777918,), (1399777944,), (1399777945,), (1399777947,), (1399777949,), (1399777952,), (1399777969,), (1399777972,), (1399777976,), (1399777980,), (1399777985,), (1399777989,), (1399778008,), (1399778009,), (1399778011,), (1399778013,), (1399778032,), (1399778020,), (1399778021,), (1399778024,), (1399778028,), (1399778030,), (1399778074,), (1399778378,), (1399778407,), (1399778492,), (1399778494,), (1399778496,), (1399778539,), (1399778675,), (1399778680,), (1399778708,), (1399778699,), (1399778702,), (1399778705,), (1399778744,), (1399778757,), (1399778781,), (1399778783,), (1399778785,), (1399778787,), (1399778835,), (1399778836,), (1399778837,), (1399778838,), (1399778841,), (1399778856,), (1399778859,), (1399778866,), (1399778868,), (1399778871,), (1399778873,), (1399778890,), (1399778893,), (1399778896,), (1399778912,), (1399778921,), (1399778923,), (1399779035,), (1399779412,), (1399779415,), (1399779469,), (1399779768,), (1399782312,), (1399782306,), (1399782310,), (1399782372,), (1399782440,), (1399782468,), (1399782537,), (1399782543,), (1399782754,), (1399782774,), (1399782786,), (1399782791,), (1399782892,), (1399782930,), (1399782938,), (1399782951,), (1399783275,), (1399783277,), (1399783282,), (1399783285,), (1399783316,), (1399783354,), (1399783422,), (1399783424,), (1399783475,), (1399783470,), (1399783472,), (1399783573,), (1399783575,), (1399783577,), (1399783581,), (1399783605,), (1399783606,), (1399783607,), (1399783608,), (1399783611,), (1399783635,), (1399783637,), (1399783639,), (1399783641,), (1399783644,), (1399783695,), (1399783709,), (1399783711,), (1399783712,), (1399783741,), (1399783773,), (1399783844,), (1399783868,), (1399783905,), (1399784136,), (1399784196,), (1399784197,), (1399784200,), (1399784203,), (1399784207,), (1399784315,), (1399784321,), (1399784323,), (1399784331,), (1399784362,), (1399784393,), (1399784662,), (1399784664,), (1399784668,), (1399784672,), (1399784676,), (1399784679,), (1399784694,), (1399784695,), (1399784696,), (1399784698,), (1399784704,), (1399784706,), (1399784708,), (1399784711,), (1399784721,), (1399784722,), (1399784723,), (1399784724,), (1399784748,), (1399784751,), (1399784754,), (1399784757,), (1399784796,), (1399784805,), (1399784822,), (1399784824,), (1399784828,), (1399784829,), (1399784851,), (1399784841,), (1399784843,), (1399784845,), (1399784847,), (1399784910,), (1399784912,), (1399784913,), (1399785174,), (1399785186,), (1399785199,), (1399785201,), (1399785204,), (1399785229,), (1399785231,), (1399785233,), (1399785235,), (1399785238,), (1399785241,), (1399785254,), (1399785255,), (1399785256,), (1399785259,), (1399785262,), (1399785265,), (1399785280,), (1399785284,), (1399785288,), (1399785295,), (1399785303,), (1399785305,), (1399785307,), (1399785310,), (1399785323,), (1399785324,), (1399785325,), (1399785326,), (1399785486,), (1399785518,), (1399785556,), (1399785589,), (1399785986,), (1399786019,), (1399786058,), (1399786071,), (1399786104,), (1399786469,), (1399786472,), (1399786474,), (1399786484,), (1399786518,), (1399786980,), (1399786987,), (1399787010,), (1399787047,), (1399787138,), (1399787140,), (1399787141,), (1399787231,), (1399787264,), (1399787297,), (1399787329,), (1399787364,), (1399787530,), (1399787570,), (1399787602,), (1399787635,), (1399787667,), (1399787701,), (1399788280,), (1399788318,), (1399788352,), (1399788416,), (1399788485,), (1399788564,), (1399788655,), (1399788656,), (1399788661,), (1399788665,), (1399788839,), (1399788728,), (1399788762,), (1399788802,), (1399788831,), (1399788836,), (1399788915,), (1399788918,), (1399788950,), (1399788966,), (1399788970,), (1399788973,), (1399788994,), (1399788996,), (1399788999,), (1399789102,), (1399789135,), (1399789166,), (1399789199,), (1399789232,), (1399789266,), (1399789563,), (1399789564,), (1399789565,), (1399789566,), (1399789569,), (1399789729,), (1399789762,), (1399789792,), (1399789795,), (1399789798,), (1399789898,), (1399789900,), (1399789902,), (1399789904,), (1399789906,), (1399789908,), (1399790055,), (1399790090,), (1399790122,), (1399790555,), (1399790587,), (1399790622,), (1399791245,), (1399791258,), (1399791260,), (1399791264,), (1399791291,), (1399791326,), (1399791529,), (1399791533,), (1399791553,), (1399791570,), (1399791600,), (1399791602,), (1399791604,), (1399791960,), (1399791994,), (1399792026,), (1399792052,), (1399792155,), (1399792188,), (1399792222,), (1399792361,), (1399792362,), (1399792728,), (1399792659,), (1399792693,), (1399792967,), (1399792989,), (1399792991,), (1399793009,), (1399793024,), (1399793103,), (1399793104,), (1399793106,), (1399793108,), (1399793111,), (1399793137,), (1399793145,), (1399793182,), (1399793636,), (1399793667,), (1399793693,), (1399793696,), (1399793699,), (1399793704,), (1399793761,), (1399794060,), (1399794068,), (1399794070,), (1399794087,), (1399794089,), (1399794091,), (1399794135,), (1399794139,), (1399794145,), (1399794160,), (1399794285,), (1399794286,), (1399794289,), (1399794291,), (1399794370,), (1399794372,), (1399794400,), (1399794402,), (1399794614,), (1399794616,), (1399794642,), (1399794643,), (1399794645,), (1399794646,), (1399794649,), (1399794652,), (1399794680,), (1399794677,), (1399794678,), (1399794696,), (1399794697,), (1399794698,), (1399794699,), (1399794708,), (1399794715,), (1399794717,), (1399794756,), (1399794758,), (1399794760,), (1399794762,), (1399794766,), (1399794805,), (1399794845,), (1399794881,), (1399794913,), (1399794920,), (1399794935,), (1399794937,), (1399794955,), (1399794957,), (1399794959,), (1399795006,), (1399795008,), (1399795010,), (1399795024,), (1399795062,), (1399795231,), (1399795250,), (1399795270,), (1399795272,), (1399795274,), (1399795276,), (1399795346,), (1399795348,), (1399795350,), (1399795351,), (1399795353,), (1399795356,), (1399795361,), (1399795376,), (1399795379,), (1399795382,), (1399795398,), (1399796039,), (1399796037,), (1399797628,), (1399797700,), (1399797702,), (1399797719,), (1399797720,), (1399797721,), (1399797722,), (1399797753,), (1399797772,), (1399797806,), (1399797810,), (1399797829,), (1399797831,), (1399797832,), (1399797834,), (1399797837,), (1399797853,), (1399797869,), (1399797871,), (1399797874,), (1399797876,), (1399797901,), (1399797900,), (1399797916,), (1399797918,), (1399797952,), (1399797954,), (1399797975,), (1399797977,), (1399797992,), (1399797994,), (1399797996,), (1399798007,), (1399798009,), (1399798034,), (1399798036,), (1399798134,), (1399798536,), (1399798721,), (1399798723,), (1399798742,), (1399798743,), (1399798744,), (1399798745,), (1399798772,), (1399798774,), (1399798776,), (1399798780,), (1399798783,), (1399798785,), (1399798801,), (1399798807,), (1399798808,), (1399798809,), (1399798810,), (1399798813,), (1399798815,), (1399798832,), (1399798834,), (1399798836,), (1399798851,), (1399798852,), (1399798853,), (1399798854,), (1399798855,), (1399798858,), (1399798879,), (1399798889,), (1399798897,), (1399798899,), (1399798902,), (1399798905,), (1399799423,), (1399800514,), (1399801069,), (1399800513,), (1399800886,), (1399800950,), (1399800996,), (1399801032,), (1399801511,), (1399801568,), (1399801606,), (1399802030,), (1399802193,), (1399802195,), (1399802286,), (1399802310,), (1399802507,), (1399802509,), (1399802512,), (1399802538,), (1399802536,), (1399802537,), (1399802576,), (1399802578,), (1399802581,), (1399802771,), (1399802773,), (1399802775,), (1399802779,), (1399802954,), (1399802977,), (1399802991,), (1399802994,), (1399803018,), (1399803428,), (1399803463,), (1399803493,), (1399803525,), (1399803558,), (1399803699,), (1399803701,), (1399803722,), (1399803724,), (1399804002,), (1399804008,), (1399804037,), (1399804081,), (1399804113,), (1399804144,), (1399804263,), (1399804295,), (1399804313,), (1399804315,), (1399804447,), (1399804449,), (1399804452,), (1399804455,), (1399804473,), (1399804475,), (1399804476,), (1399804479,), (1399804482,), (1399804484,), (1399804489,), (1399804495,), (1399804497,), (1399804498,), (1399804510,), (1399804512,), (1399804514,), (1399804515,), (1399804534,), (1399804535,), (1399804538,), (1399804543,), (1399804546,), (1399804560,), (1399804562,), (1399804564,), (1399804566,), (1399804588,), (1399804589,), (1399804591,), (1399804616,), (1399804611,), (1399804612,), (1399804614,), (1399804637,), (1399804639,), (1399804641,), (1399804642,), (1399804644,), (1399804646,), (1399804659,), (1399804661,), (1399804686,), (1399804687,), (1399804688,), (1399804689,), (1399804707,), (1399804708,), (1399804710,), (1399804713,), (1399804716,), (1399804718,), (1399804728,), (1399804731,), (1399804736,), (1399804737,), (1399804738,), (1399804753,), (1399804754,), (1399804757,), (1399804788,), (1399804790,), (1399804792,), (1399804793,), (1399804795,), (1399804809,), (1399804810,), (1399804811,), (1399804812,), (1399804814,), (1399804843,), (1399804845,), (1399804847,), (1399804849,), (1399804852,), (1399804855,), (1399804880,), (1399804903,), (1399804923,), (1399804924,), (1399804925,), (1399804926,), (1399804929,), (1399804945,), (1399804948,), (1399804949,), (1399804952,), (1399804955,), (1399804958,), (1399804981,), (1399804982,), (1399804984,), (1399804986,), (1399804996,), (1399804989,), (1399804990,), (1399804993,), (1399805007,), (1399805008,), (1399805010,), (1399805014,), (1399805317,), (1399806707,), (1399806910,), (1399806677,), (1399806902,), (1399806903,), (1399806904,), (1399806907,), (1399806922,), (1399806924,), (1399806926,), (1399806928,), (1399806931,), (1399806947,), (1399806948,), (1399806949,), (1399806973,), (1399806975,), (1399806977,), (1399806994,), (1399806998,), (1399807002,), (1399807004,), (1399807007,), (1399807010,), (1399807060,), (1399807061,), (1399807062,), (1399807063,), (1399807064,), (1399807065,), (1399807244,), (1399807246,), (1399807248,), (1399807264,), (1399807265,), (1399807266,), (1399807267,), (1399807269,), (1399807270,), (1399807289,), (1399807290,), (1399807291,), (1399807292,), (1399807295,), (1399807298,), (1399807319,), (1399807321,), (1399807323,), (1399807349,), (1399807352,), (1399807355,), (1399807359,), (1399807363,), (1399807366,), (1399807375,), (1399807377,), (1399807379,), (1399807382,), (1399807383,), (1399807385,), (1399807409,), (1399807411,), (1399807414,), (1399807416,), (1399807418,), (1399807485,), (1399807520,), (1399807548,), (1399807577,), (1399807606,), (1399807638,), (1399807853,), (1399807881,), (1399807882,), (1399807883,), (1399807886,), (1399808001,), (1399808003,), (1399808005,), (1399808139,), (1399808141,), (1399808159,), (1399808160,), (1399808161,), (1399808162,), (1399808165,), (1399808184,), (1399808189,), (1399808191,), (1399808194,), (1399808196,), (1399808218,), (1399808220,), (1399808223,), (1399808226,), (1399808231,), (1399808261,), (1399808294,), (1399808297,), (1399808299,), (1399808306,), (1399808307,), (1399808310,), (1399808311,), (1399808314,), (1399808315,), (1399808530,), (1399808597,), (1399808681,), (1399808747,), (1399808787,), (1399808826,), (1399808957,), (1399808967,), (1399808969,), (1399809062,), (1399809063,), (1399809064,), (1399809065,), (1399809068,), (1399809071,), (1399809098,), (1399809100,), (1399809103,), (1399809105,), (1399811487,), (1399811432,), (1399812171,), (1399812239,), (1399812303,), (1399812356,), (1399812372,), (1399812374,), (1399812753,), (1399812792,), (1399812825,), (1399813346,), (1399813379,), (1399813410,), (1399813442,), (1399813476,), (1399813561,), (1399813594,), (1399813639,), (1399813674,), (1399813711,), (1399813746,), (1399813823,), (1399813824,), (1399813852,), (1399813891,), (1399813902,), (1399813954,), (1399813957,), (1399813960,), (1399813975,), (1399813977,), (1399813979,), (1399813981,), (1399813984,), (1399813987,), (1399814044,), (1399814046,), (1399814048,), (1399814051,), (1399814054,), (1399814056,), (1399814116,), (1399814157,), (1399814193,), (1399814239,), (1399814275,), (1399814312,), (1399814347,), (1399814354,), (1399814435,), (1399814480,), (1399814498,), (1399814499,), (1399814502,), (1399814749,), (1399814782,), (1399814784,), (1399814786,), (1399814809,), (1399814811,), (1399814813,), (1399814815,), (1399814818,), (1399814821,), (1399814850,), (1399814871,), (1399814873,), (1399814895,), (1399814897,), (1399814900,), (1399814903,), (1399814905,), (1399814907,), (1399814914,), (1399814916,), (1399814917,), (1399814921,), (1399814922,), (1399814924,), (1399814927,), (1399814930,), (1399814958,), (1399814954,), (1399814956,), (1399814975,), (1399814976,), (1399814977,), (1399814978,), (1399814980,), (1399814982,), (1399815007,), (1399815008,), (1399815009,), (1399815010,), (1399815013,), (1399815014,), (1399815026,), (1399815028,), (1399815030,), (1399815032,), (1399815035,), (1399815065,), (1399815069,), (1399815070,), (1399815077,), (1399815108,), (1399815119,), (1399815163,), (1399815165,), (1399815168,), (1399815172,), (1399815197,), (1399815198,), (1399815199,), (1399815200,), (1399815215,), (1399815216,), (1399815218,), (1399815220,), (1399815222,), (1399815225,), (1399815259,), (1399815262,), (1399815263,), (1399815264,), (1399815266,), (1399815282,), (1399815283,), (1399815284,), (1399815287,), (1399815289,), (1399815291,), (1399815310,), (1399815312,), (1399815326,), (1399815327,), (1399815329,), (1399815332,), (1399815335,), (1399815336,), (1399815346,), (1399815347,), (1399815348,), (1399815349,), (1399815376,), (1399815377,), (1399815379,), (1399815387,), (1399815397,), (1399815409,), (1399815410,), (1399815411,), (1399815412,), (1399815414,), (1399815416,), (1399815436,), (1399815438,), (1399815441,), (1399815504,), (1399815498,), (1399815501,), (1399815518,), (1399815608,), (1399815640,), (1399815644,), (1399815658,), (1399815659,), (1399815662,), (1399815689,), (1399815691,), (1399815693,), (1399815695,), (1399815743,), (1399815748,), (1399815820,), (1399815856,), (1399815886,), (1399815895,), (1399815899,), (1399816101,), (1399816138,), (1399816182,), (1399816307,), (1399816308,), (1399816309,), (1399816310,), (1399816444,), (1399816477,), (1399816479,), (1399816481,), (1399816484,), (1399816486,), (1399816499,), (1399816501,), (1399816502,), (1399816505,), (1399816508,), (1399816512,), (1399816525,), (1399816528,), (1399816539,), (1399816541,), (1399816543,), (1399816544,), (1399816553,), (1399816548,), (1399816550,), (1399816562,), (1399816564,), (1399816566,), (1399816568,), (1399816571,), (1399816589,), (1399816590,), (1399816591,), (1399816605,), (1399816607,), (1399816609,), (1399816611,), (1399816615,), (1399816616,), (1399816670,), (1399816701,), (1399816734,), (1399816914,), (1399816916,), (1399816918,), (1399816922,), (1399816946,), (1399816948,), (1399816950,), (1399816952,), (1399816955,), (1399816957,), (1399816964,), (1399816966,), (1399816968,), (1399816970,), (1399816987,), (1399816988,), (1399816991,), (1399817000,), (1399817023,), (1399817026,), (1399817029,), (1399817032,), (1399817034,), (1399817036,), (1399817043,), (1399817045,), (1399817047,), (1399817053,), (1399817055,), (1399817058,), (1399817061,), (1399817063,), (1399817069,), (1399817072,), (1399817075,), (1399817078,), (1399817082,), (1399817086,), (1399817098,), (1399817101,), (1399817104,), (1399817107,), (1399817896,), (1399817978,), (1399818041,), (1399818112,), (1399818184,), (1399818288,), (1399818466,), (1399818468,), (1399818686,), (1399818505,), (1399818541,), (1399818577,), (1399818612,), (1399819290,), (1399819943,), (1399820912,), (1399820944,), (1399820949,), (1399820953,), (1399820955,), (1399821002,), (1399821004,), (1399821006,), (1399821008,), (1399821011,), (1399821014,), (1399821027,), (1399821029,), (1399821031,), (1399821036,), (1399821039,), (1399821059,), (1399821073,), (1399821077,), (1399821081,), (1399821085,), (1399821093,), (1399821095,), (1399821097,), (1399821099,), (1399821101,), (1399821103,), (1399821153,), (1399821154,), (1399821155,), (1399821173,), (1399821208,), (1399821302,), (1399821303,), (1399821304,), (1399821307,), (1399821311,), (1399821314,), (1399821343,), (1399821345,), (1399821348,), (1399821351,), (1399821367,), (1399821357,), (1399821359,), (1399821361,), (1399821363,), (1399821375,), (1399821376,), (1399821389,), (1399821390,), (1399821410,), (1399821454,), (1399821456,), (1399821458,), (1399821460,), (1399821687,), (1399821688,), (1399821706,), (1399821912,), (1399821936,), (1399821938,), (1399821942,), (1399822219,), (1399822258,), (1399822277,), (1399822326,), (1399822328,), (1399822330,), (1399822358,), (1399822359,), (1399822550,), (1399822551,), (1399822553,), (1399822621,), (1399822608,), (1399822753,), (1399822755,), (1399822757,), (1399822759,), (1399822766,), (1399822879,), (1399822880,), (1399822881,), (1399822897,), (1399822899,), (1399822901,), (1399822905,), (1399822908,), (1399822915,), (1399822921,), (1399822924,), (1399822926,), (1399822928,), (1399822930,), (1399822932,), (1399822935,), (1399822938,), (1399822969,), (1399822978,), (1399822993,), (1399823022,), (1399823024,), (1399823026,), (1399823028,), (1399823031,), (1399823034,), (1399823046,), (1399823047,), (1399823048,), (1399823049,), (1399823075,), (1399823077,), (1399823079,), (1399823092,), (1399823095,), (1399823096,), (1399823098,), (1399823101,), (1399823124,), (1399823125,), (1399823126,), (1399823127,), (1399823130,), (1399823132,), (1399823145,), (1399823146,), (1399823147,), (1399823167,), (1399823169,), (1399823171,), (1399823173,), (1399823176,), (1399823179,), (1399823197,), (1399823216,), (1399823217,), (1399823227,), (1399823230,), (1399823233,), (1399823245,), (1399823246,), (1399823247,), (1399823248,), (1399823250,), (1399823262,), (1399823255,), (1399823257,), (1399823260,), (1399823272,), (1399823273,), (1399823274,), (1399823275,), (1399823278,), (1399823300,), (1399823303,), (1399823305,), (1399823307,), (1399823325,), (1399823326,), (1399823327,), (1399823328,), (1399823331,), (1399823356,), (1399823358,), (1399823360,), (1399823362,), (1399823365,), (1399823368,), (1399823376,), (1399823379,), (1399823382,), (1399823386,), (1399823390,), (1399823408,), (1399823410,), (1399823412,), (1399823428,), (1399823430,), (1399823431,), (1399823432,), (1399823435,), (1399823438,), (1399823493,), (1399823494,), (1399823495,), (1399823496,), (1399823517,), (1399823518,), (1399823519,), (1399823522,), (1399823525,), (1399823533,), (1399823541,), (1399823543,), (1399823545,), (1399823547,), (1399823551,), (1399823552,), (1399823566,), (1399823591,), (1399823594,), (1399824239,), (1399824279,), (1399824402,), (1399824438,), (1399824477,), (1399824497,), (1399824498,), (1399824647,), (1399824505,), (1399824508,), (1399824534,), (1399824570,), (1399824611,), (1399824933,), (1399824972,), (1399825008,), (1399825042,), (1399825414,), (1399825445,), (1399825478,), (1399825519,), (1399825555,), (1399825590,), (1399825654,), (1399825663,), (1399825676,), (1399826018,), (1399826030,), (1399826038,), (1399826040,), (1399826042,), (1399826065,), (1399826070,), (1399826105,), (1399826152,), (1399826154,), (1399826162,), (1399826211,), (1399826212,), (1399826213,), (1399826214,), (1399826217,), (1399826251,), (1399826303,), (1399826305,), (1399826307,), (1399826309,), (1399826438,), (1399826439,), (1399826440,), (1399826441,), (1399826443,), (1399826445,), (1399826478,), (1399826479,), (1399826480,), (1399826481,), (1399826483,), (1399826484,), (1399826502,), (1399826504,), (1399826509,), (1399826516,), (1399826517,), (1399826521,), (1399826532,), (1399826539,), (1399826541,), (1399826545,), (1399826577,), (1399826611,), (1399826705,), (1399826683,), (1399826686,), (1399826690,), (1399826691,), (1399826694,), (1399826774,), (1399826842,), (1399826857,), (1399826860,), (1399826927,), (1399826934,), (1399826937,), (1399826938,), (1399826941,), (1399826942,), (1399826960,), (1399826961,), (1399826962,), (1399826963,), (1399826966,), (1399826986,), (1399826993,), (1399826995,), (1399827014,), (1399827020,), (1399827022,), (1399827025,), (1399827028,), (1399827075,), (1399827076,), (1399827077,), (1399827078,), (1399827110,), (1399827146,), (1399827414,), (1399827416,), (1399827418,), (1399827420,), (1399827458,), (1399827461,), (1399827462,), (1399827463,), (1399827464,), (1399827478,), (1399827479,), (1399827480,), (1399827483,), (1399827486,), (1399827489,), (1399827505,), (1399827508,), (1399827511,), (1399827514,), (1399827520,), (1399827522,), (1399827524,), (1399827537,), (1399827631,), (1399827632,), (1399827655,), (1399827685,), (1399827687,), (1399827688,), (1399827697,), (1399827727,), (1399827728,), (1399827729,), (1399827730,), (1399827764,), (1399827766,), (1399827768,), (1399827770,), (1399827787,), (1399827788,), (1399827789,), (1399827792,), (1399827795,), (1399827800,), (1399827810,), (1399827812,), (1399827816,), (1399827823,), (1399827826,), (1399827827,), (1399827844,), (1399827846,), (1399827848,), (1399827850,), (1399827854,), (1399827869,), (1399827871,), (1399827873,), (1399827875,), (1399827885,), (1399827896,), (1399827900,), (1399827928,), (1399827929,), (1399827943,), (1399827945,), (1399827949,), (1399830825,), (1399832279,), (1399832281,), (1399832283,), (1399832301,), (1399832302,), (1399832303,), (1399832323,), (1399832326,), (1399832328,), (1399832330,), (1399832333,), (1399832348,), (1399832350,), (1399832352,), (1399832356,), (1399832373,), (1399832377,), (1399832378,), (1399832381,), (1399832384,), (1399832386,), (1399832397,), (1399832398,), (1399832399,), (1399832400,), (1399832402,), (1399832404,), (1399832425,), (1399832427,), (1399832429,), (1399832431,), (1399832445,), (1399832452,), (1399832455,), (1399832457,), (1399832460,), (1399832462,), (1399832467,), (1399832468,), (1399832470,), (1399832482,), (1399832476,), (1399832479,), (1399832480,), (1399832491,), (1399832492,), (1399832493,), (1399832531,), (1399832533,), (1399832535,), (1399832537,), (1399832540,), (1399832543,), (1399832556,), (1399832557,), (1399832558,), (1399832560,), (1399832562,), (1399832565,), (1399832579,), (1399832584,), (1399832586,), (1399832588,), (1399832590,), (1399832592,), (1399832596,), (1399832599,), (1399832602,), (1399832610,), (1399832614,), (1399832615,), (1399832618,), (1399832621,), (1399832650,), (1399832653,), (1399832654,), (1399832655,), (1399832658,), (1399832661,), (1399832672,), (1399832673,), (1399832788,), (1399832790,), (1399832792,), (1399832816,), (1399832818,), (1399832820,), (1399832822,), (1399832825,), (1399832840,), (1399832841,), (1399832842,), (1399832843,), (1399832846,), (1399832848,), (1399832855,), (1399832863,), (1399832866,), (1399832868,), (1399832888,), (1399832882,), (1399832884,), (1399832885,), (1399832886,), (1399832905,), (1399832907,), (1399832909,), (1399832911,), (1399832928,), (1399832930,), (1399832932,), (1399832933,), (1399832956,), (1399832958,), (1399832960,), (1399832962,), (1399832965,), (1399832966,), (1399832981,), (1399832982,), (1399832983,), (1399832986,), (1399832989,), (1399832992,), (1399833007,), (1399833009,), (1399833011,), (1399833013,), (1399833015,), (1399833017,), (1399833020,), (1399833035,), (1399833036,), (1399833037,), (1399833038,), (1399833076,), (1399833077,), (1399833079,), (1399833102,), (1399833104,), (1399833105,), (1399833109,), (1399833113,), (1399833149,), (1399833189,), (1399833191,), (1399833193,), (1399833195,), (1399833198,), (1399833201,), (1399833214,), (1399833215,), (1399833216,), (1399833217,), (1399833220,), (1399833232,), (1399833233,), (1399833234,), (1399833235,), (1399833250,), (1399833251,), (1399833252,), (1399833256,), (1399833259,), (1399833264,), (1399833271,), (1399833273,), (1399833274,), (1399833275,), (1399833286,), (1399833276,), (1399833277,), (1399833280,), (1399833283,), (1399833292,), (1399833294,), (1399833296,), (1399833320,), (1399833329,), (1399833330,), (1399833333,), (1399833336,), (1399833339,), (1399833345,), (1399833346,), (1399833347,), (1399833348,), (1399833351,), (1399833353,), (1399833367,), (1399833368,), (1399833369,), (1399833385,), (1399833386,), (1399833387,), (1399833388,), (1399833391,), (1399833394,), (1399833415,), (1399833416,), (1399833417,), (1399833418,), (1399833421,), (1399833432,), (1399833433,), (1399833434,), (1399833435,), (1399833461,), (1399833465,), (1399833466,), (1399833477,), (1399833478,), (1399833479,), (1399833482,), (1399833485,), (1399833488,), (1399833501,), (1399833503,), (1399833504,), (1399833505,), (1399833507,), (1399833511,), (1399833515,), (1399833519,), (1399833525,), (1399833526,), (1399833527,), (1399833528,), (1399833540,), (1399833541,), (1399833542,), (1399833543,), (1399833546,), (1399833549,), (1399833561,), (1399833565,), (1399833569,), (1399833572,), (1399833604,), (1399833635,), (1399833779,), (1399833812,), (1399833845,), (1399833880,), (1399833915,), (1399833954,), (1399834226,), (1399834233,), (1399834235,), (1399834236,), (1399834073,), (1399834109,), (1399834146,), (1399834182,), (1399834217,), (1399834346,), (1399834347,), (1399834381,), (1399834391,), (1399834416,), (1399834440,), (1399834442,), (1399834444,), (1399834667,), (1399834703,), (1399834738,), (1399834773,), (1399834805,), (1399834929,), (1399834931,), (1399834958,), (1399834996,), (1399835031,), (1399835066,), (1399835171,), (1399835187,), (1399835189,), (1399835222,), (1399835247,), (1399835252,), (1399835256,), (1399835259,), (1399835268,), (1399835269,), (1399835270,), (1399835271,), (1399835274,), (1399835442,), (1399835473,), (1399835504,), (1399835539,), (1399835572,), (1399835977,), (1399836009,), (1399836024,), (1399836027,), (1399836030,), (1399836032,), (1399836050,), (1399836056,), (1399836060,), (1399836062,), (1399836064,), (1399836066,), (1399836413,), (1399836414,), (1399836415,), (1399836441,), (1399836495,), (1399836511,), (1399836556,), (1399836557,), (1399836570,), (1399836571,), (1399836572,), (1399836573,), (1399836728,), (1399836760,), (1399836793,), (1399836818,), (1399836821,), (1399836835,), (1399836837,), (1399836840,), (1399836843,), (1399836846,), (1399836848,), (1399836872,), (1399836876,), (1399836883,), (1399837147,), (1399836954,), (1399836986,), (1399837046,), (1399837079,), (1399837114,), (1399837366,), (1399837398,), (1399837429,), (1399837437,), (1399837439,), (1399837507,), (1399837540,), (1399837569,), (1399837601,), (1399837770,), (1399837771,), (1399837772,), (1399837775,), (1399837778,), (1399837781,), (1399837795,), (1399837805,), (1399837809,), (1399837837,), (1399837873,), (1399837907,), (1399837943,), (1399838335,), (1399838368,), (1399838402,), (1399838439,), (1399838478,), (1399838516,), (1399838567,), (1399838568,), (1399838569,), (1399838574,), (1399838608,), (1399839215,), (1399839267,), (1399839301,), (1399839551,), (1399839552,), (1399839553,), (1399839560,), (1399839594,), (1399840110,), (1399840156,), (1399840200,), (1399840208,), (1399840211,), (1399840214,), (1399840220,), (1399840222,), (1399840223,), (1399840224,), (1399840332,), (1399840363,), (1399840399,), (1399840437,), (1399840475,), (1399840511,), (1399840735,), (1399840768,), (1399840797,), (1399840977,), (1399840979,), (1399840981,), (1399840982,), (1399840985,), (1399840986,), (1399841279,), (1399841281,), (1399841282,), (1399841285,), (1399841310,), (1399841344,), (1399841387,), (1399841406,), (1399841442,), (1399841454,), (1399841458,), (1399841459,), (1399841462,), (1399841695,), (1399841529,), (1399841561,), (1399841593,), (1399841628,), (1399841662,), (1399841983,), (1399842022,), (1399842037,), (1399842146,), (1399842181,), (1399842216,), (1399842243,), (1399842269,), (1399842277,), (1399842370,), (1399844009,), (1399844014,), (1399844016,), (1399844020,), (1399844257,), (1399845062,), (1399845096,), (1399845564,), (1399845562,), (1399845563,), (1399845636,), (1399845670,), (1399845702,), (1399845733,), (1399846307,), (1399846360,), (1399846394,), (1399846424,), (1399846456,), (1399846842,), (1399846847,), (1399846848,), (1399846851,), (1399846854,), (1399846859,), (1399846867,), (1399846869,), (1399846873,), (1399846875,), (1399846879,), (1399846882,), (1399846921,), (1399847563,), (1399847599,), (1399847665,), (1399847707,), (1399848078,), (1399848192,), (1399848197,), (1399848200,), (1399848203,), (1399848205,), (1399848216,), (1399848238,), (1399848315,), (1399848378,), (1399848440,), (1399848518,), (1399848989,), (1399849043,), (1399849429,), (1399849430,), (1399849457,), (1399849508,), (1399849581,), (1399850039,), (1399850074,), (1399850105,), (1399850135,), (1399850166,), (1399850206,), (1399850296,), (1399850327,), (1399850495,), (1399850496,), (1399850497,), (1399850498,), (1399850501,), (1399850503,), (1399850843,), (1399850847,), (1399850851,), (1399850854,), (1399850857,), (1399850858,), (1399850863,), (1399850864,), (1399850865,), (1399850866,), (1399850867,), (1399850870,), (1399851168,), (1399851032,), (1399851066,), (1399851099,), (1399851131,), (1399851421,), (1399851483,), (1399851546,), (1399852362,), (1399852394,), (1399852428,), (1399852463,), (1399852718,), (1399852721,), (1399852740,), (1399852748,), (1399852778,), (1399852789,), (1399852842,), (1399852854,), (1399852937,), (1399853035,), (1399853124,), (1399854086,), (1399854088,), (1399854106,), (1399854107,), (1399854108,), (1399854109,), (1399854127,), (1399854133,), (1399854166,), (1399854172,), (1399854181,), (1399854182,), (1399854252,), (1399854285,), (1399854320,), (1399854355,), (1399854386,), (1399854391,), (1399854450,), (1399855495,), (1399855497,), (1399855499,), (1399855524,), (1399855526,), (1399855527,), (1399856123,), (1399856125,), (1399856127,), (1399856180,), (1399856211,), (1399856247,), (1399856284,), (1399856325,), (1399856592,), (1399856544,), (1399856546,), (1399856549,), (1399856551,), (1399856557,), (1399856749,), (1399856765,), (1399856801,), (1399856803,), (1399856805,), (1399856808,), (1399856811,), (1399856821,), (1399856823,), (1399856826,), (1399856828,), (1399856830,), (1399856840,), (1399856853,), (1399856863,), (1399856872,), (1399856873,), (1399856874,), (1399856879,), (1399856882,), (1399856885,), (1399856888,), (1399856890,), (1399856893,), (1399856896,), (1399856899,), (1399856902,), (1399856904,), (1399856925,), (1399856927,), (1399856929,), (1399856959,), (1399856996,), (1399857370,), (1399857401,), (1399857441,), (1399857478,), (1399857514,), (1399857536,), (1399857599,), (1399857632,), (1399857669,), (1399857703,), (1399857903,), (1399857904,), (1399857909,), (1399857938,), (1399857964,), (1399857965,), (1399857966,), (1399857969,), (1399857972,), (1399857975,), (1399857985,), (1399857987,), (1399857989,), (1399857992,), (1399857994,), (1399858021,), (1399858022,), (1399858023,), (1399858038,), (1399858040,), (1399858043,), (1399858051,), (1399858055,), (1399858058,), (1399858065,), (1399858067,), (1399858621,), (1399858896,), (1399858920,), (1399858928,), (1399858958,), (1399858965,), (1399858967,), (1399858980,), (1399858998,), (1399859000,), (1399859002,), (1399859004,), (1399859007,), (1399859020,), (1399859021,), (1399859022,), (1399859023,), (1399859297,), (1399859331,), (1399859366,), (1399859398,), (1399859760,), (1399859761,), (1399859762,), (1399859763,), (1399859766,), (1399859787,), (1399859811,), (1399859846,), (1399859883,), (1399859918,), (1399860158,), (1399860193,), (1399860203,), (1399860206,), (1399860233,), (1399860250,), (1399860264,), (1399860265,), (1399860269,), (1399860275,), (1399860278,), (1399860279,), (1399860282,), (1399860285,), (1399860288,), (1399860291,), (1399860436,), (1399860470,), (1399860504,), (1399860854,), (1399860855,), (1399860856,), (1399860859,), (1399861081,), (1399861082,), (1399861084,), (1399861102,), (1399861138,), (1399861201,), (1399861197,), (1399861199,), (1399861200,), (1399861216,), (1399861218,), (1399861220,), (1399861222,), (1399861225,), (1399861227,), (1399861244,), (1399861245,), (1399861246,), (1399861247,), (1399861250,), (1399861261,), (1399861262,), (1399861263,), (1399861266,), (1399861269,), (1399861272,), (1399861288,), (1399861289,), (1399861290,), (1399861307,), (1399861309,), (1399861311,), (1399861314,), (1399861338,), (1399861339,), (1399861340,), (1399861341,), (1399861343,), (1399861379,), (1399861395,), (1399861397,), (1399861399,), (1399861431,), (1399861433,), (1399861451,), (1399861452,), (1399861453,), (1399861454,), (1399861457,), (1399861479,), (1399861484,), (1399861487,), (1399861489,), (1399861491,), (1399861500,), (1399861503,), (1399861505,), (1399861508,), (1399861734,), (1399861735,), (1399861773,), (1399861810,), (1399861834,), (1399861838,), (1399861889,), (1399861892,), (1399861895,), (1399861899,), (1399861902,), (1399861904,), (1399861909,), (1399861910,), (1399861911,), (1399861912,), (1399861920,), (1399861921,), (1399862345,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17122025': {'nb_upload': 32, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29498746]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] map_info['map_portfolio_photo'] : {29498746: [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699]} final : True mtd_id 4302 list_pids : [1399782312, 1399779768, 1399779469, 1399779415, 1399779412, 1399779035, 1399778923, 1399778921, 1399778912, 1399778896, 1399778893, 1399778890, 1399778873, 1399778871, 1399778868, 1399778866, 1399778859, 1399778856, 1399778841, 1399778838, 1399778837, 1399778836, 1399778835, 1399778787, 1399778785, 1399778783, 1399778781, 1399778757, 1399778744, 1399778705, 1399778702, 1399778699] Looping around the photos to save general results len do output : 1 /29498746Didn'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, '4243977') ('4302', '29498746', '1399782312', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779768', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779469', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779415', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779412', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399779035', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778923', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778921', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778912', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778896', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778893', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778890', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778873', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778871', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778868', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778866', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778859', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778856', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778841', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778838', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778837', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778836', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778835', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778787', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778785', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778783', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778781', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778757', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778744', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778705', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778702', None, None, None, None, None, '4243977') ('4302', None, None, None, None, None, None, None, '4243977') ('4302', '29498746', '1399778699', None, None, None, None, None, '4243977') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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, '29498746', 'None', None, None, None, None, '4243977'), ('4302', '29498746', '1399782312', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779768', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779469', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779415', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779412', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399779035', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778923', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778921', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778912', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778896', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778893', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778890', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778873', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778871', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778868', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778866', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778859', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778856', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778841', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778838', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778837', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778836', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778835', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778787', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778785', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778783', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778781', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778757', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778744', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778705', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778702', None, None, None, None, None, '4243977'), ('4302', '29498746', '1399778699', None, None, None, None, None, '4243977')] time used for this insertion : 0.020343303680419922 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.039982080459595 time spend to save output : 0.02061152458190918 total time spend for step 5 : 9.060593605041504 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 (4243977) 3.01user 2.16system 0:23.53elapsed 21%CPU (0avgtext+0avgdata 174256maxresident)k 280inputs+25656outputs (15major+84719minor)pagefaults 0swaps