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 : 1878493 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 (3957092) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3957092) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894682 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3957092'] with mtr_portfolio_ids : ['27894682'] and first list_photo_ids : [] new path : /proc/1878493/ Name: python3 Umask: 0002 State: R (running) Tgid: 1878493 Ngid: 0 Pid: 1878493 PPid: 1878492 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1878493 NSpid: 1878493 NSpgid: 1877244 NSsid: 1877244 VmPeak: 1106868 kB VmSize: 1106868 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99220 kB VmRSS: 99220 kB RssAnon: 59848 kB RssFile: 39372 kB RssShmem: 0 kB VmData: 865620 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 584 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: 58 nonvoluntary_ctxt_switches: 86 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1878493', 'Ngid': '0', 'Pid': '1878493', 'PPid': '1878492', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1878493', 'NSpid': '1878493', 'NSpgid': '1877244', 'NSsid': '1877244', 'VmPeak': '1106868 kB', 'VmSize': '1106868 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99220 kB', 'VmRSS': '99220 kB', 'RssAnon': '59848 kB', 'RssFile': '39372 kB', 'RssShmem': '0 kB', 'VmData': '865620 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '584 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': '58', 'nonvoluntary_ctxt_switches': '86'} ('datou_batch_current', '1878493', '1106868', '0', '1106868', '865620', '99220', b'', 'marlene', '3957092') 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 (27894682) 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 (3957092 ) ) 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 (27894682) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389871823, 'portfolio_id': 27894682}, {'photo_id': 1389871715, 'portfolio_id': 27894682}, {'photo_id': 1389871099, 'portfolio_id': 27894682}, {'photo_id': 1389871082, 'portfolio_id': 27894682}, {'photo_id': 1389870954, 'portfolio_id': 27894682}] map_portfolio_id_photo_id: {27894682: [1389871823, 1389871715, 1389871099, 1389871082, 1389870954]} ##### 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.05224895477294922 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Oct 17 22:04:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27894682) 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 : 27894682 get user id for portfolio 27894682 get sub ptf for main ptf 27894682, type 3726 and hashtags ['flou', 'papier', 'Carton_brun', 'Carton_gris', 'Teint_Dans_La_Masse', 'plastique', 'autre_refus', 'mal_croppe', 'environnement', 'kraft', 'cartonnette', 'metal'] 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`=27894682 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Carton_brun','Carton_gris','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','environnement','kraft','cartonnette','metal')) 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`=27894682 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Carton_brun','Carton_gris','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','environnement','kraft','cartonnette','metal')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27894682, 'sub_port_id': 27894683, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831874, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'plastique': {'main_port_id': 27894682, 'sub_port_id': 27894684, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831875, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'flou': {'main_port_id': 27894682, 'sub_port_id': 27894685, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831876, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'papier': {'main_port_id': 27894682, 'sub_port_id': 27894686, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831877, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'cartonnette': {'main_port_id': 27894682, 'sub_port_id': 27894687, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831878, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'kraft': {'main_port_id': 27894682, 'sub_port_id': 27894688, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831879, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'environnement': {'main_port_id': 27894682, 'sub_port_id': 27894689, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831880, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 27894682, 'sub_port_id': 27894690, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831881, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'autre_refus': {'main_port_id': 27894682, 'sub_port_id': 27894691, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831882, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'metal': {'main_port_id': 27894682, 'sub_port_id': 27894692, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831883, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'Carton_gris': {'main_port_id': 27894682, 'sub_port_id': 27894694, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831884, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}, 'Carton_brun': {'main_port_id': 27894682, 'sub_port_id': 27894712, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831885, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 58, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27894683 , 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=27894682 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 (27894683) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894684 , 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=27894682 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 (27894684) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894685 , 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=27894682 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 (27894685) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894686 , 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=27894682 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 (27894686) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894687 , 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=27894682 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 (27894687) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894688 , 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=27894682 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 (27894688) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894689 , 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=27894682 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 (27894689) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894690 , 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=27894682 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 (27894690) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894691 , 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=27894682 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 (27894691) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894692 , 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=27894682 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 (27894692) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894694 , 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=27894682 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 (27894694) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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 27894712 , 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=27894682 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 (27894712) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27894682) result : ((1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) 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`=27894682 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Carton_brun','Carton_gris','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','environnement','kraft','cartonnette','metal')) 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`=27894682 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','papier','Carton_brun','Carton_gris','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','environnement','kraft','cartonnette','metal')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27894682, 'sub_port_id': 27894731, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831904, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'plastique': {'main_port_id': 27894682, 'sub_port_id': 27894732, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831905, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'flou': {'main_port_id': 27894682, 'sub_port_id': 27894733, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831906, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'papier': {'main_port_id': 27894682, 'sub_port_id': 27894734, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831907, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'cartonnette': {'main_port_id': 27894682, 'sub_port_id': 27894735, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831908, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'kraft': {'main_port_id': 27894682, 'sub_port_id': 27894736, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831909, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'environnement': {'main_port_id': 27894682, 'sub_port_id': 27894737, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831910, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'Teint_Dans_La_Masse': {'main_port_id': 27894682, 'sub_port_id': 27894738, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831911, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'autre_refus': {'main_port_id': 27894682, 'sub_port_id': 27894739, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831912, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'metal': {'main_port_id': 27894682, 'sub_port_id': 27894740, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831913, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'Carton_gris': {'main_port_id': 27894682, 'sub_port_id': 27894741, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831914, 'last_updated_at': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 21, 59, 4), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}, 'Carton_brun': {'main_port_id': 27894682, 'sub_port_id': 27894742, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18831915, 'last_updated_at': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 22, 1, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 21, 59, 4)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894731,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894683 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894732,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894684 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894733,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894685 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894734,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894686 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894735,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894687 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894736,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894688 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894737,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894689 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894738,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894690 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894739,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894691 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894740,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894692 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894741,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894694 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27894742,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27894712 lien utilise dans velours : https://marlene.fotonower.com/velours/27894731,27894732,27894733,27894734,27894735,27894736,27894737,27894738,27894739,27894740,27894741,27894742?tags=mal_croppe,plastique,flou,papier,cartonnette,kraft,environnement,Teint_Dans_La_Masse,autre_refus,metal,Carton_gris,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27894682]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389871823] map_info['map_portfolio_photo'] : {27894682: [1389871823, 1389871715, 1389871099, 1389871082, 1389870954]} final : False mtd_id 4302 list_pids : [1389871823] Looping around the photos to save general results len do output : 1 /27894682. 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, '3957092') ('4302', '27894682', '1389871823', None, None, None, None, None, '3957092') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '27894682', "{'mal_croppe': 27894683, 'plastique': 27894684, 'flou': 27894685, 'papier': 27894686, 'cartonnette': 27894687, 'kraft': 27894688, 'environnement': 27894689, 'Teint_Dans_La_Masse': 27894690, 'autre_refus': 27894691, 'metal': 27894692, 'Carton_gris': 27894694, 'Carton_brun': 27894712}", None, None, None, None, '3957092'), ('4302', '27894682', '1389871823', None, None, None, None, None, '3957092')] time used for this insertion : 0.0376589298248291 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.040354490280151 time spend to save output : 0.03785991668701172 total time spend for step 1 : 5.078214406967163 step2:final Fri Oct 17 22:05:03 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 (27894682) 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 27894682 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389870954,1389871082,1389871099,1389871715,1389871823); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27894682]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389871823: ('0.0',)} new output for save of step final : {1389871823: ('0.0',)} [1389871823] map_info['map_portfolio_photo'] : {27894682: [1389871823, 1389871715, 1389871099, 1389871082, 1389870954]} final : False mtd_id 4302 list_pids : [1389871823] Looping around the photos to save general results len do output : 1 /1389871823.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, '3957092') ('4302', '27894682', '1389871823', None, None, None, None, None, '3957092') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 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', '27894682', '1389871823', '0.0', None, None, None, None, '3957092')] time used for this insertion : 0.03572487831115723 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.20582365989685059 time spend to save output : 0.03594803810119629 total time spend for step 2 : 0.24177169799804688 step3:velours_tree Fri Oct 17 22:05:03 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 : {27894682: [{'mal_croppe': 27894683, 'plastique': 27894684, 'flou': 27894685, 'papier': 27894686, 'cartonnette': 27894687, 'kraft': 27894688, 'environnement': 27894689, 'Teint_Dans_La_Masse': 27894690, 'autre_refus': 27894691, 'metal': 27894692, 'Carton_gris': 27894694, 'Carton_brun': 27894712}]} input_args_next_step : {27894682: ()} output_args : {27894682: [{'mal_croppe': 27894683, 'plastique': 27894684, 'flou': 27894685, 'papier': 27894686, 'cartonnette': 27894687, 'kraft': 27894688, 'environnement': 27894689, 'Teint_Dans_La_Masse': 27894690, 'autre_refus': 27894691, 'metal': 27894692, 'Carton_gris': 27894694, 'Carton_brun': 27894712}]} args : 27894682 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 : ({'mal_croppe': 27894683, 'plastique': 27894684, 'flou': 27894685, 'papier': 27894686, 'cartonnette': 27894687, 'kraft': 27894688, 'environnement': 27894689, 'Teint_Dans_La_Masse': 27894690, 'autre_refus': 27894691, 'metal': 27894692, 'Carton_gris': 27894694, 'Carton_brun': 27894712},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27894682) 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([27894682]) 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.29903173446655273 time spend to save output : 4.291534423828125e-05 total time spend for step 3 : 0.299074649810791 step4:send_mail_cod Fri Oct 17 22:05:04 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 : {1389871823: ('0.0',)} input_args_next_step : {1389871823: ()} output_args : {1389871823: ('0.0',)} args : 1389871823 depend.output_id : 0 complete output_args for input 3 : {27894682: [{'mal_croppe': 27894683, 'plastique': 27894684, 'flou': 27894685, 'papier': 27894686, 'cartonnette': 27894687, 'kraft': 27894688, 'environnement': 27894689, 'Teint_Dans_La_Masse': 27894690, 'autre_refus': 27894691, 'metal': 27894692, 'Carton_gris': 27894694, 'Carton_brun': 27894712}]} input_args_next_step : {1389871823: ('0.0',), 27894682: ()} output_args : {27894682: [{'mal_croppe': 27894683, 'plastique': 27894684, 'flou': 27894685, 'papier': 27894686, 'cartonnette': 27894687, 'kraft': 27894688, 'environnement': 27894689, 'Teint_Dans_La_Masse': 27894690, 'autre_refus': 27894691, 'metal': 27894692, 'Carton_gris': 27894694, 'Carton_brun': 27894712}]} args : 27894682 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 :2, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27894682) 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 (1389871823) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389871823 download finish for photo 1389871823 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette278946831760731504/ imagette278946841760731504/ imagette278946851760731504/ imagette278946871760731504/ imagette278946881760731504/ imagette278946911760731504/ imagette278946921760731504/ imagette278946901760731504/ imagette278946941760731504/ imagette278947121760731504/ length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P27894682_17-10-2025_22_05_04.pdf 27894683 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=27894683 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946831760731504 27894684 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=27894684 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946841760731504 27894685 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=27894685 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946851760731504 27894687 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=27894687 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946871760731504 27894688 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=27894688 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946881760731504 27894691 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=27894691 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946911760731504 27894692 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=27894692 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946921760731504 27894690 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=27894690 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946901760731504 27894694 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=27894694 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278946941760731504 27894712 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=27894712 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278947121760731504 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27894682 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27894731,27894732,27894733,27894734,27894735,27894736,27894737,27894738,27894739,27894740,27894741,27894742?tags=mal_croppe,plastique,flou,papier,cartonnette,kraft,environnement,Teint_Dans_La_Masse,autre_refus,metal,Carton_gris,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1389871823] : ('0.0',) no score found for photo 1389871823 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=27894682 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_P27894682_17-10-2025_22_05_04.pdf results_Auto_P27894682_17-10-2025_22_05_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894682_17-10-2025_22_05_04.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','27894682','results_Auto_P27894682_17-10-2025_22_05_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894682_17-10-2025_22_05_04.pdf','pdf','','0.04','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27894682]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389871823] map_info['map_portfolio_photo'] : {27894682: [1389871823, 1389871715, 1389871099, 1389871082, 1389870954]} final : False mtd_id 4302 list_pids : [1389871823] 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, '3957092') ('4302', '27894682', '1389871823', None, None, None, None, None, '3957092') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 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', '27894682', '1389871823', None, None, None, None, None, '3957092')] time used for this insertion : 0.0979776382446289 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2937607765197754 time spend to save output : 0.0981745719909668 total time spend for step 4 : 1.3919353485107422 step5:split_time_score Fri Oct 17 22:05:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['27894682'] 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 : [('27894682',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27894682) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389871823: {'path': 'temp/1760731504_1878493_1389871823_6b176daf474934f286276c394066dd43.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 = 27894682; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27894682 group by h (('21', 5),) 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=27894682 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 (27894682) 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 (27894682) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17102025 27894682 Nombre de photos uploadées : 5 / 23040 (0%) 17102025 27894682 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 17102025 27894682 Nombre de photos taguées (volume) : 0 / 5 (0%) [{'photo_id': 1389870954, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/ab55917ec93c74c9b4e06b4be1048a15.jpg', 'username': None, 'uploaded_at': 1760730728, 'text': 'image_17102025_21_49_35_10146.jpg'}, {'photo_id': 1389871082, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/e4b50f0382d3359306260734e94315c3.jpg', 'username': None, 'uploaded_at': 1760731033, 'text': 'image_17102025_21_51_14_10142.jpg'}, {'photo_id': 1389871099, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/d47ec94adc3f6957478ac59248045ed0.jpg', 'username': None, 'uploaded_at': 1760731088, 'text': 'image_17102025_21_56_14_10140.jpg'}, {'photo_id': 1389871715, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/936247f83a6b340601d7f9a7150b5327.jpg', 'username': None, 'uploaded_at': 1760731203, 'text': 'image_17102025_21_57_04_9142.jpg'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.0003407001495361328 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27894682, '2025-10-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2461577,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6549913883209229 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= 2461577 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27870991, 'dashboard_result_id': 16492538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873027, 'dashboard_result_id': 16492539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873027_17-10-2025_10_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873424, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873029, 'dashboard_result_id': 16492540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873029_17-10-2025_10_06_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873520, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871053, 'dashboard_result_id': 16492541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873031, 'dashboard_result_id': 16492542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873031_17-10-2025_10_06_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873398, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873033, 'dashboard_result_id': 16492543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873033_17-10-2025_10_05_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873322, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873035, 'dashboard_result_id': 16492544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873035_17-10-2025_10_04_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873271, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873037, 'dashboard_result_id': 16492545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873037_17-10-2025_10_04_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873223, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871396, 'dashboard_result_id': 16492546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873039, 'dashboard_result_id': 16492547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873089, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873041, 'dashboard_result_id': 16492548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873041_17-10-2025_10_02_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873113, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871526, 'dashboard_result_id': 16492549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873044, 'dashboard_result_id': 16492550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873044_17-10-2025_10_03_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27873188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873199, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871534, 'dashboard_result_id': 16492551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871543, 'dashboard_result_id': 16492552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871551, 'dashboard_result_id': 16492553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871561, 'dashboard_result_id': 16492554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871572, 'dashboard_result_id': 16492555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871576, 'dashboard_result_id': 16492556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871581, 'dashboard_result_id': 16492557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871590, 'dashboard_result_id': 16492558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871598, 'dashboard_result_id': 16492559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871605, 'dashboard_result_id': 16492560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871619, 'dashboard_result_id': 16492561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871638, 'dashboard_result_id': 16492562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871656, 'dashboard_result_id': 16492563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27870700, 'dashboard_result_id': 16492564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27870807, 'dashboard_result_id': 16492565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27870679, 'dashboard_result_id': 16492566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27870695, 'dashboard_result_id': 16492567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871137, 'dashboard_result_id': 16492568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27871563, 'dashboard_result_id': 16492569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27872616, 'dashboard_result_id': 16492570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27872805, 'dashboard_result_id': 16492571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27872807, 'dashboard_result_id': 16492572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27873114, 'dashboard_result_id': 16492573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_21_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27874123, 'dashboard_result_id': 16492574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27874825, 'dashboard_result_id': 16492575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27875457, 'dashboard_result_id': 16492576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27876116, 'dashboard_result_id': 16492577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876116_17-10-2025_13_01_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27876146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876182, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27876345, 'dashboard_result_id': 16492578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876345_17-10-2025_13_01_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876422, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27876700, 'dashboard_result_id': 16492579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876700_17-10-2025_11_47_25.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876738, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27877001, 'dashboard_result_id': 16492580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27877001_17-10-2025_12_17_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27877051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27877052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27877053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27877054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27877055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27877056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27877057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27877058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27877059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27877060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27877061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27877062, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27876781, 'dashboard_result_id': 16492581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876781_17-10-2025_12_41_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876787, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876797, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27880812, 'dashboard_result_id': 16492582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27880812_17-10-2025_13_49_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27880813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27880814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27880815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27880816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27880817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27880818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27880819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27880820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27880821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27880822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27880823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27880824, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27881278, 'dashboard_result_id': 16492583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881278_17-10-2025_14_03_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27881283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881294, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27881741, 'dashboard_result_id': 16492584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881741_17-10-2025_14_18_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27881750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881757, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27882357, 'dashboard_result_id': 16492585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882357_17-10-2025_14_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882375, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27882842, 'dashboard_result_id': 16492586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882878, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27883336, 'dashboard_result_id': 16492587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883336_17-10-2025_15_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27883348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27883349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27883350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27883351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27883352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27883353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27883354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27883355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27883356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27883357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27883358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27883359, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27883875, 'dashboard_result_id': 16492588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883875_17-10-2025_15_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27883900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27883901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27883902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27883903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27883904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27883905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27883906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27883907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27883908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27883909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27883910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27883911, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27884777, 'dashboard_result_id': 16492589, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27884777_17-10-2025_15_35_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27884795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27884796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27884797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27884798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27884799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27884800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27884801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27884802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27884803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27884804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27884805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27884806, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27885385, 'dashboard_result_id': 16492590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885385_17-10-2025_15_49_27.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27885433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27885434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27885435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27885436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27885437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27885438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27885439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27885440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27885441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27885442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27885443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27885444, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27885846, 'dashboard_result_id': 16492592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885846_17-10-2025_16_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27885851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27885852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27885853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27885854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27885855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27885856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27885857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27885858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27885859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27885860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27885861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27885862, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27886271, 'dashboard_result_id': 16492593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886271_17-10-2025_17_59_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27886296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27886297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27886298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27886299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27886300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27886301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27886302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27886303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27886304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27886305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27886306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27886307, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27886760, 'dashboard_result_id': 16492594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886760_17-10-2025_18_01_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27886777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27886779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27886781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27886783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27886785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27886787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27886789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27886791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27886795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27886798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27886801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27886804, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27887030, 'dashboard_result_id': 16492595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887030_17-10-2025_17_13_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27887037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27887038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27887039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27887040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27887041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27887042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27887043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27887044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27887045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27887046, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27887047, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27887048, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27887031, 'dashboard_result_id': 16492597, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887031_17-10-2025_17_16_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27887067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27887068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27887069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27887070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27887071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27887072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27887073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27887074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27887075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27887076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27887077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27887078, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27888035, 'dashboard_result_id': 16492598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27888035_17-10-2025_18_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27888061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27888062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27888068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27888076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27888077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27888079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27888080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27888081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27888082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27888083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27888084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27888085, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27889036, 'dashboard_result_id': 16492599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889036_17-10-2025_18_19_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889143, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27889524, 'dashboard_result_id': 16492600, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889524_17-10-2025_18_33_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889540, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27889935, 'dashboard_result_id': 16492601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889935_17-10-2025_18_49_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889953, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27890433, 'dashboard_result_id': 16492602, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890433_17-10-2025_19_03_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27890440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27890441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27890442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27890443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27890444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27890445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27890446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27890447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27890448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27890449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27890450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27890451, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27890884, 'dashboard_result_id': 16492603, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890884_17-10-2025_19_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27890891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27890892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27890893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27890894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27890895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27890896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27890897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27890898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27890900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27890901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27890902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27890903, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27891425, 'dashboard_result_id': 16492605, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891425_17-10-2025_19_33_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27891436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27891437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27891438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27891439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27891440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27891441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27891442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27891443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27891444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27891445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27891446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27891447, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27891832, 'dashboard_result_id': 16492606, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891832_17-10-2025_19_47_25.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27891833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27891834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27891835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27891836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27891837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27891838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27891839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27891840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27891841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27891842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27891843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27891844, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27892251, 'dashboard_result_id': 16492607, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892251_17-10-2025_20_05_26.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27892257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27892258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27892259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27892260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27892261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27892262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27892263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27892264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27892265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27892266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27892267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27892268, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27892704, 'dashboard_result_id': 16492608, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892704_17-10-2025_20_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27892726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27892727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27892728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27892729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27892730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27892731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27892732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27892733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27892734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27892735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27892736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27892737, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27893240, 'dashboard_result_id': 16492609, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893240_17-10-2025_20_33_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27893265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27893266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27893267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27893268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27893269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27893270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27893271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27893272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27893273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27893274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27893275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27893276, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27893657, 'dashboard_result_id': 16492610, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893657_17-10-2025_20_49_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27893663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27893664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27893665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27893666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27893667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27893668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27893669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27893670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27893671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27893672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27893673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27893674, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27894349, 'dashboard_result_id': 16492611, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894349_17-10-2025_21_17_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894355, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894363, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27894482, 'dashboard_result_id': 16492612, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894482_17-10-2025_21_33_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894494, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27894565, 'dashboard_result_id': 16492613, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894565_17-10-2025_21_50_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27894566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894577, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2473119, 'mtr_portfolio_id': 27894682, 'dashboard_result_id': 16492614, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894682_17-10-2025_22_01_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894712, '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 = 27870991 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}" where mtr_portfolio_id = 27870991 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873027 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873027_17-10-2025_10_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873027_17-10-2025_10_06_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873413, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873423, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873424, 'pht': 3726}}" where mtr_portfolio_id = 27873027 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873029 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873029_17-10-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873029_17-10-2025_10_06_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873510, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873513, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873520, 'pht': 3726}}" where mtr_portfolio_id = 27873029 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871053 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871053 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}" where mtr_portfolio_id = 27871053 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873031_17-10-2025_10_06_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873031_17-10-2025_10_06_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873398, 'pht': 3726}}" where mtr_portfolio_id = 27873031 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873033 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873033_17-10-2025_10_05_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873033_17-10-2025_10_05_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873320, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873322, 'pht': 3726}}" where mtr_portfolio_id = 27873033 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873035 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873035_17-10-2025_10_04_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873035_17-10-2025_10_04_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873268, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873271, 'pht': 3726}}" where mtr_portfolio_id = 27873035 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873037 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873037_17-10-2025_10_04_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873037 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873037_17-10-2025_10_04_07.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873213, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873217, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873223, 'pht': 3726}}" where mtr_portfolio_id = 27873037 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871396 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871396 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}" where mtr_portfolio_id = 27871396 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873039 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873039 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873079, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873082, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873089, 'pht': 3726}}" where mtr_portfolio_id = 27873039 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873041_17-10-2025_10_02_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873041_17-10-2025_10_02_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873113, 'pht': 3726}}" where mtr_portfolio_id = 27873041 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871526 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}" where mtr_portfolio_id = 27871526 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27873044 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873044_17-10-2025_10_03_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873044_17-10-2025_10_03_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27873188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873199, 'pht': 3726}}" where mtr_portfolio_id = 27873044 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871534 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871534 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}" where mtr_portfolio_id = 27871534 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871543 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871543 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}" where mtr_portfolio_id = 27871543 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871551 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}" where mtr_portfolio_id = 27871551 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871561 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871561 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}" where mtr_portfolio_id = 27871561 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871572 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871572 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871572 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}" where mtr_portfolio_id = 27871572 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871576 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}" where mtr_portfolio_id = 27871576 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871581 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}" where mtr_portfolio_id = 27871581 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871590 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871590 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871590 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}" where mtr_portfolio_id = 27871590 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871598 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871598 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}" where mtr_portfolio_id = 27871598 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}" where mtr_portfolio_id = 27871605 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871619 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}" where mtr_portfolio_id = 27871619 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871638 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871638 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}" where mtr_portfolio_id = 27871638 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871656 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}" where mtr_portfolio_id = 27871656 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870700 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}" where mtr_portfolio_id = 27870700 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27870807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}" where mtr_portfolio_id = 27870807 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870679 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': 3952473, 'mtr_portfolio_id': 27870679, 'created_at': datetime.datetime(2025, 10, 17, 9, 11, 39), 'result': '0.026132705072848785', 'result_long': None, 'result_double': None}] Qualite : 0.026132705072848785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}" where mtr_portfolio_id = 27870679 and dashboard_run_id = 2473119 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`=27870679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492566, 0.026132705072848785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, '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 = 27870695 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': 3952474, 'mtr_portfolio_id': 27870695, 'created_at': datetime.datetime(2025, 10, 17, 14, 1, 4), 'result': '0.03953099328767383', 'result_long': None, 'result_double': None}] Qualite : 0.03953099328767383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870695 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}" where mtr_portfolio_id = 27870695 and dashboard_run_id = 2473119 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`=27870695 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492567, 0.03953099328767383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_14_01_06.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, '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 = 27871137 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': 3952569, 'mtr_portfolio_id': 27871137, 'created_at': datetime.datetime(2025, 10, 17, 14, 1, 5), 'result': '0.04809880323696534', 'result_long': None, 'result_double': None}] Qualite : 0.04809880323696534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871137 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}" where mtr_portfolio_id = 27871137 and dashboard_run_id = 2473119 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`=27871137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492568, 0.04809880323696534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_14_01_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, '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 = 27871563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27871563 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952649, 'mtr_portfolio_id': 27871563, 'created_at': datetime.datetime(2025, 10, 17, 11, 4, 23), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}" where mtr_portfolio_id = 27871563 and dashboard_run_id = 2473119 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`=27871563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492569, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, '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 = 27872616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27872616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}" where mtr_portfolio_id = 27872616 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872805 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': 3952854, 'mtr_portfolio_id': 27872805, 'created_at': datetime.datetime(2025, 10, 17, 10, 23, 5), 'result': '0.05071978763234181', 'result_long': None, 'result_double': None}] Qualite : 0.05071978763234181 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}" where mtr_portfolio_id = 27872805 and dashboard_run_id = 2473119 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`=27872805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492571, 0.05071978763234181, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, '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 = 27872807 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': 3952855, 'mtr_portfolio_id': 27872807, 'created_at': datetime.datetime(2025, 10, 17, 11, 35, 43), 'result': '0.06802531329361987', 'result_long': None, 'result_double': None}] Qualite : 0.06802531329361987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}" where mtr_portfolio_id = 27872807 and dashboard_run_id = 2473119 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`=27872807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492572, 0.06802531329361987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_11_35_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, '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 = 27873114 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': 3952939, 'mtr_portfolio_id': 27873114, 'created_at': datetime.datetime(2025, 10, 17, 10, 21, 6), 'result': '0.04361525650567554', 'result_long': None, 'result_double': None}] Qualite : 0.04361525650567554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27873114 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_21_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873114 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_21_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, 'pht': 3726}}" where mtr_portfolio_id = 27873114 and dashboard_run_id = 2473119 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`=27873114 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492573, 0.04361525650567554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873114_17-10-2025_10_21_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27873132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27873133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27873134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27873135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27873136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27873137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27873138, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27873139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27873140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27873141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27873142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27873143, '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 = 27874123 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': 3953099, 'mtr_portfolio_id': 27874123, 'created_at': datetime.datetime(2025, 10, 17, 10, 33, 3), 'result': '0.03435365559906634', 'result_long': None, 'result_double': None}] Qualite : 0.03435365559906634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27874123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874123 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}" where mtr_portfolio_id = 27874123 and dashboard_run_id = 2473119 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`=27874123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492574, 0.03435365559906634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, '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 = 27874825 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': 3953315, 'mtr_portfolio_id': 27874825, 'created_at': datetime.datetime(2025, 10, 17, 13, 0, 33), 'result': '0.0651661421470249', 'result_long': None, 'result_double': None}] Qualite : 0.0651661421470249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27874825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}" where mtr_portfolio_id = 27874825 and dashboard_run_id = 2473119 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`=27874825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492575, 0.0651661421470249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_13_00_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, '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 = 27875457 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': 3953442, 'mtr_portfolio_id': 27875457, 'created_at': datetime.datetime(2025, 10, 17, 13, 1, 2), 'result': '0.029551397432064735', 'result_long': None, 'result_double': None}] Qualite : 0.029551397432064735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27875457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27875457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, 'pht': 3726}}" where mtr_portfolio_id = 27875457 and dashboard_run_id = 2473119 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`=27875457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492576, 0.029551397432064735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_13_01_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, '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 = 27876116 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': 3953532, 'mtr_portfolio_id': 27876116, 'created_at': datetime.datetime(2025, 10, 17, 13, 1, 5), 'result': '0.037018133041123315', 'result_long': None, 'result_double': None}] Qualite : 0.037018133041123315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27876116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876116_17-10-2025_13_01_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876116_17-10-2025_13_01_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27876146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876182, 'pht': 3726}}" where mtr_portfolio_id = 27876116 and dashboard_run_id = 2473119 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`=27876116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492577, 0.037018133041123315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876116_17-10-2025_13_01_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27876146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876179, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876182, '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 = 27876345 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': 3953577, 'mtr_portfolio_id': 27876345, 'created_at': datetime.datetime(2025, 10, 17, 13, 1, 33), 'result': '0.08479680774141027', 'result_long': None, 'result_double': None}] Qualite : 0.08479680774141027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27876345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876345_17-10-2025_13_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876345_17-10-2025_13_01_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876422, 'pht': 3726}}" where mtr_portfolio_id = 27876345 and dashboard_run_id = 2473119 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`=27876345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492578, 0.08479680774141027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876345_17-10-2025_13_01_38.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876401, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876404, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876411, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876422, '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 = 27876700 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27876700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27876700 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27876700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27876700 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27876700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876700_17-10-2025_11_47_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876700 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876700_17-10-2025_11_47_25.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876733, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876738, 'pht': 3726}}" where mtr_portfolio_id = 27876700 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27877001 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27877001 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27877001 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27877001 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27877001 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27877001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27877001_17-10-2025_12_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27877001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27877001_17-10-2025_12_17_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27877051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27877052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27877053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27877054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27877055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27877056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27877057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27877058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27877059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27877060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27877061, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27877062, 'pht': 3726}}" where mtr_portfolio_id = 27877001 and dashboard_run_id = 2473119 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27876781 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': 3953626, 'mtr_portfolio_id': 27876781, 'created_at': datetime.datetime(2025, 10, 17, 12, 41, 4), 'result': '0.04785570251048855', 'result_long': None, 'result_double': None}] Qualite : 0.04785570251048855 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27876781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876781_17-10-2025_12_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27876781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876781_17-10-2025_12_41_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876787, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876797, 'pht': 3726}}" where mtr_portfolio_id = 27876781 and dashboard_run_id = 2473119 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`=27876781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492581, 0.04785570251048855, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27876781_17-10-2025_12_41_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27876786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27876787, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27876788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27876789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27876790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27876791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27876792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27876793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27876794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27876795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27876796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27876797, '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 = 27880812 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': 3954379, 'mtr_portfolio_id': 27880812, 'created_at': datetime.datetime(2025, 10, 17, 13, 49, 5), 'result': '0.025249318020761562', 'result_long': None, 'result_double': None}] Qualite : 0.025249318020761562 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27880812 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27880812_17-10-2025_13_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27880812 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27880812_17-10-2025_13_49_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27880813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27880814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27880815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27880816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27880817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27880818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27880819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27880820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27880821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27880822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27880823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27880824, 'pht': 3726}}" where mtr_portfolio_id = 27880812 and dashboard_run_id = 2473119 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`=27880812 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492582, 0.025249318020761562, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27880812_17-10-2025_13_49_05.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27880813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27880814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27880815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27880816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27880817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27880818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27880819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27880820, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27880821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27880822, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27880823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27880824, '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 = 27881278 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': 3954413, 'mtr_portfolio_id': 27881278, 'created_at': datetime.datetime(2025, 10, 17, 14, 3, 6), 'result': '0.037184829265906126', 'result_long': None, 'result_double': None}] Qualite : 0.037184829265906126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27881278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881278_17-10-2025_14_03_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27881278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881278_17-10-2025_14_03_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27881283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881294, 'pht': 3726}}" where mtr_portfolio_id = 27881278 and dashboard_run_id = 2473119 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`=27881278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492583, 0.037184829265906126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881278_17-10-2025_14_03_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27881283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881294, '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 = 27881741 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': 3954471, 'mtr_portfolio_id': 27881741, 'created_at': datetime.datetime(2025, 10, 17, 14, 18, 35), 'result': '0.03644710244436949', 'result_long': None, 'result_double': None}] Qualite : 0.03644710244436949 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27881741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881741_17-10-2025_14_18_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27881741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881741_17-10-2025_14_18_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27881750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881757, 'pht': 3726}}" where mtr_portfolio_id = 27881741 and dashboard_run_id = 2473119 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`=27881741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492584, 0.03644710244436949, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27881741_17-10-2025_14_18_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27881746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27881747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27881748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27881749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27881750, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27881751, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27881752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27881753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27881754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27881755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27881756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27881757, '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 = 27882357 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': 3954542, 'mtr_portfolio_id': 27882357, 'created_at': datetime.datetime(2025, 10, 17, 14, 33, 2), 'result': '0.053623890661859915', 'result_long': None, 'result_double': None}] Qualite : 0.053623890661859915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27882357 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882357_17-10-2025_14_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27882357 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882357_17-10-2025_14_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882375, 'pht': 3726}}" where mtr_portfolio_id = 27882357 and dashboard_run_id = 2473119 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`=27882357 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492585, 0.053623890661859915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882357_17-10-2025_14_33_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882367, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882372, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882375, '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 = 27882842 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': 3954612, 'mtr_portfolio_id': 27882842, 'created_at': datetime.datetime(2025, 10, 17, 14, 49, 4), 'result': '0.0349361512665389', 'result_long': None, 'result_double': None}] Qualite : 0.0349361512665389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27882842 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27882842 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882878, 'pht': 3726}}" where mtr_portfolio_id = 27882842 and dashboard_run_id = 2473119 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`=27882842 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492586, 0.0349361512665389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27882842_17-10-2025_14_49_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27882867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27882868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27882869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27882870, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27882871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27882872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27882873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27882874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27882875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27882876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27882877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27882878, '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 = 27883336 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': 3954721, 'mtr_portfolio_id': 27883336, 'created_at': datetime.datetime(2025, 10, 17, 15, 5, 1), 'result': '0.03730934512259449', 'result_long': None, 'result_double': None}] Qualite : 0.03730934512259449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27883336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883336_17-10-2025_15_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27883336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883336_17-10-2025_15_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27883348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27883349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27883350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27883351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27883352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27883353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27883354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27883355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27883356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27883357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27883358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27883359, 'pht': 3726}}" where mtr_portfolio_id = 27883336 and dashboard_run_id = 2473119 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`=27883336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492587, 0.03730934512259449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883336_17-10-2025_15_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27883348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27883349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27883350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27883351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27883352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27883353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27883354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27883355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27883356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27883357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27883358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27883359, '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 = 27883875 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': 3954844, 'mtr_portfolio_id': 27883875, 'created_at': datetime.datetime(2025, 10, 17, 15, 19), 'result': '0.04080611990504195', 'result_long': None, 'result_double': None}] Qualite : 0.04080611990504195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27883875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883875_17-10-2025_15_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27883875 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883875_17-10-2025_15_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27883900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27883901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27883902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27883903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27883904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27883905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27883906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27883907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27883908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27883909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27883910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27883911, 'pht': 3726}}" where mtr_portfolio_id = 27883875 and dashboard_run_id = 2473119 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`=27883875 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492588, 0.04080611990504195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27883875_17-10-2025_15_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27883900, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27883901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27883902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27883903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27883904, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27883905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27883906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27883907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27883908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27883909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27883910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27883911, '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 = 27884777 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': 3954946, 'mtr_portfolio_id': 27884777, 'created_at': datetime.datetime(2025, 10, 17, 15, 35, 4), 'result': '0.04237025009713834', 'result_long': None, 'result_double': None}] Qualite : 0.04237025009713834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27884777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27884777_17-10-2025_15_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27884777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27884777_17-10-2025_15_35_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27884795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27884796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27884797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27884798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27884799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27884800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27884801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27884802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27884803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27884804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27884805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27884806, 'pht': 3726}}" where mtr_portfolio_id = 27884777 and dashboard_run_id = 2473119 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`=27884777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492589, 0.04237025009713834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27884777_17-10-2025_15_35_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27884795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27884796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27884797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27884798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27884799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27884800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27884801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27884802, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27884803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27884804, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27884805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27884806, '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 = 27885385 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': 3955040, 'mtr_portfolio_id': 27885385, 'created_at': datetime.datetime(2025, 10, 17, 15, 49, 26), 'result': '0.04556560925563159', 'result_long': None, 'result_double': None}] Qualite : 0.04556560925563159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27885385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885385_17-10-2025_15_49_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27885385 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885385_17-10-2025_15_49_27.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27885433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27885434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27885435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27885436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27885437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27885438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27885439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27885440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27885441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27885442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27885443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27885444, 'pht': 3726}}" where mtr_portfolio_id = 27885385 and dashboard_run_id = 2473119 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`=27885385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492590, 0.04556560925563159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885385_17-10-2025_15_49_27.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27885433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27885434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27885435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27885436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27885437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27885438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27885439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27885440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27885441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27885442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27885443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27885444, '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 = 27885846 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': 3955141, 'mtr_portfolio_id': 27885846, 'created_at': datetime.datetime(2025, 10, 17, 16, 3, 27), 'result': '0.05055571627219196', 'result_long': None, 'result_double': None}] Qualite : 0.05055571627219196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27885846 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885846_17-10-2025_16_03_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27885846 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885846_17-10-2025_16_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27885851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27885852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27885853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27885854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27885855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27885856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27885857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27885858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27885859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27885860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27885861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27885862, 'pht': 3726}}" where mtr_portfolio_id = 27885846 and dashboard_run_id = 2473119 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`=27885846 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492592, 0.05055571627219196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27885846_17-10-2025_16_03_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27885851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27885852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27885853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27885854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27885855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27885856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27885857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27885858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27885859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27885860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27885861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27885862, '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 = 27886271 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': 3955249, 'mtr_portfolio_id': 27886271, 'created_at': datetime.datetime(2025, 10, 17, 17, 59, 31), 'result': '0.049994545302067074', 'result_long': None, 'result_double': None}] Qualite : 0.049994545302067074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27886271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886271_17-10-2025_17_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27886271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886271_17-10-2025_17_59_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27886296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27886297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27886298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27886299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27886300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27886301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27886302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27886303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27886304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27886305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27886306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27886307, 'pht': 3726}}" where mtr_portfolio_id = 27886271 and dashboard_run_id = 2473119 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`=27886271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492593, 0.049994545302067074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886271_17-10-2025_17_59_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27886296, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27886297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27886298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27886299, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27886300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27886301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27886302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27886303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27886304, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27886305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27886306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27886307, '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 = 27886760 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': 3955331, 'mtr_portfolio_id': 27886760, 'created_at': datetime.datetime(2025, 10, 17, 18, 0, 59), 'result': '0.029936809129117357', 'result_long': None, 'result_double': None}] Qualite : 0.029936809129117357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27886760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886760_17-10-2025_18_01_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27886760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886760_17-10-2025_18_01_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27886777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27886779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27886781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27886783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27886785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27886787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27886789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27886791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27886795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27886798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27886801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27886804, 'pht': 3726}}" where mtr_portfolio_id = 27886760 and dashboard_run_id = 2473119 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`=27886760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492594, 0.029936809129117357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27886760_17-10-2025_18_01_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27886777, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27886779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27886781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27886783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27886785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27886787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27886789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27886791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27886795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27886798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27886801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27886804, '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 = 27887030 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': 3955343, 'mtr_portfolio_id': 27887030, 'created_at': datetime.datetime(2025, 10, 17, 17, 13), 'result': '0.032533383832016004', 'result_long': None, 'result_double': None}] Qualite : 0.032533383832016004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27887030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887030_17-10-2025_17_13_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27887030 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887030_17-10-2025_17_13_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27887037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27887038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27887039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27887040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27887041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27887042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27887043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27887044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27887045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27887046, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27887047, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27887048, 'pht': 3726}}" where mtr_portfolio_id = 27887030 and dashboard_run_id = 2473119 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`=27887030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492595, 0.032533383832016004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887030_17-10-2025_17_13_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27887037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27887038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27887039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27887040, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27887041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27887042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27887043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27887044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27887045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27887046, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27887047, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27887048, '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 = 27887031 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': 3955344, 'mtr_portfolio_id': 27887031, 'created_at': datetime.datetime(2025, 10, 17, 17, 16, 36), 'result': '0.042349245119719534', 'result_long': None, 'result_double': None}] Qualite : 0.042349245119719534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27887031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887031_17-10-2025_17_16_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27887031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887031_17-10-2025_17_16_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27887067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27887068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27887069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27887070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27887071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27887072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27887073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27887074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27887075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27887076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27887077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27887078, 'pht': 3726}}" where mtr_portfolio_id = 27887031 and dashboard_run_id = 2473119 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`=27887031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492597, 0.042349245119719534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27887031_17-10-2025_17_16_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27887067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27887068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27887069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27887070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27887071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27887072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27887073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27887074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27887075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27887076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27887077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27887078, '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 = 27888035 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': 3955730, 'mtr_portfolio_id': 27888035, 'created_at': datetime.datetime(2025, 10, 17, 18, 5), 'result': '0.044337587685749594', 'result_long': None, 'result_double': None}] Qualite : 0.044337587685749594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27888035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27888035_17-10-2025_18_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27888035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27888035_17-10-2025_18_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27888061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27888062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27888068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27888076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27888077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27888079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27888080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27888081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27888082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27888083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27888084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27888085, 'pht': 3726}}" where mtr_portfolio_id = 27888035 and dashboard_run_id = 2473119 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`=27888035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492598, 0.044337587685749594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27888035_17-10-2025_18_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27888061, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27888062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27888068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27888076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27888077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27888079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27888080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27888081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27888082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27888083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27888084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27888085, '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 = 27889036 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': 3955991, 'mtr_portfolio_id': 27889036, 'created_at': datetime.datetime(2025, 10, 17, 18, 19, 2), 'result': '0.037639252311452945', 'result_long': None, 'result_double': None}] Qualite : 0.037639252311452945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27889036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889036_17-10-2025_18_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27889036 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889036_17-10-2025_18_19_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889143, 'pht': 3726}}" where mtr_portfolio_id = 27889036 and dashboard_run_id = 2473119 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`=27889036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492599, 0.037639252311452945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889036_17-10-2025_18_19_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889143, '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 = 27889524 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': 3956032, 'mtr_portfolio_id': 27889524, 'created_at': datetime.datetime(2025, 10, 17, 18, 33, 5), 'result': '0.04156587782761148', 'result_long': None, 'result_double': None}] Qualite : 0.04156587782761148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27889524 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889524_17-10-2025_18_33_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27889524 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889524_17-10-2025_18_33_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889540, 'pht': 3726}}" where mtr_portfolio_id = 27889524 and dashboard_run_id = 2473119 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`=27889524 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492600, 0.04156587782761148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889524_17-10-2025_18_33_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889532, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889540, '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 = 27889935 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': 3956085, 'mtr_portfolio_id': 27889935, 'created_at': datetime.datetime(2025, 10, 17, 18, 49, 4), 'result': '0.037346607711042305', 'result_long': None, 'result_double': None}] Qualite : 0.037346607711042305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27889935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889935_17-10-2025_18_49_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27889935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889935_17-10-2025_18_49_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889953, 'pht': 3726}}" where mtr_portfolio_id = 27889935 and dashboard_run_id = 2473119 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`=27889935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492601, 0.037346607711042305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27889935_17-10-2025_18_49_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27889942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27889943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27889944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27889945, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27889946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27889947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27889948, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27889949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27889950, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27889951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27889952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27889953, '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 = 27890433 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': 3956151, 'mtr_portfolio_id': 27890433, 'created_at': datetime.datetime(2025, 10, 17, 19, 3, 2), 'result': '0.04607815335179817', 'result_long': None, 'result_double': None}] Qualite : 0.04607815335179817 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27890433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890433_17-10-2025_19_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27890433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890433_17-10-2025_19_03_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27890440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27890441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27890442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27890443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27890444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27890445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27890446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27890447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27890448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27890449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27890450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27890451, 'pht': 3726}}" where mtr_portfolio_id = 27890433 and dashboard_run_id = 2473119 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`=27890433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492602, 0.04607815335179817, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890433_17-10-2025_19_03_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27890440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27890441, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27890442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27890443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27890444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27890445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27890446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27890447, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27890448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27890449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27890450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27890451, '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 = 27890884 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': 3956242, 'mtr_portfolio_id': 27890884, 'created_at': datetime.datetime(2025, 10, 17, 19, 18, 59), 'result': '0.059113620896739036', 'result_long': None, 'result_double': None}] Qualite : 0.059113620896739036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27890884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890884_17-10-2025_19_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27890884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890884_17-10-2025_19_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27890891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27890892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27890893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27890894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27890895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27890896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27890897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27890898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27890900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27890901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27890902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27890903, 'pht': 3726}}" where mtr_portfolio_id = 27890884 and dashboard_run_id = 2473119 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`=27890884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492603, 0.059113620896739036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27890884_17-10-2025_19_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27890891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27890892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27890893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27890894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27890895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27890896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27890897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27890898, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27890900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27890901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27890902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27890903, '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 = 27891425 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': 3956340, 'mtr_portfolio_id': 27891425, 'created_at': datetime.datetime(2025, 10, 17, 19, 33, 2), 'result': '0.04735934904233223', 'result_long': None, 'result_double': None}] Qualite : 0.04735934904233223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27891425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891425_17-10-2025_19_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27891425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891425_17-10-2025_19_33_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27891436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27891437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27891438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27891439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27891440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27891441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27891442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27891443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27891444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27891445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27891446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27891447, 'pht': 3726}}" where mtr_portfolio_id = 27891425 and dashboard_run_id = 2473119 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`=27891425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492605, 0.04735934904233223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891425_17-10-2025_19_33_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27891436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27891437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27891438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27891439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27891440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27891441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27891442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27891443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27891444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27891445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27891446, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27891447, '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 = 27891832 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': 3956453, 'mtr_portfolio_id': 27891832, 'created_at': datetime.datetime(2025, 10, 17, 19, 47, 24), 'result': '0.03983392283971691', 'result_long': None, 'result_double': None}] Qualite : 0.03983392283971691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27891832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891832_17-10-2025_19_47_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27891832 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891832_17-10-2025_19_47_25.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27891833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27891834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27891835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27891836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27891837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27891838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27891839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27891840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27891841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27891842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27891843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27891844, 'pht': 3726}}" where mtr_portfolio_id = 27891832 and dashboard_run_id = 2473119 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`=27891832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492606, 0.03983392283971691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27891832_17-10-2025_19_47_25.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27891833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27891834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27891835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27891836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27891837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27891838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27891839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27891840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27891841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27891842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27891843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27891844, '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 = 27892251 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': 3956539, 'mtr_portfolio_id': 27892251, 'created_at': datetime.datetime(2025, 10, 17, 20, 5, 25), 'result': '0.06899114335152477', 'result_long': None, 'result_double': None}] Qualite : 0.06899114335152477 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27892251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892251_17-10-2025_20_05_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27892251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892251_17-10-2025_20_05_26.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27892257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27892258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27892259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27892260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27892261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27892262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27892263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27892264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27892265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27892266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27892267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27892268, 'pht': 3726}}" where mtr_portfolio_id = 27892251 and dashboard_run_id = 2473119 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`=27892251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492607, 0.06899114335152477, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892251_17-10-2025_20_05_26.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27892257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27892258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27892259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27892260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27892261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27892262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27892263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27892264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27892265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27892266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27892267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27892268, '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 = 27892704 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': 3956667, 'mtr_portfolio_id': 27892704, 'created_at': datetime.datetime(2025, 10, 17, 20, 18, 58), 'result': '0.038042819200630504', 'result_long': None, 'result_double': None}] Qualite : 0.038042819200630504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27892704 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892704_17-10-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27892704 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892704_17-10-2025_20_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27892726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27892727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27892728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27892729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27892730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27892731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27892732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27892733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27892734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27892735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27892736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27892737, 'pht': 3726}}" where mtr_portfolio_id = 27892704 and dashboard_run_id = 2473119 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`=27892704 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492608, 0.038042819200630504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27892704_17-10-2025_20_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27892726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27892727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27892728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27892729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27892730, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27892731, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27892732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27892733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27892734, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27892735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27892736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27892737, '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 = 27893240 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': 3956762, 'mtr_portfolio_id': 27893240, 'created_at': datetime.datetime(2025, 10, 17, 20, 33, 4), 'result': '0.04617075581149308', 'result_long': None, 'result_double': None}] Qualite : 0.04617075581149308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27893240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893240_17-10-2025_20_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27893240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893240_17-10-2025_20_33_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27893265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27893266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27893267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27893268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27893269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27893270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27893271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27893272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27893273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27893274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27893275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27893276, 'pht': 3726}}" where mtr_portfolio_id = 27893240 and dashboard_run_id = 2473119 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`=27893240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492609, 0.04617075581149308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893240_17-10-2025_20_33_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27893265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27893266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27893267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27893268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27893269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27893270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27893271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27893272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27893273, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27893274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27893275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27893276, '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 = 27893657 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': 3956832, 'mtr_portfolio_id': 27893657, 'created_at': datetime.datetime(2025, 10, 17, 20, 49, 2), 'result': '0.04114318044321761', 'result_long': None, 'result_double': None}] Qualite : 0.04114318044321761 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27893657 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893657_17-10-2025_20_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27893657 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893657_17-10-2025_20_49_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27893663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27893664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27893665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27893666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27893667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27893668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27893669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27893670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27893671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27893672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27893673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27893674, 'pht': 3726}}" where mtr_portfolio_id = 27893657 and dashboard_run_id = 2473119 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`=27893657 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492610, 0.04114318044321761, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27893657_17-10-2025_20_49_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27893663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27893664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27893665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27893666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27893667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27893668, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27893669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27893670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27893671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27893672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27893673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27893674, '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 = 27894349 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': 3956954, 'mtr_portfolio_id': 27894349, 'created_at': datetime.datetime(2025, 10, 17, 21, 17, 4), 'result': '0.030695013207153333', 'result_long': None, 'result_double': None}] Qualite : 0.030695013207153333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27894349 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894349_17-10-2025_21_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27894349 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894349_17-10-2025_21_17_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894355, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894363, 'pht': 3726}}" where mtr_portfolio_id = 27894349 and dashboard_run_id = 2473119 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`=27894349 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492611, 0.030695013207153333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894349_17-10-2025_21_17_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894352, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894355, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894359, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894363, '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 = 27894482 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': 3956977, 'mtr_portfolio_id': 27894482, 'created_at': datetime.datetime(2025, 10, 17, 21, 33, 3), 'result': '0.09000807176064501', 'result_long': None, 'result_double': None}] Qualite : 0.09000807176064501 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27894482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894482_17-10-2025_21_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27894482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894482_17-10-2025_21_33_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894494, 'pht': 3726}}" where mtr_portfolio_id = 27894482 and dashboard_run_id = 2473119 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`=27894482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492612, 0.09000807176064501, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894482_17-10-2025_21_33_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894494, '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 = 27894565 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': 3957005, 'mtr_portfolio_id': 27894565, 'created_at': datetime.datetime(2025, 10, 17, 21, 50, 36), 'result': '0.029618497962176037', 'result_long': None, 'result_double': None}] Qualite : 0.029618497962176037 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27894565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894565_17-10-2025_21_50_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27894565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894565_17-10-2025_21_50_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27894566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894577, 'pht': 3726}}" where mtr_portfolio_id = 27894565 and dashboard_run_id = 2473119 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`=27894565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16492613, 0.029618497962176037, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894565_17-10-2025_21_50_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27894566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894568, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894577, '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 = 27894682 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27894682 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 27894682 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27894682 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27894682 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27894682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894682_17-10-2025_22_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27894682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27894682_17-10-2025_22_05_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27894683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27894684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27894685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27894686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27894687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27894688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27894689, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27894690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27894691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27894692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27894694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27894712, 'pht': 3726}}" where mtr_portfolio_id = 27894682 and dashboard_run_id = 2473119 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27870991,27873027,27873029,27871053,27873031,27873033,27873035,27873037,27871396,27873039,27873041,27871526,27873044,27871534,27871543,27871551,27871561,27871572,27871576,27871581,27871590,27871598,27871605,27871619,27871638,27871656,27870700,27870807,27870679,27870695,27871137,27871563,27872616,27872805,27872807,27873114,27874123,27874825,27875457,27876116,27876345,27876700,27877001,27876781,27880812,27881278,27881741,27882357,27882842,27883336,27883875,27884777,27885385,27885846,27886271,27886760,27887030,27887031,27888035,27889036,27889524,27889935,27890433,27890884,27891425,27891832,27892251,27892704,27893240,27893657,27894349,27894482,27894565,27894682) result : ((1389765808,), (1389765811,), (1389765817,), (1389765830,), (1389765833,), (1389765834,), (1389765835,), (1389765836,), (1389765838,), (1389765844,), (1389765846,), (1389765848,), (1389765859,), (1389765862,), (1389765864,), (1389765865,), (1389765877,), (1389765880,), (1389765883,), (1389765885,), (1389765887,), (1389765889,), (1389765898,), (1389765903,), (1389765906,), (1389765910,), (1389765919,), (1389765922,), (1389765925,), (1389765928,), (1389765930,), (1389765933,), (1389765940,), (1389765943,), (1389765947,), (1389765962,), (1389765964,), (1389765967,), (1389765970,), (1389765973,), (1389765975,), (1389765993,), (1389765996,), (1389766000,), (1389766001,), (1389766002,), (1389766019,), (1389766023,), (1389766027,), (1389766031,), (1389766034,), (1389766037,), (1389766048,), (1389766051,), (1389766057,), (1389766060,), (1389766063,), (1389766075,), (1389766077,), (1389766080,), (1389766084,), (1389766088,), (1389766090,), (1389766095,), (1389766097,), (1389766099,), (1389766102,), (1389766105,), (1389766109,), (1389766112,), (1389766115,), (1389766118,), (1389766124,), (1389766125,), (1389766126,), (1389766131,), (1389766134,), (1389766138,), (1389766153,), (1389766157,), (1389766159,), (1389766164,), (1389766203,), (1389766186,), (1389766188,), (1389766190,), (1389766194,), (1389766198,), (1389766212,), (1389766214,), (1389766215,), (1389766219,), (1389766233,), (1389766234,), (1389766236,), (1389766239,), (1389766243,), (1389766248,), (1389766281,), (1389766284,), (1389766287,), (1389766289,), (1389766292,), (1389766300,), (1389766302,), (1389766306,), (1389766308,), (1389766311,), (1389766315,), (1389766320,), (1389766323,), (1389766325,), (1389766331,), (1389766340,), (1389766346,), (1389766352,), (1389766357,), (1389766369,), (1389766374,), (1389766375,), (1389766380,), (1389766383,), (1389766390,), (1389766395,), (1389766406,), (1389766414,), (1389766416,), (1389766423,), (1389766430,), (1389766439,), (1389766446,), (1389766456,), (1389766470,), (1389766471,), (1389766476,), (1389766477,), (1389766489,), (1389766491,), (1389766492,), (1389766495,), (1389766496,), (1389766499,), (1389766505,), (1389766506,), (1389766511,), (1389766519,), (1389766523,), (1389766526,), (1389766531,), (1389766534,), (1389766535,), (1389766537,), (1389766542,), (1389766543,), (1389766547,), (1389766548,), (1389766551,), (1389766552,), (1389766556,), (1389766557,), (1389766561,), (1389766566,), (1389766569,), (1389766574,), (1389766582,), (1389766588,), (1389766596,), (1389766599,), (1389766604,), (1389766613,), (1389766624,), (1389766632,), (1389766640,), (1389766649,), (1389766661,), (1389766670,), (1389796114,), (1389796162,), (1389796170,), (1389796183,), (1389796205,), (1389796217,), (1389796396,), (1389797138,), (1389797141,), (1389797144,), (1389797279,), (1389797281,), (1389797325,), (1389797327,), (1389797329,), (1389797332,), (1389797571,), (1389797584,), (1389797651,), (1389798115,), (1389798591,), (1389799008,), (1389799065,), (1389799071,), (1389799087,), (1389799090,), (1389799093,), (1389799096,), (1389799117,), (1389799128,), (1389799293,), (1389799544,), (1389800024,), (1389800040,), (1389800099,), (1389800103,), (1389800179,), (1389800197,), (1389800262,), (1389800463,), (1389800490,), (1389800523,), (1389800567,), (1389800569,), (1389800570,), (1389800572,), (1389800574,), (1389800576,), (1389800579,), (1389800581,), (1389800582,), (1389800584,), (1389800588,), (1389765082,), (1389765084,), (1389765085,), (1389765088,), (1389765091,), (1389765102,), (1389765105,), (1389765110,), (1389765113,), (1389765116,), (1389765118,), (1389765123,), (1389765125,), (1389765128,), (1389765134,), (1389765136,), (1389765142,), (1389765145,), (1389765147,), (1389765149,), (1389765156,), (1389765160,), (1389765163,), (1389765168,), (1389765172,), (1389765174,), (1389765182,), (1389765185,), (1389765187,), (1389765191,), (1389765205,), (1389765208,), (1389765211,), (1389765215,), (1389765218,), (1389765221,), (1389765233,), (1389765235,), (1389765239,), (1389765241,), (1389765255,), (1389765257,), (1389765260,), (1389765267,), (1389765270,), (1389765273,), (1389765284,), (1389765288,), (1389765289,), (1389765290,), (1389765292,), (1389765295,), (1389765302,), (1389765308,), (1389765317,), (1389765319,), (1389765322,), (1389765324,), (1389765326,), (1389765328,), (1389765335,), (1389765339,), (1389765342,), (1389765345,), (1389765347,), (1389765359,), (1389765363,), (1389765367,), (1389765371,), (1389765372,), (1389765375,), (1389765382,), (1389765385,), (1389765390,), (1389765393,), (1389765396,), (1389765400,), (1389765402,), (1389765404,), (1389765406,), (1389765415,), (1389765418,), (1389765429,), (1389765433,), (1389765435,), (1389765437,), (1389765463,), (1389765449,), (1389765454,), (1389765457,), (1389765461,), (1389765477,), (1389765481,), (1389765485,), (1389765487,), (1389765497,), (1389765499,), (1389765501,), (1389765505,), (1389765520,), (1389765523,), (1389765526,), (1389765529,), (1389765531,), (1389765534,), (1389765542,), (1389765544,), (1389765546,), (1389765549,), (1389765560,), (1389765564,), (1389765566,), (1389765571,), (1389765574,), (1389765576,), (1389765590,), (1389765593,), (1389765597,), (1389765601,), (1389765605,), (1389765607,), (1389765611,), (1389765614,), (1389765617,), (1389765620,), (1389765623,), (1389765625,), (1389765628,), (1389765631,), (1389765634,), (1389765640,), (1389765641,), (1389765642,), (1389765645,), (1389765647,), (1389765651,), (1389765663,), (1389765665,), (1389765667,), (1389765670,), (1389765686,), (1389765689,), (1389765692,), (1389765695,), (1389765698,), (1389765701,), (1389765717,), (1389765722,), (1389765725,), (1389765726,), (1389765743,), (1389765746,), (1389765748,), (1389765750,), (1389765751,), (1389765752,), (1389765764,), (1389765768,), (1389765772,), (1389765774,), (1389765786,), (1389765789,), (1389765792,), (1389765795,), (1389765798,), (1389765800,), (1389765820,), (1389765852,), (1389754273,), (1389754275,), (1389754277,), (1389754279,), (1389754283,), (1389754288,), (1389754291,), (1389754294,), (1389754322,), (1389754327,), (1389754332,), (1389754335,), (1389754339,), (1389754343,), (1389754348,), (1389754351,), (1389754353,), (1389754356,), (1389754358,), (1389754361,), (1389754389,), (1389754390,), (1389754393,), (1389754394,), (1389754396,), (1389754397,), (1389754400,), (1389754401,), (1389754404,), (1389754405,), (1389754409,), (1389754411,), (1389754414,), (1389754417,), (1389754420,), (1389754449,), (1389754450,), (1389754452,), (1389754453,), (1389754456,), (1389754457,), (1389754460,), (1389754461,), (1389754465,), (1389754466,), (1389754470,), (1389754473,), (1389754476,), (1389754479,), (1389754504,), (1389754593,), (1389754595,), (1389754596,), (1389754597,), (1389754601,), (1389754604,), (1389754607,), (1389754610,), (1389754614,), (1389754615,), (1389754638,), (1389754640,), (1389754642,), (1389754670,), (1389754673,), (1389754675,), (1389754687,), (1389755557,), (1389755560,), (1389755562,), (1389755563,), (1389755571,), (1389755575,), (1389755579,), (1389755582,), (1389755585,), (1389755587,), (1389755612,), (1389755614,), (1389755617,), (1389755621,), (1389755623,), (1389755625,), (1389755626,), (1389755629,), (1389755654,), (1389755658,), (1389755662,), (1389755666,), (1389755669,), (1389755673,), (1389755697,), (1389755701,), (1389755704,), (1389755712,), (1389755714,), (1389755715,), (1389755717,), (1389755719,), (1389755744,), (1389755747,), (1389755750,), (1389755753,), (1389755756,), (1389755758,), (1389755766,), (1389755769,), (1389755773,), (1389755777,), (1389755803,), (1389755806,), (1389755809,), (1389755812,), (1389755815,), (1389755841,), (1389755843,), (1389755847,), (1389755851,), (1389755855,), (1389755858,), (1389755887,), (1389755889,), (1389755891,), (1389755893,), (1389755911,), (1389755914,), (1389755918,), (1389755922,), (1389755926,), (1389755931,), (1389755935,), (1389756809,), (1389766630,), (1389766636,), (1389766645,), (1389766652,), (1389766658,), (1389766666,), (1389766673,), (1389766679,), (1389766683,), (1389766688,), (1389766689,), (1389766692,), (1389766698,), (1389766701,), (1389766705,), (1389766706,), (1389766710,), (1389766711,), (1389766717,), (1389766718,), (1389766719,), (1389766724,), (1389766725,), (1389766729,), (1389766730,), (1389766734,), (1389766738,), (1389766740,), (1389766743,), (1389766746,), (1389766747,), (1389766751,), (1389766752,), (1389766754,), (1389766761,), (1389766762,), (1389766763,), (1389766770,), (1389766771,), (1389766773,), (1389766774,), (1389766781,), (1389766784,), (1389766786,), (1389766797,), (1389766798,), (1389766801,), (1389766810,), (1389766811,), (1389766813,), (1389766817,), (1389766827,), (1389766831,), (1389766838,), (1389766843,), (1389766848,), (1389766852,), (1389766861,), (1389766867,), (1389766871,), (1389766876,), (1389766878,), (1389766885,), (1389766886,), (1389766893,), (1389766894,), (1389766904,), (1389766907,), (1389766908,), (1389766916,), (1389766919,), (1389766929,), (1389766934,), (1389766944,), (1389766954,), (1389766956,), (1389766971,), (1389766977,), (1389766988,), (1389767006,), (1389767023,), (1389767030,), (1389767044,), (1389767049,), (1389767063,), (1389767077,), (1389767090,), (1389767092,), (1389767106,), (1389767112,), (1389767136,), (1389767143,), (1389767169,), (1389767175,), (1389767190,), (1389767196,), (1389767210,), (1389767214,), (1389767223,), (1389767235,), (1389767244,), (1389767256,), (1389767280,), (1389767302,), (1389767325,), (1389767347,), (1389767369,), (1389767394,), (1389767407,), (1389767412,), (1389767413,), (1389767427,), (1389767434,), (1389767449,), (1389767454,), (1389767474,), (1389767477,), (1389767486,), (1389767493,), (1389767500,), (1389767508,), (1389767530,), (1389767537,), (1389767549,), (1389767558,), (1389767577,), (1389767585,), (1389767598,), (1389767606,), (1389767622,), (1389767629,), (1389767636,), (1389767645,), (1389767659,), (1389767669,), (1389767677,), (1389767682,), (1389767698,), (1389767707,), (1389767713,), (1389767741,), (1389767772,), (1389767775,), (1389767790,), (1389767803,), (1389767819,), (1389767851,), (1389767866,), (1389767875,), (1389767895,), (1389767924,), (1389767954,), (1389767962,), (1389767987,), (1389767994,), (1389768018,), (1389768026,), (1389768051,), (1389768058,), (1389768077,), (1389768088,), (1389768119,), (1389768135,), (1389768153,), (1389768165,), (1389768199,), (1389768205,), (1389768206,), (1389768207,), (1389768239,), (1389768244,), (1389768245,), (1389768275,), (1389768276,), (1389768289,), (1389768298,), (1389768309,), (1389768322,), (1389768350,), (1389768366,), (1389768396,), (1389768401,), (1389768423,), (1389768427,), (1389768453,), (1389768482,), (1389768492,), (1389768525,), (1389768548,), (1389768560,), (1389768576,), (1389768608,), (1389768610,), (1389768644,), (1389768675,), (1389768677,), (1389768719,), (1389768738,), (1389768755,), (1389768775,), (1389768787,), (1389768808,), (1389768819,), (1389768820,), (1389768852,), (1389768855,), (1389768888,), (1389768910,), (1389768941,), (1389776450,), (1389776455,), (1389776459,), (1389777045,), (1389777253,), (1389777256,), (1389777290,), (1389777301,), (1389777660,), (1389777674,), (1389777677,), (1389777679,), (1389777737,), (1389777771,), (1389777884,), (1389777887,), (1389777892,), (1389778484,), (1389778485,), (1389778489,), (1389778495,), (1389778497,), (1389778499,), (1389780127,), (1389780133,), (1389780184,), (1389780228,), (1389780231,), (1389780237,), (1389780243,), (1389781823,), (1389781888,), (1389781966,), (1389782216,), (1389782235,), (1389782242,), (1389782244,), (1389782248,), (1389782252,), (1389782255,), (1389795140,), (1389795194,), (1389795206,), (1389795366,), (1389795375,), (1389795378,), (1389795412,), (1389795440,), (1389795442,), (1389795445,), (1389795449,), (1389795453,), (1389795457,), (1389795606,), (1389795607,), (1389795608,), (1389795610,), (1389795612,), (1389795615,), (1389795623,), (1389795627,), (1389795630,), (1389795632,), (1389795635,), (1389795638,), (1389795660,), (1389795664,), (1389795668,), (1389795672,), (1389795676,), (1389795685,), (1389795701,), (1389795705,), (1389795707,), (1389795710,), (1389795712,), (1389795713,), (1389795718,), (1389795725,), (1389795965,), (1389796104,), (1389796110,), (1389758111,), (1389758114,), (1389758130,), (1389758132,), (1389758134,), (1389758137,), (1389758140,), (1389758143,), (1389758151,), (1389758154,), (1389758157,), (1389758160,), (1389758163,), (1389758174,), (1389758176,), (1389758179,), (1389758181,), (1389758184,), (1389758193,), (1389758194,), (1389758197,), (1389758215,), (1389758217,), (1389758219,), (1389758222,), (1389758224,), (1389758235,), (1389758236,), (1389758237,), (1389758241,), (1389758244,), (1389758247,), (1389758255,), (1389758257,), (1389758260,), (1389758273,), (1389758281,), (1389758284,), (1389758288,), (1389758291,), (1389758293,), (1389758298,), (1389758300,), (1389758303,), (1389758306,), (1389758319,), (1389758322,), (1389758324,), (1389758328,), (1389758331,), (1389758340,), (1389758342,), (1389758360,), (1389758363,), (1389758367,), (1389758369,), (1389758382,), (1389758386,), (1389758390,), (1389758393,), (1389758401,), (1389758403,), (1389758405,), (1389758409,), (1389758414,), (1389758435,), (1389759049,), (1389759052,), (1389759055,), (1389759058,), (1389759071,), (1389759073,), (1389759075,), (1389759079,), (1389759090,), (1389759093,), (1389759097,), (1389759101,), (1389759104,), (1389759112,), (1389759115,), (1389759118,), (1389759121,), (1389759123,), (1389759127,), (1389759135,), (1389759137,), (1389759141,), (1389759145,), (1389759154,), (1389759157,), (1389759161,), (1389759165,), (1389759168,), (1389759176,), (1389759179,), (1389759182,), (1389759185,), (1389759187,), (1389759198,), (1389759201,), (1389759204,), (1389759217,), (1389759220,), (1389759221,), (1389759224,), (1389759227,), (1389759239,), (1389759243,), (1389759248,), (1389759252,), (1389759256,), (1389759258,), (1389759262,), (1389759265,), (1389759268,), (1389759273,), (1389759283,), (1389759286,), (1389759289,), (1389759292,), (1389759295,), (1389759297,), (1389759308,), (1389759311,), (1389759315,), (1389759318,), (1389759328,), (1389759330,), (1389759334,), (1389759338,), (1389759341,), (1389759344,), (1389759353,), (1389759356,), (1389759359,), (1389759361,), (1389759364,), (1389759380,), (1389759686,), (1389759689,), (1389759692,), (1389759695,), (1389759698,), (1389759709,), (1389759713,), (1389759717,), (1389759719,), (1389759721,), (1389759725,), (1389759732,), (1389759734,), (1389759738,), (1389759741,), (1389759751,), (1389759754,), (1389759758,), (1389759762,), (1389759764,), (1389759776,), (1389759779,), (1389759782,), (1389759784,), (1389759785,), (1389759787,), (1389759798,), (1389759800,), (1389759801,), (1389759804,), (1389759818,), (1389759820,), (1389759823,), (1389759826,), (1389759828,), (1389759841,), (1389759844,), (1389759846,), (1389759847,), (1389759850,), (1389759865,), (1389759867,), (1389759870,), (1389759873,), (1389759885,), (1389759889,), (1389759892,), (1389759895,), (1389759900,), (1389759912,), (1389759914,), (1389759916,), (1389759919,), (1389759921,), (1389759924,), (1389759933,), (1389759934,), (1389759936,), (1389759952,), (1389759955,), (1389759959,), (1389759963,), (1389759966,), (1389759969,), (1389759976,), (1389759981,), (1389759986,), (1389759989,), (1389759995,), (1389759996,), (1389759999,), (1389760002,), (1389760004,), (1389760022,), (1389760010,), (1389760015,), (1389760020,), (1389760034,), (1389760037,), (1389760041,), (1389760045,), (1389760057,), (1389760061,), (1389760065,), (1389760070,), (1389760075,), (1389760085,), (1389760088,), (1389760092,), (1389760096,), (1389760099,), (1389760109,), (1389760112,), (1389760131,), (1389760135,), (1389760140,), (1389760145,), (1389760148,), (1389760159,), (1389760162,), (1389760165,), (1389760169,), (1389760173,), (1389760186,), (1389760190,), (1389760194,), (1389760198,), (1389760202,), (1389760203,), (1389760206,), (1389760207,), (1389760211,), (1389760218,), (1389760221,), (1389760224,), (1389760227,), (1389760229,), (1389760232,), (1389760247,), (1389760252,), (1389760256,), (1389760259,), (1389760262,), (1389761298,), (1389761317,), (1389761358,), (1389761373,), (1389761402,), (1389761405,), (1389761422,), (1389761425,), (1389761429,), (1389761433,), (1389761439,), (1389761442,), (1389761452,), (1389761455,), (1389761532,), (1389761535,), (1389761538,), (1389761559,), (1389761562,), (1389761567,), (1389761570,), (1389761572,), (1389761574,), (1389761582,), (1389761592,), (1389761597,), (1389761600,), (1389761603,), (1389761608,), (1389761612,), (1389761618,), (1389761753,), (1389761749,), (1389761751,), (1389761763,), (1389761771,), (1389761775,), (1389761779,), (1389761781,), (1389761792,), (1389761794,), (1389761797,), (1389761800,), (1389761801,), (1389761803,), (1389761818,), (1389761822,), (1389761826,), (1389761838,), (1389761842,), (1389761846,), (1389761850,), (1389761853,), (1389761855,), (1389761869,), (1389761872,), (1389761874,), (1389761875,), (1389761876,), (1389761878,), (1389761884,), (1389761887,), (1389761890,), (1389761892,), (1389761895,), (1389761897,), (1389761901,), (1389761904,), (1389761906,), (1389761908,), (1389761914,), (1389761918,), (1389761937,), (1389761941,), (1389761945,), (1389761947,), (1389761950,), (1389761953,), (1389761968,), (1389762008,), (1389767119,), (1389767187,), (1389767295,), (1389767385,), (1389767388,), (1389767463,), (1389767515,), (1389767579,), (1389767611,), (1389767655,), (1389767719,), (1389767754,), (1389767813,), (1389767842,), (1389767901,), (1389767926,), (1389767931,), (1389767959,), (1389768004,), (1389768038,), (1389768065,), (1389768100,), (1389768134,), (1389768136,), (1389768167,), (1389768173,), (1389768234,), (1389768264,), (1389768299,), (1389768331,), (1389768371,), (1389768402,), (1389768438,), (1389768462,), (1389768493,), (1389768514,), (1389768550,), (1389768583,), (1389768611,), (1389768645,), (1389768668,), (1389768703,), (1389768716,), (1389768751,), (1389768754,), (1389768788,), (1389768810,), (1389768849,), (1389768880,), (1389776421,), (1389776423,), (1389776445,), (1389761962,), (1389761965,), (1389761983,), (1389761986,), (1389761990,), (1389761993,), (1389761996,), (1389761999,), (1389762002,), (1389762004,), (1389762013,), (1389762172,), (1389762188,), (1389762192,), (1389762196,), (1389762199,), (1389762201,), (1389762208,), (1389762211,), (1389762243,), (1389762271,), (1389762229,), (1389762232,), (1389762236,), (1389762240,), (1389762255,), (1389762257,), (1389762259,), (1389762261,), (1389762263,), (1389762266,), (1389762270,), (1389762279,), (1389762281,), (1389762283,), (1389762286,), (1389762288,), (1389762290,), (1389762300,), (1389762304,), (1389762307,), (1389762310,), (1389762324,), (1389762327,), (1389762343,), (1389762346,), (1389762349,), (1389762353,), (1389762363,), (1389762366,), (1389762370,), (1389762373,), (1389762377,), (1389762379,), (1389762394,), (1389762397,), (1389762398,), (1389762410,), (1389762412,), (1389762416,), (1389762417,), (1389762420,), (1389762421,), (1389762433,), (1389762437,), (1389762441,), (1389762444,), (1389762447,), (1389762449,), (1389762460,), (1389762463,), (1389762467,), (1389762469,), (1389762471,), (1389762482,), (1389762484,), (1389762487,), (1389762490,), (1389762492,), (1389762494,), (1389762498,), (1389762500,), (1389762502,), (1389762506,), (1389762511,), (1389762518,), (1389762521,), (1389762523,), (1389762524,), (1389762525,), (1389762530,), (1389762534,), (1389762538,), (1389762543,), (1389762547,), (1389762553,), (1389762554,), (1389762557,), (1389762559,), (1389762583,), (1389762585,), (1389762665,), (1389762668,), (1389762671,), (1389762672,), (1389762673,), (1389762575,), (1389762577,), (1389762579,), (1389762581,), (1389762598,), (1389762599,), (1389762600,), (1389762603,), (1389762607,), (1389762611,), (1389762617,), (1389762618,), (1389762619,), (1389762621,), (1389762623,), (1389762627,), (1389762636,), (1389762639,), (1389762642,), (1389762644,), (1389762646,), (1389762647,), (1389762653,), (1389762655,), (1389762657,), (1389762661,), (1389762680,), (1389762682,), (1389762686,), (1389762689,), (1389762692,), (1389762701,), (1389762704,), (1389762707,), (1389762709,), (1389762710,), (1389762711,), (1389762716,), (1389762720,), (1389762722,), (1389762725,), (1389762727,), (1389762731,), (1389762734,), (1389762742,), (1389762746,), (1389762749,), (1389762751,), (1389762754,), (1389762758,), (1389762765,), (1389762767,), (1389762770,), (1389762774,), (1389762777,), (1389762780,), (1389762787,), (1389762790,), (1389762794,), (1389762798,), (1389762807,), (1389762810,), (1389762814,), (1389762817,), (1389762819,), (1389762822,), (1389762831,), (1389762835,), (1389762839,), (1389762849,), (1389762852,), (1389762856,), (1389762860,), (1389762870,), (1389762873,), (1389762876,), (1389762878,), (1389762881,), (1389762884,), (1389762902,), (1389762934,), (1389762893,), (1389762896,), (1389762899,), (1389762914,), (1389762916,), (1389762920,), (1389762924,), (1389762927,), (1389762930,), (1389762937,), (1389762939,), (1389762941,), (1389762944,), (1389762948,), (1389762951,), (1389762958,), (1389762961,), (1389762964,), (1389762967,), (1389762980,), (1389762984,), (1389762987,), (1389762995,), (1389762998,), (1389763003,), (1389763008,), (1389763011,), (1389763015,), (1389763021,), (1389763024,), (1389763028,), (1389763031,), (1389763033,), (1389763036,), (1389763043,), (1389763046,), (1389763049,), (1389763053,), (1389763063,), (1389763066,), (1389763069,), (1389763073,), (1389763077,), (1389763080,), (1389763090,), (1389763094,), (1389763098,), (1389763103,), (1389763107,), (1389763109,), (1389763115,), (1389763118,), (1389763121,), (1389763125,), (1389763138,), (1389763141,), (1389763144,), (1389763145,), (1389763148,), (1389763151,), (1389763153,), (1389763155,), (1389763157,), (1389763161,), (1389763168,), (1389763171,), (1389763174,), (1389763176,), (1389763186,), (1389763190,), (1389763194,), (1389763197,), (1389763200,), (1389763203,), (1389763212,), (1389763215,), (1389763217,), (1389763221,), (1389763226,), (1389763228,), (1389763245,), (1389763240,), (1389763242,), (1389763265,), (1389763267,), (1389763270,), (1389763274,), (1389763278,), (1389763281,), (1389763289,), (1389763291,), (1389763293,), (1389763296,), (1389763297,), (1389763310,), (1389763313,), (1389763315,), (1389763318,), (1389763333,), (1389763334,), (1389763336,), (1389763340,), (1389763343,), (1389763346,), (1389763354,), (1389763355,), (1389763357,), (1389763362,), (1389763378,), (1389763380,), (1389763382,), (1389763385,), (1389763388,), (1389763390,), (1389763396,), (1389763399,), (1389763402,), (1389763406,), (1389763411,), (1389763412,), (1389763413,), (1389763415,), (1389763420,), (1389763425,), (1389763435,), (1389763440,), (1389763442,), (1389763457,), (1389763459,), (1389763460,), (1389763463,), (1389763477,), (1389763481,), (1389763485,), (1389763489,), (1389763491,), (1389763505,), (1389763508,), (1389763510,), (1389763511,), (1389763513,), (1389763528,), (1389763530,), (1389763534,), (1389763538,), (1389763540,), (1389763551,), (1389763554,), (1389763556,), (1389763558,), (1389763562,), (1389763563,), (1389763575,), (1389763577,), (1389763580,), (1389763583,), (1389763584,), (1389763611,), (1389763653,), (1389763600,), (1389763602,), (1389763606,), (1389763608,), (1389763609,), (1389763624,), (1389763626,), (1389763628,), (1389763631,), (1389763632,), (1389763634,), (1389763639,), (1389763642,), (1389763646,), (1389763650,), (1389763654,), (1389763656,), (1389763659,), (1389763662,), (1389763666,), (1389763677,), (1389763680,), (1389763681,), (1389763682,), (1389763684,), (1389763686,), (1389763699,), (1389763700,), (1389763703,), (1389763705,), (1389763721,), (1389763725,), (1389763734,), (1389763735,), (1389763737,), (1389763740,), (1389763750,), (1389763754,), (1389763756,), (1389763758,), (1389763760,), (1389763762,), (1389763772,), (1389763774,), (1389763775,), (1389763788,), (1389763791,), (1389763793,), (1389763795,), (1389763797,), (1389763800,), (1389763811,), (1389763815,), (1389763818,), (1389763822,), (1389763834,), (1389763837,), (1389763841,), (1389763844,), (1389763846,), (1389763849,), (1389763857,), (1389763859,), (1389763865,), (1389763867,), (1389763870,), (1389763874,), (1389763878,), (1389763880,), (1389763882,), (1389763885,), (1389763893,), (1389763895,), (1389763898,), (1389763899,), (1389763902,), (1389763919,), (1389763924,), (1389763927,), (1389763932,), (1389763936,), (1389763943,), (1389763945,), (1389763948,), (1389763951,), (1389763985,), (1389763964,), (1389763968,), (1389763971,), (1389763977,), (1389763981,), (1389763997,), (1389763999,), (1389764002,), (1389764006,), (1389764018,), (1389764021,), (1389764025,), (1389764029,), (1389764032,), (1389764034,), (1389764043,), (1389764048,), (1389764052,), (1389764055,), (1389764073,), (1389764076,), (1389764079,), (1389764082,), (1389764084,), (1389764088,), (1389764101,), (1389764103,), (1389764105,), (1389764108,), (1389764112,), (1389764126,), (1389764129,), (1389764133,), (1389764137,), (1389764141,), (1389764143,), (1389764145,), (1389764146,), (1389764147,), (1389764155,), (1389764159,), (1389764163,), (1389764167,), (1389764170,), (1389764171,), (1389764181,), (1389764187,), (1389764191,), (1389764196,), (1389764200,), (1389764201,), (1389764223,), (1389764226,), (1389764230,), (1389764233,), (1389764236,), (1389764239,), (1389764241,), (1389764243,), (1389764246,), (1389764252,), (1389764254,), (1389764257,), (1389764261,), (1389764266,), (1389764269,), (1389764272,), (1389764276,), (1389764280,), (1389764282,), (1389764290,), (1389764294,), (1389764298,), (1389764302,), (1389764304,), (1389764312,), (1389764315,), (1389764319,), (1389764323,), (1389764352,), (1389764392,), (1389764334,), (1389764338,), (1389764342,), (1389764345,), (1389764349,), (1389764361,), (1389764365,), (1389764369,), (1389764373,), (1389764375,), (1389764376,), (1389764380,), (1389764384,), (1389764390,), (1389764397,), (1389764401,), (1389764403,), (1389764406,), (1389764409,), (1389764414,), (1389764421,), (1389764425,), (1389764429,), (1389764431,), (1389764437,), (1389764441,), (1389764445,), (1389764448,), (1389764451,), (1389764454,), (1389764463,), (1389764467,), (1389764471,), (1389764475,), (1389764485,), (1389764489,), (1389764493,), (1389764496,), (1389764498,), (1389764500,), (1389764510,), (1389764512,), (1389764516,), (1389764519,), (1389764533,), (1389764535,), (1389764537,), (1389764541,), (1389764544,), (1389764548,), (1389764555,), (1389764558,), (1389764562,), (1389764567,), (1389764580,), (1389764583,), (1389764586,), (1389764591,), (1389764595,), (1389764599,), (1389764612,), (1389764616,), (1389764618,), (1389764623,), (1389764627,), (1389764630,), (1389764635,), (1389764637,), (1389764639,), (1389764641,), (1389764647,), (1389764648,), (1389764651,), (1389764652,), (1389764656,), (1389764657,), (1389764661,), (1389764662,), (1389764665,), (1389764666,), (1389764668,), (1389764669,), (1389764677,), (1389764680,), (1389764684,), (1389764687,), (1389764699,), (1389764705,), (1389764709,), (1389764712,), (1389764715,), (1389764717,), (1389764740,), (1389764728,), (1389764736,), (1389764738,), (1389764753,), (1389764756,), (1389764759,), (1389764762,), (1389764764,), (1389764766,), (1389764775,), (1389764778,), (1389764781,), (1389764797,), (1389764801,), (1389764806,), (1389764810,), (1389764812,), (1389764813,), (1389764824,), (1389764827,), (1389764830,), (1389764832,), (1389764843,), (1389764845,), (1389764848,), (1389764850,), (1389764854,), (1389764856,), (1389764869,), (1389764873,), (1389764876,), (1389764879,), (1389764881,), (1389764883,), (1389764888,), (1389764891,), (1389764895,), (1389764897,), (1389764899,), (1389764901,), (1389764904,), (1389764907,), (1389764910,), (1389764914,), (1389764918,), (1389764928,), (1389764931,), (1389764934,), (1389764938,), (1389764941,), (1389764949,), (1389764952,), (1389764954,), (1389764958,), (1389764962,), (1389764964,), (1389764971,), (1389764973,), (1389764976,), (1389764979,), (1389764993,), (1389764995,), (1389764998,), (1389765001,), (1389765004,), (1389765006,), (1389765017,), (1389765019,), (1389765021,), (1389765023,), (1389765036,), (1389765039,), (1389765041,), (1389765045,), (1389765048,), (1389765060,), (1389765063,), (1389765064,), (1389765067,), (1389765094,), (1389765131,), (1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,), (1389768811,), (1389768812,), (1389768847,), (1389768848,), (1389768878,), (1389768881,), (1389768911,), (1389768914,), (1389768942,), (1389768950,), (1389768975,), (1389768981,), (1389770304,), (1389770312,), (1389770320,), (1389770322,), (1389770325,), (1389770773,), (1389770785,), (1389770994,), (1389772012,), (1389772015,), (1389772017,), (1389772202,), (1389772209,), (1389772214,), (1389772218,), (1389772221,), (1389772226,), (1389772865,), (1389773027,), (1389773168,), (1389773206,), (1389773244,), (1389773261,), (1389773265,), (1389773281,), (1389773282,), (1389773328,), (1389773677,), (1389773827,), (1389773842,), (1389773853,), (1389773857,), (1389773862,), (1389773867,), (1389773870,), (1389774284,), (1389774308,), (1389774315,), (1389774318,), (1389774325,), (1389774332,), (1389774344,), (1389774367,), (1389774936,), (1389774939,), (1389775333,), (1389775335,), (1389775338,), (1389775354,), (1389775356,), (1389775358,), (1389775378,), (1389776002,), (1389776006,), (1389776014,), (1389776021,), (1389776022,), (1389776023,), (1389776320,), (1389776323,), (1389776413,), (1389776414,), (1389776415,), (1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,), (1389769152,), (1389769157,), (1389769161,), (1389769164,), (1389769167,), (1389769170,), (1389769194,), (1389769195,), (1389769203,), (1389769204,), (1389769214,), (1389769225,), (1389769227,), (1389769228,), (1389769232,), (1389769233,), (1389769234,), (1389769235,), (1389769268,), (1389769273,), (1389769278,), (1389769283,), (1389769288,), (1389769290,), (1389769295,), (1389769298,), (1389769300,), (1389769303,), (1389769306,), (1389769308,), (1389769336,), (1389769346,), (1389769352,), (1389769359,), (1389769364,), (1389769371,), (1389769379,), (1389769383,), (1389769387,), (1389769391,), (1389769395,), (1389769399,), (1389769916,), (1389769920,), (1389770043,), (1389770048,), (1389770082,), (1389770084,), (1389770088,), (1389770141,), (1389770233,), (1389770236,), (1389770296,), (1389754680,), (1389754683,), (1389754685,), (1389754710,), (1389754711,), (1389754713,), (1389754715,), (1389754717,), (1389754745,), (1389754746,), (1389754748,), (1389754753,), (1389754757,), (1389754760,), (1389754798,), (1389754801,), (1389754803,), (1389754804,), (1389754829,), (1389754833,), (1389754837,), (1389754841,), (1389754844,), (1389754846,), (1389754849,), (1389754853,), (1389754857,), (1389754860,), (1389754883,), (1389754887,), (1389754890,), (1389754913,), (1389754916,), (1389754921,), (1389754925,), (1389754956,), (1389754959,), (1389754960,), (1389754961,), (1389754962,), (1389754968,), (1389754972,), (1389754975,), (1389754978,), (1389754998,), (1389755000,), (1389755003,), (1389755024,), (1389755025,), (1389755027,), (1389755028,), (1389755052,), (1389755055,), (1389755059,), (1389755061,), (1389755064,), (1389755070,), (1389755072,), (1389755073,), (1389755074,), (1389755077,), (1389755095,), (1389755098,), (1389755102,), (1389755109,), (1389755113,), (1389755117,), (1389755089,), (1389755091,), (1389755093,), (1389755127,), (1389755128,), (1389755131,), (1389755132,), (1389755134,), (1389755135,), (1389755137,), (1389755138,), (1389755140,), (1389755141,), (1389755144,), (1389755145,), (1389755150,), (1389755152,), (1389755155,), (1389755158,), (1389755190,), (1389755192,), (1389755195,), (1389755196,), (1389755200,), (1389755201,), (1389755205,), (1389755206,), (1389755210,), (1389755212,), (1389755217,), (1389755218,), (1389755221,), (1389755252,), (1389755255,), (1389755258,), (1389755261,), (1389755284,), (1389755286,), (1389755288,), (1389755291,), (1389755298,), (1389755303,), (1389755307,), (1389755330,), (1389755333,), (1389755337,), (1389755341,), (1389755369,), (1389755371,), (1389755373,), (1389755375,), (1389755378,), (1389755380,), (1389755389,), (1389755391,), (1389755423,), (1389755427,), (1389755431,), (1389755435,), (1389755437,), (1389755459,), (1389755462,), (1389755465,), (1389755468,), (1389755471,), (1389755475,), (1389755481,), (1389755484,), (1389755488,), (1389755515,), (1389755518,), (1389755519,), (1389755522,), (1389755524,), (1389755564,), (1389756807,), (1389756808,), (1389756814,), (1389756817,), (1389756820,), (1389756823,), (1389756825,), (1389756842,), (1389756844,), (1389756865,), (1389756868,), (1389756871,), (1389756874,), (1389756877,), (1389756879,), (1389756882,), (1389756884,), (1389756887,), (1389756890,), (1389756893,), (1389756912,), (1389756916,), (1389756918,), (1389756920,), (1389756923,), (1389756946,), (1389756948,), (1389756950,), (1389756952,), (1389756954,), (1389756958,), (1389756961,), (1389756963,), (1389756966,), (1389756987,), (1389756988,), (1389756989,), (1389756990,), (1389756991,), (1389756992,), (1389756994,), (1389756997,), (1389756998,), (1389757001,), (1389757007,), (1389757008,), (1389757011,), (1389757031,), (1389757034,), (1389757038,), (1389757041,), (1389757045,), (1389757047,), (1389757071,), (1389757074,), (1389757079,), (1389757082,), (1389757085,), (1389757089,), (1389757091,), (1389757094,), (1389757097,), (1389757123,), (1389757125,), (1389757126,), (1389757128,), (1389757130,), (1389757149,), (1389757137,), (1389757140,), (1389757142,), (1389757144,), (1389757147,), (1389757153,), (1389757156,), (1389757159,), (1389757181,), (1389757185,), (1389757188,), (1389757192,), (1389757195,), (1389757196,), (1389757216,), (1389757219,), (1389757222,), (1389757228,), (1389757231,), (1389757236,), (1389757238,), (1389757241,), (1389757266,), (1389757267,), (1389757270,), (1389757271,), (1389757274,), (1389757275,), (1389757278,), (1389757279,), (1389757281,), (1389757282,), (1389757283,), (1389757284,), (1389757289,), (1389757293,), (1389757295,), (1389757298,), (1389757300,), (1389757302,), (1389757326,), (1389757328,), (1389757330,), (1389757334,), (1389757337,), (1389757340,), (1389757342,), (1389757344,), (1389757345,), (1389757346,), (1389757347,), (1389757348,), (1389757349,), (1389757351,), (1389757352,), (1389757354,), (1389757355,), (1389757357,), (1389757360,), (1389757362,), (1389757364,), (1389757365,), (1389757369,), (1389757370,), (1389757373,), (1389757374,), (1389757376,), (1389757377,), (1389757380,), (1389757385,), (1389757389,), (1389757392,), (1389757395,), (1389757398,), (1389757400,), (1389757408,), (1389757412,), (1389757415,), (1389757418,), (1389757421,), (1389757425,), (1389757430,), (1389757432,), (1389757435,), (1389757459,), (1389757444,), (1389757448,), (1389757451,), (1389757454,), (1389757457,), (1389757482,), (1389757485,), (1389757488,), (1389757489,), (1389757491,), (1389757494,), (1389757504,), (1389757506,), (1389757524,), (1389757526,), (1389757528,), (1389757530,), (1389757534,), (1389757543,), (1389757546,), (1389757549,), (1389757552,), (1389757554,), (1389757555,), (1389757566,), (1389757569,), (1389757571,), (1389757574,), (1389757587,), (1389757590,), (1389757593,), (1389757595,), (1389757596,), (1389757598,), (1389757609,), (1389757610,), (1389757613,), (1389757616,), (1389757619,), (1389757621,), (1389757630,), (1389757633,), (1389757636,), (1389757651,), (1389757653,), (1389757656,), (1389757659,), (1389757671,), (1389757672,), (1389757674,), (1389757678,), (1389757680,), (1389757691,), (1389757695,), (1389757698,), (1389757701,), (1389757715,), (1389757717,), (1389757718,), (1389757720,), (1389757724,), (1389757739,), (1389757742,), (1389757746,), (1389757749,), (1389757751,), (1389757754,), (1389757762,), (1389757766,), (1389757770,), (1389757774,), (1389757777,), (1389757780,), (1389757785,), (1389757787,), (1389757789,), (1389757790,), (1389757791,), (1389757814,), (1389757815,), (1389757794,), (1389757795,), (1389757798,), (1389757800,), (1389757803,), (1389757804,), (1389757806,), (1389757808,), (1389757811,), (1389757812,), (1389757819,), (1389757823,), (1389757825,), (1389757827,), (1389757832,), (1389757838,), (1389757840,), (1389757843,), (1389757846,), (1389757849,), (1389757861,), (1389757864,), (1389757867,), (1389757870,), (1389757873,), (1389757876,), (1389757883,), (1389757885,), (1389757889,), (1389757893,), (1389757896,), (1389757899,), (1389757907,), (1389757911,), (1389757916,), (1389757919,), (1389757933,), (1389757937,), (1389757941,), (1389757944,), (1389757948,), (1389757951,), (1389757956,), (1389757958,), (1389757961,), (1389757964,), (1389757968,), (1389757976,), (1389757978,), (1389757982,), (1389757996,), (1389757999,), (1389758001,), (1389758004,), (1389758015,), (1389758017,), (1389758020,), (1389758023,), (1389758026,), (1389758033,), (1389758036,), (1389758040,), (1389758052,), (1389758055,), (1389758068,), (1389758070,), (1389758073,), (1389758076,), (1389758079,), (1389758082,), (1389758092,), (1389758094,), (1389758098,), (1389758101,), (1389758103,), (1389758117,), (1389758426,), (1389758428,), (1389758432,), (1389758444,), (1389758447,), (1389758450,), (1389758454,), (1389758458,), (1389758461,), (1389758467,), (1389758470,), (1389758473,), (1389758476,), (1389758479,), (1389758492,), (1389758494,), (1389758495,), (1389758498,), (1389758511,), (1389758513,), (1389758515,), (1389758531,), (1389758546,), (1389758547,), (1389758550,), (1389758554,), (1389758557,), (1389758560,), (1389758567,), (1389758569,), (1389758571,), (1389758588,), (1389758590,), (1389758593,), (1389758596,), (1389758598,), (1389758600,), (1389758610,), (1389758612,), (1389758614,), (1389758618,), (1389758630,), (1389758632,), (1389758635,), (1389758638,), (1389758641,), (1389758644,), (1389758648,), (1389758655,), (1389758658,), (1389758660,), (1389758663,), (1389758666,), (1389758672,), (1389758676,), (1389758679,), (1389758683,), (1389758685,), (1389758696,), (1389758700,), (1389758705,), (1389758709,), (1389758713,), (1389758718,), (1389758719,), (1389758722,), (1389758736,), (1389758726,), (1389758729,), (1389758733,), (1389758735,), (1389758748,), (1389758750,), (1389758753,), (1389758756,), (1389758759,), (1389758767,), (1389758770,), (1389758773,), (1389758777,), (1389758789,), (1389758792,), (1389758796,), (1389758799,), (1389758801,), (1389758803,), (1389758809,), (1389758812,), (1389758815,), (1389758818,), (1389758820,), (1389758829,), (1389758831,), (1389758834,), (1389758846,), (1389758849,), (1389758854,), (1389758859,), (1389758863,), (1389758869,), (1389758872,), (1389758876,), (1389758880,), (1389758883,), (1389758886,), (1389758892,), (1389758895,), (1389758897,), (1389758909,), (1389758911,), (1389758915,), (1389758918,), (1389758922,), (1389758925,), (1389758932,), (1389758936,), (1389758941,), (1389758946,), (1389758950,), (1389758951,), (1389758960,), (1389758963,), (1389758967,), (1389758970,), (1389758982,), (1389758984,), (1389758986,), (1389758989,), (1389758991,), (1389758993,), (1389759002,), (1389759006,), (1389759009,), (1389759011,), (1389759024,), (1389759027,), (1389759030,), (1389759033,), (1389759035,), (1389759038,), (1389759060,), (1389759377,), (1389759379,), (1389759395,), (1389759396,), (1389759397,), (1389759399,), (1389759402,), (1389759415,), (1389759431,), (1389759449,), (1389759452,), (1389759456,), (1389759459,), (1389759470,), (1389759472,), (1389759475,), (1389759478,), (1389759482,), (1389759490,), (1389759493,), (1389759497,), (1389759502,), (1389759512,), (1389759515,), (1389759520,), (1389759525,), (1389759535,), (1389759538,), (1389759541,), (1389759555,), (1389759558,), (1389759562,), (1389759564,), (1389759579,), (1389759583,), (1389759588,), (1389759591,), (1389759593,), (1389759604,), (1389759607,), (1389759610,), (1389759614,), (1389759618,), (1389759620,), (1389759628,), (1389759630,), (1389759631,), (1389759632,), (1389759633,), (1389759649,), (1389759663,), (1389759665,), (1389759668,), (1389759701,), (1389769707,), (1389769903,), (1389769908,), (1389769912,), (1389770159,), (1389770162,), (1389770178,), (1389770190,), (1389770196,), (1389770202,), (1389770209,), (1389770212,), (1389770218,), (1389770228,), (1389770265,), (1389770273,), (1389770276,), (1389770285,), (1389770288,), (1389770290,), (1389770717,), (1389770718,), (1389770734,), (1389770747,), (1389770750,), (1389770758,), (1389770766,), (1389770771,), (1389770779,), (1389770780,), (1389770939,), (1389770943,), (1389770990,), (1389770991,), (1389770992,), (1389771065,), (1389771103,), (1389771640,), (1389771650,), (1389771654,), (1389771658,), (1389771666,), (1389771828,), (1389771838,), (1389771845,), (1389771887,), (1389771910,), (1389771919,), (1389771988,), (1389772006,), (1389772025,), (1389772029,), (1389772158,), (1389772177,), (1389772182,), (1389772187,), (1389772837,), (1389772840,), (1389772844,), (1389772847,), (1389772850,), (1389772928,), (1389772934,), (1389772937,), (1389772939,), (1389773288,), (1389773289,), (1389773291,), (1389773292,), (1389773295,), (1389773296,), (1389773299,), (1389773300,), (1389773304,), (1389773305,), (1389773307,), (1389773308,), (1389773318,), (1389773321,), (1389773324,), (1389774049,), (1389774198,), (1389774206,), (1389774214,), (1389774222,), (1389774353,), (1389774357,), (1389774360,), (1389774362,), (1389774363,), (1389774934,), (1389775332,), (1389774925,), (1389774929,), (1389774933,), (1389775241,), (1389775243,), (1389775293,), (1389775310,), (1389775319,), (1389775322,), (1389775327,), (1389775329,), (1389775344,), (1389775348,), (1389775351,), (1389775366,), (1389775369,), (1389775373,), (1389775376,), (1389775377,), (1389776029,), (1389776032,), (1389776275,), (1389776287,), (1389776383,), (1389776384,), (1389776387,), (1389776390,), (1389776394,), (1389776405,), (1389776432,), (1389776435,), (1389776437,), (1389776440,), (1389776442,), (1389777271,), (1389777273,), (1389777276,), (1389777280,), (1389777309,), (1389777312,), (1389777314,), (1389777317,), (1389777319,), (1389777322,), (1389777852,), (1389777858,), (1389777874,), (1389778754,), (1389778803,), (1389778807,), (1389778810,), (1389778812,), (1389778815,), (1389778839,), (1389778842,), (1389778851,), (1389778858,), (1389778861,), (1389778863,), (1389778871,), (1389778880,), (1389778907,), (1389778911,), (1389778920,), (1389778948,), (1389778972,), (1389779426,), (1389779719,), (1389779722,), (1389779725,), (1389779744,), (1389779752,), (1389779757,), (1389779761,), (1389779763,), (1389779767,), (1389779770,), (1389780053,), (1389780058,), (1389780069,), (1389780221,), (1389780222,), (1389780208,), (1389780209,), (1389780211,), (1389780212,), (1389780214,), (1389780215,), (1389780269,), (1389780270,), (1389780331,), (1389780897,), (1389781023,), (1389781031,), (1389781063,), (1389781065,), (1389781071,), (1389781086,), (1389781088,), (1389781700,), (1389781759,), (1389781762,), (1389781767,), (1389782072,), (1389782074,), (1389782094,), (1389782105,), (1389782119,), (1389782121,), (1389782182,), (1389782184,), (1389782185,), (1389782196,), (1389782200,), (1389782262,), (1389782263,), (1389782265,), (1389782266,), (1389782268,), (1389782269,), (1389782277,), (1389782278,), (1389782280,), (1389782281,), (1389782284,), (1389782285,), (1389782308,), (1389782319,), (1389782338,), (1389782352,), (1389782363,), (1389782373,), (1389782404,), (1389782412,), (1389782429,), (1389782445,), (1389782466,), (1389782472,), (1389782482,), (1389782490,), (1389782498,), (1389782505,), (1389782507,), (1389782518,), (1389782525,), (1389782529,), (1389782535,), (1389782539,), (1389782542,), (1389782548,), (1389782552,), (1389782554,), (1389782560,), (1389782566,), (1389782569,), (1389782573,), (1389782580,), (1389782593,), (1389782612,), (1389782620,), (1389782625,), (1389782639,), (1389782642,), (1389782663,), (1389782665,), (1389782672,), (1389782691,), (1389782697,), (1389782711,), (1389782719,), (1389782730,), (1389782737,), (1389782748,), (1389782764,), (1389782822,), (1389782843,), (1389793184,), (1389793189,), (1389793228,), (1389793259,), (1389793327,), (1389793402,), (1389793462,), (1389793480,), (1389793501,), (1389793503,), (1389793505,), (1389793510,), (1389793538,), (1389793542,), (1389793545,), (1389793547,), (1389793563,), (1389793581,), (1389793584,), (1389793586,), (1389793856,), (1389794329,), (1389794331,), (1389794337,), (1389794341,), (1389794345,), (1389794349,), (1389794352,), (1389794355,), (1389794361,), (1389794365,), (1389794762,), (1389795081,), (1389795084,), (1389782742,), (1389782762,), (1389782782,), (1389782790,), (1389782800,), (1389782817,), (1389782844,), (1389782862,), (1389782864,), (1389782886,), (1389782887,), (1389782904,), (1389782905,), (1389782906,), (1389782907,), (1389782924,), (1389782929,), (1389782930,), (1389782944,), (1389782948,), (1389782955,), (1389782960,), (1389782971,), (1389782972,), (1389782979,), (1389782984,), (1389782989,), (1389782995,), (1389782999,), (1389783001,), (1389783010,), (1389783015,), (1389783018,), (1389783019,), (1389783034,), (1389783041,), (1389783051,), (1389783055,), (1389783063,), (1389783076,), (1389783085,), (1389783093,), (1389783094,), (1389783104,), (1389783112,), (1389783113,), (1389783128,), (1389783129,), (1389783142,), (1389783152,), (1389783153,), (1389783165,), (1389783177,), (1389783184,), (1389783193,), (1389783197,), (1389783209,), (1389783215,), (1389783232,), (1389783238,), (1389783255,), (1389783260,), (1389783266,), (1389783280,), (1389783288,), (1389783304,), (1389783316,), (1389783324,), (1389783325,), (1389783346,), (1389783349,), (1389783374,), (1389783375,), (1389783399,), (1389783421,), (1389783431,), (1389783447,), (1389783460,), (1389783484,), (1389783517,), (1389783549,), (1389783583,), (1389783585,), (1389783621,), (1389791535,), (1389791542,), (1389791550,), (1389791554,), (1389791558,), (1389791561,), (1389791569,), (1389791572,), (1389791579,), (1389791583,), (1389791586,), (1389791589,), (1389791597,), (1389791600,), (1389791605,), (1389791610,), (1389791624,), (1389791646,), (1389791659,), (1389791664,), (1389791669,), (1389791673,), (1389791679,), (1389791686,), (1389791692,), (1389791694,), (1389791700,), (1389791701,), (1389791706,), (1389791711,), (1389791719,), (1389791720,), (1389791722,), (1389791724,), (1389791725,), (1389791727,), (1389791733,), (1389791736,), (1389791740,), (1389791742,), (1389791745,), (1389791747,), (1389791762,), (1389791763,), (1389791767,), (1389791768,), (1389791773,), (1389791774,), (1389791777,), (1389791778,), (1389791781,), (1389791782,), (1389791783,), (1389791788,), (1389791805,), (1389791806,), (1389791816,), (1389791818,), (1389791824,), (1389791826,), (1389791835,), (1389791837,), (1389791944,), (1389792489,), (1389792519,), (1389792521,), (1389792853,), (1389792857,), (1389792861,), (1389792864,), (1389792867,), (1389792868,), (1389792872,), (1389792875,), (1389792878,), (1389792882,), (1389792886,), (1389792889,), (1389783467,), (1389783501,), (1389783531,), (1389783559,), (1389783571,), (1389783603,), (1389783636,), (1389783638,), (1389783671,), (1389783676,), (1389783698,), (1389783707,), (1389783709,), (1389783727,), (1389783737,), (1389783738,), (1389783744,), (1389783753,), (1389783754,), (1389783756,), (1389783766,), (1389783772,), (1389783781,), (1389783788,), (1389783790,), (1389783795,), (1389783796,), (1389783806,), (1389783812,), (1389783815,), (1389783820,), (1389783821,), (1389783828,), (1389783839,), (1389783843,), (1389783849,), (1389783853,), (1389783856,), (1389783859,), (1389783871,), (1389783879,), (1389783880,), (1389783882,), (1389783888,), (1389783889,), (1389783890,), (1389783917,), (1389783918,), (1389783919,), (1389783924,), (1389783925,), (1389783926,), (1389783953,), (1389783958,), (1389783966,), (1389783988,), (1389783991,), (1389784001,), (1389784003,), (1389784030,), (1389784034,), (1389784054,), (1389784067,), (1389784072,), (1389784076,), (1389784091,), (1389784105,), (1389784115,), (1389784126,), (1389784135,), (1389784139,), (1389784147,), (1389784153,), (1389784166,), (1389784168,), (1389784187,), (1389784188,), (1389784198,), (1389784205,), (1389784223,), (1389784232,), (1389784235,), (1389784255,), (1389784262,), (1389784287,), (1389784292,), (1389784325,), (1389784360,), (1389784362,), (1389784401,), (1389784445,), (1389790225,), (1389790234,), (1389790238,), (1389790243,), (1389790247,), (1389790251,), (1389790253,), (1389790256,), (1389790258,), (1389790399,), (1389790809,), (1389790817,), (1389790820,), (1389790823,), (1389790827,), (1389790831,), (1389790833,), (1389790837,), (1389791001,), (1389791076,), (1389791107,), (1389791109,), (1389791113,), (1389791195,), (1389791198,), (1389791199,), (1389791212,), (1389791215,), (1389791217,), (1389791235,), (1389791239,), (1389791260,), (1389791264,), (1389791269,), (1389791273,), (1389791291,), (1389791293,), (1389791294,), (1389791296,), (1389791301,), (1389791306,), (1389791314,), (1389791317,), (1389791319,), (1389791320,), (1389791321,), (1389791323,), (1389791328,), (1389791333,), (1389791337,), (1389791340,), (1389791343,), (1389791346,), (1389791354,), (1389791368,), (1389791371,), (1389791373,), (1389791377,), (1389791390,), (1389791393,), (1389791396,), (1389791398,), (1389791400,), (1389791403,), (1389791429,), (1389791433,), (1389791436,), (1389791439,), (1389791443,), (1389791447,), (1389791453,), (1389791455,), (1389791462,), (1389791465,), (1389791469,), (1389791474,), (1389791497,), (1389791499,), (1389791502,), (1389791504,), (1389791531,), (1389791532,), (1389784249,), (1389784276,), (1389784283,), (1389784311,), (1389784319,), (1389784320,), (1389784344,), (1389784361,), (1389784379,), (1389784380,), (1389784391,), (1389784403,), (1389784422,), (1389784423,), (1389784425,), (1389784438,), (1389784458,), (1389784464,), (1389784466,), (1389784467,), (1389784488,), (1389784491,), (1389784493,), (1389784505,), (1389784524,), (1389784529,), (1389784534,), (1389784536,), (1389784545,), (1389784577,), (1389784578,), (1389784582,), (1389784583,), (1389784593,), (1389784606,), (1389784620,), (1389784632,), (1389784644,), (1389784649,), (1389784659,), (1389784665,), (1389784678,), (1389784688,), (1389784700,), (1389784714,), (1389784715,), (1389784731,), (1389784742,), (1389784747,), (1389784767,), (1389784774,), (1389784779,), (1389784793,), (1389784810,), (1389784811,), (1389784828,), (1389784831,), (1389784866,), (1389784867,), (1389784885,), (1389784887,), (1389784916,), (1389784918,), (1389784941,), (1389784942,), (1389784969,), (1389784973,), (1389784986,), (1389784992,), (1389785012,), (1389785024,), (1389785033,), (1389785035,), (1389785046,), (1389785083,), (1389785084,), (1389785085,), (1389785095,), (1389785140,), (1389785143,), (1389785145,), (1389785197,), (1389785209,), (1389785226,), (1389785251,), (1389785265,), (1389785327,), (1389785358,), (1389785418,), (1389789744,), (1389789748,), (1389789752,), (1389789754,), (1389789759,), (1389789816,), (1389789818,), (1389789820,), (1389789822,), (1389789825,), (1389789828,), (1389789839,), (1389789843,), (1389789847,), (1389789849,), (1389789851,), (1389789854,), (1389789861,), (1389789864,), (1389789866,), (1389789869,), (1389789873,), (1389789877,), (1389789908,), (1389789909,), (1389789913,), (1389789918,), (1389789920,), (1389789923,), (1389789932,), (1389789935,), (1389789938,), (1389789942,), (1389789945,), (1389789948,), (1389789955,), (1389789965,), (1389789970,), (1389789976,), (1389789986,), (1389790014,), (1389790029,), (1389790036,), (1389790038,), (1389790039,), (1389790043,), (1389790046,), (1389790051,), (1389790054,), (1389790057,), (1389790060,), (1389790063,), (1389790082,), (1389790101,), (1389790104,), (1389790108,), (1389790112,), (1389790115,), (1389790117,), (1389790127,), (1389790132,), (1389790137,), (1389790143,), (1389790147,), (1389790150,), (1389790159,), (1389790160,), (1389790162,), (1389790163,), (1389790165,), (1389790166,), (1389790168,), (1389790169,), (1389790172,), (1389790173,), (1389790182,), (1389790183,), (1389790200,), (1389790203,), (1389790206,), (1389790208,), (1389790210,), (1389790213,), (1389790218,), (1389785105,), (1389785160,), (1389785198,), (1389785199,), (1389785224,), (1389785252,), (1389785253,), (1389785280,), (1389785281,), (1389785306,), (1389785319,), (1389785340,), (1389785356,), (1389785384,), (1389785402,), (1389785415,), (1389785438,), (1389785450,), (1389785487,), (1389785491,), (1389785492,), (1389785500,), (1389785518,), (1389785546,), (1389785547,), (1389785548,), (1389785552,), (1389785561,), (1389785606,), (1389785616,), (1389785617,), (1389785619,), (1389785620,), (1389785665,), (1389785666,), (1389785667,), (1389785668,), (1389785687,), (1389785690,), (1389785732,), (1389785755,), (1389785756,), (1389785757,), (1389785766,), (1389785767,), (1389785801,), (1389785815,), (1389785816,), (1389785817,), (1389785826,), (1389785828,), (1389785834,), (1389785856,), (1389785876,), (1389785877,), (1389785890,), (1389785891,), (1389785900,), (1389785926,), (1389785944,), (1389785945,), (1389785957,), (1389785958,), (1389785966,), (1389785993,), (1389785994,), (1389786013,), (1389786015,), (1389786019,), (1389786054,), (1389786067,), (1389786078,), (1389786119,), (1389786126,), (1389786193,), (1389786256,), (1389787773,), (1389787777,), (1389787780,), (1389787783,), (1389787785,), (1389787786,), (1389787789,), (1389787791,), (1389787795,), (1389788032,), (1389788037,), (1389788062,), (1389788064,), (1389788065,), (1389788066,), (1389788074,), (1389788080,), (1389788085,), (1389788090,), (1389788095,), (1389788099,), (1389788105,), (1389788108,), (1389788112,), (1389788117,), (1389788120,), (1389788124,), (1389788128,), (1389788129,), (1389788131,), (1389788133,), (1389788136,), (1389788141,), (1389788235,), (1389788282,), (1389788782,), (1389788994,), (1389788998,), (1389789002,), (1389789011,), (1389789012,), (1389789014,), (1389789016,), (1389789018,), (1389789023,), (1389789236,), (1389789239,), (1389789242,), (1389789300,), (1389789301,), (1389789302,), (1389789374,), (1389789378,), (1389789381,), (1389789387,), (1389789391,), (1389789394,), (1389789398,), (1389789399,), (1389789401,), (1389789402,), (1389789404,), (1389789405,), (1389789408,), (1389789409,), (1389789412,), (1389789413,), (1389789416,), (1389789417,), (1389789425,), (1389789573,), (1389789574,), (1389789624,), (1389789625,), (1389789657,), (1389789690,), (1389789693,), (1389789696,), (1389789706,), (1389789712,), (1389789715,), (1389789719,), (1389789721,), (1389789723,), (1389789725,), (1389789727,), (1389789731,), (1389789738,), (1389786405,), (1389786407,), (1389786410,), (1389786413,), (1389786416,), (1389786418,), (1389786422,), (1389786424,), (1389786428,), (1389786429,), (1389786433,), (1389786434,), (1389786444,), (1389786446,), (1389786448,), (1389786451,), (1389786455,), (1389786467,), (1389786474,), (1389786648,), (1389786653,), (1389786659,), (1389786667,), (1389786750,), (1389786798,), (1389786823,), (1389786835,), (1389786836,), (1389786842,), (1389786866,), (1389786873,), (1389786874,), (1389786878,), (1389786914,), (1389786915,), (1389786919,), (1389786921,), (1389786924,), (1389786925,), (1389786929,), (1389786930,), (1389786934,), (1389786946,), (1389786949,), (1389786951,), (1389786957,), (1389786960,), (1389791351,), (1389786848,), (1389786883,), (1389786898,), (1389786964,), (1389786970,), (1389786975,), (1389786980,), (1389786992,), (1389787220,), (1389787223,), (1389787228,), (1389787233,), (1389787236,), (1389787361,), (1389787371,), (1389787418,), (1389787422,), (1389787426,), (1389787431,), (1389787501,), (1389787506,), (1389787510,), (1389787515,), (1389787520,), (1389787524,), (1389787533,), (1389787536,), (1389787539,), (1389787541,), (1389787544,), (1389787547,), (1389787554,), (1389787560,), (1389787570,), (1389787579,), (1389787583,), (1389787586,), (1389787591,), (1389787592,), (1389787596,), (1389787600,), (1389787604,), (1389787608,), (1389787618,), (1389787620,), (1389787623,), (1389787627,), (1389787629,), (1389787632,), (1389787641,), (1389787644,), (1389787648,), (1389787651,), (1389787658,), (1389787661,), (1389787670,), (1389787672,), (1389787675,), (1389787678,), (1389787684,), (1389787687,), (1389787696,), (1389787699,), (1389787702,), (1389787706,), (1389787709,), (1389787717,), (1389787728,), (1389787731,), (1389787736,), (1389787739,), (1389787742,), (1389787750,), (1389787765,), (1389787767,), (1389787770,), (1389808672,), (1389809767,), (1389809777,), (1389810047,), (1389810050,), (1389810053,), (1389810078,), (1389810093,), (1389810120,), (1389810139,), (1389810238,), (1389810346,), (1389810350,), (1389810408,), (1389810424,), (1389810447,), (1389810451,), (1389810455,), (1389810459,), (1389810462,), (1389810486,), (1389810490,), (1389810492,), (1389810495,), (1389810499,), (1389810515,), (1389810687,), (1389810690,), (1389810744,), (1389810765,), (1389810779,), (1389810782,), (1389810784,), (1389810787,), (1389810856,), (1389810837,), (1389810840,), (1389810843,), (1389810847,), (1389810853,), (1389810869,), (1389810871,), (1389810873,), (1389810876,), (1389811260,), (1389811263,), (1389811279,), (1389811356,), (1389811388,), (1389811428,), (1389811474,), (1389811476,), (1389811477,), (1389811479,), (1389811505,), (1389811511,), (1389811515,), (1389811519,), (1389811529,), (1389811534,), (1389811545,), (1389811547,), (1389811549,), (1389811554,), (1389811557,), (1389811928,), (1389811960,), (1389811963,), (1389811971,), (1389812131,), (1389812133,), (1389812135,), (1389812137,), (1389812139,), (1389812141,), (1389812146,), (1389812149,), (1389812151,), (1389812154,), (1389812157,), (1389812165,), (1389812169,), (1389812173,), (1389812192,), (1389812198,), (1389812202,), (1389812583,), (1389812619,), (1389812622,), (1389812760,), (1389812763,), (1389812764,), (1389812768,), (1389812773,), (1389812791,), (1389812793,), (1389812796,), (1389812800,), (1389812803,), (1389812813,), (1389812815,), (1389812818,), (1389812822,), (1389813083,), (1389813087,), (1389813138,), (1389813140,), (1389813175,), (1389813199,), (1389813234,), (1389813241,), (1389813248,), (1389813256,), (1389813259,), (1389813264,), (1389813804,), (1389814441,), (1389814444,), (1389814446,), (1389814460,), (1389814454,), (1389814456,), (1389815491,), (1389815513,), (1389815715,), (1389815816,), (1389815990,), (1389815998,), (1389816560,), (1389816563,), (1389816564,), (1389816731,), (1389816840,), (1389816860,), (1389816869,), (1389816875,), (1389816884,), (1389816904,), (1389816908,), (1389816911,), (1389816913,), (1389816949,), (1389816953,), (1389817010,), (1389817580,), (1389817583,), (1389817586,), (1389817730,), (1389817734,), (1389817736,), (1389817738,), (1389817741,), (1389817743,), (1389818135,), (1389818139,), (1389818140,), (1389818144,), (1389818189,), (1389818191,), (1389818193,), (1389818197,), (1389818201,), (1389818204,), (1389818209,), (1389818211,), (1389818215,), (1389818219,), (1389818226,), (1389818228,), (1389818233,), (1389818235,), (1389818253,), (1389818256,), (1389818258,), (1389818262,), (1389818270,), (1389818274,), (1389818312,), (1389818314,), (1389818316,), (1389818318,), (1389818343,), (1389818347,), (1389818351,), (1389818353,), (1389818357,), (1389818360,), (1389819307,), (1389819309,), (1389819310,), (1389819313,), (1389819316,), (1389820258,), (1389819591,), (1389819595,), (1389819599,), (1389820031,), (1389820255,), (1389820404,), (1389820407,), (1389820409,), (1389820411,), (1389820415,), (1389820432,), (1389820434,), (1389820435,), (1389820439,), (1389820443,), (1389820498,), (1389820501,), (1389820507,), (1389820510,), (1389820513,), (1389820519,), (1389820683,), (1389820685,), (1389820688,), (1389820712,), (1389820731,), (1389820733,), (1389820735,), (1389820737,), (1389820742,), (1389820750,), (1389820807,), (1389820810,), (1389820821,), (1389820830,), (1389820981,), (1389821025,), (1389821028,), (1389821034,), (1389821038,), (1389821040,), (1389821054,), (1389821057,), (1389821061,), (1389821064,), (1389821120,), (1389821122,), (1389821123,), (1389821126,), (1389821131,), (1389821134,), (1389821163,), (1389821166,), (1389821170,), (1389821174,), (1389821187,), (1389821192,), (1389821194,), (1389821197,), (1389821204,), (1389821209,), (1389821246,), (1389821248,), (1389821249,), (1389821252,), (1389821274,), (1389821279,), (1389821284,), (1389821291,), (1389821294,), (1389821295,), (1389821311,), (1389821317,), (1389821321,), (1389821322,), (1389821378,), (1389821385,), (1389821386,), (1389821387,), (1389821392,), (1389821356,), (1389821359,), (1389821365,), (1389821371,), (1389821375,), (1389821399,), (1389821404,), (1389821407,), (1389821411,), (1389821427,), (1389821433,), (1389821436,), (1389821438,), (1389821440,), (1389821441,), (1389821482,), (1389821484,), (1389821486,), (1389821488,), (1389821506,), (1389821510,), (1389821514,), (1389821518,), (1389821521,), (1389821524,), (1389821544,), (1389821554,), (1389821557,), (1389821572,), (1389821576,), (1389821613,), (1389821636,), (1389821638,), (1389821641,), (1389821645,), (1389821670,), (1389821672,), (1389821673,), (1389821676,), (1389821679,), (1389821683,), (1389821694,), (1389821698,), (1389821740,), (1389821743,), (1389821748,), (1389821770,), (1389821772,), (1389821774,), (1389821777,), (1389821783,), (1389821801,), (1389821804,), (1389821805,), (1389821807,), (1389821810,), (1389821877,), (1389821881,), (1389821885,), (1389821891,), (1389821895,), (1389821897,), (1389821913,), (1389821917,), (1389821920,), (1389821941,), (1389821943,), (1389821946,), (1389821952,), (1389821955,), (1389821959,), (1389822026,), (1389822011,), (1389822015,), (1389822019,), (1389822024,), (1389822035,), (1389822038,), (1389822041,), (1389822043,), (1389822087,), (1389822100,), (1389822108,), (1389822110,), (1389822113,), (1389822117,), (1389822188,), (1389822191,), (1389822193,), (1389822197,), (1389822201,), (1389822291,), (1389822295,), (1389822298,), (1389822301,), (1389822304,), (1389822318,), (1389822319,), (1389822321,), (1389822323,), (1389822326,), (1389822333,), (1389822347,), (1389822350,), (1389822352,), (1389822355,), (1389822359,), (1389822369,), (1389822372,), (1389822388,), (1389822391,), (1389822394,), (1389822537,), (1389822546,), (1389822548,), (1389822619,), (1389822714,), (1389824601,), (1389824604,), (1389824836,), (1389824840,), (1389824844,), (1389824848,), (1389825782,), (1389825891,), (1389826151,), (1389826478,), (1389826572,), (1389827188,), (1389827794,), (1389827996,), (1389827999,), (1389828700,), (1389828903,), (1389829121,), (1389829124,), (1389828474,), (1389828478,), (1389828492,), (1389828495,), (1389828943,), (1389829002,), (1389829005,), (1389829008,), (1389829072,), (1389829074,), (1389829106,), (1389829113,), (1389829119,), (1389829181,), (1389829228,), (1389829448,), (1389829450,), (1389829452,), (1389829456,), (1389829650,), (1389829653,), (1389829684,), (1389829885,), (1389829895,), (1389829903,), (1389829905,), (1389830393,), (1389830396,), (1389830428,), (1389830432,), (1389830618,), (1389830621,), (1389830622,), (1389830640,), (1389830643,), (1389830954,), (1389830961,), (1389830966,), (1389830977,), (1389831066,), (1389831074,), (1389831077,), (1389831082,), (1389831085,), (1389831090,), (1389831137,), (1389831150,), (1389831157,), (1389831185,), (1389831189,), (1389831200,), (1389831202,), (1389831204,), (1389831206,), (1389831208,), (1389831215,), (1389831238,), (1389831242,), (1389831244,), (1389831248,), (1389831645,), (1389831649,), (1389831652,), (1389831656,), (1389831660,), (1389831732,), (1389831706,), (1389831709,), (1389831711,), (1389831714,), (1389831718,), (1389831806,), (1389831809,), (1389831828,), (1389831855,), (1389831960,), (1389832028,), (1389832033,), (1389832036,), (1389832038,), (1389832040,), (1389832043,), (1389832203,), (1389832206,), (1389832209,), (1389832217,), (1389832237,), (1389832241,), (1389832248,), (1389832250,), (1389832254,), (1389832257,), (1389832307,), (1389832311,), (1389832326,), (1389832328,), (1389832332,), (1389832437,), (1389832440,), (1389832460,), (1389832465,), (1389832468,), (1389832469,), (1389832475,), (1389832480,), (1389832482,), (1389832510,), (1389832512,), (1389832513,), (1389832515,), (1389832517,), (1389832523,), (1389832562,), (1389832564,), (1389832565,), (1389832567,), (1389833506,), (1389833512,), (1389833515,), (1389833519,), (1389833526,), (1389833528,), (1389833539,), (1389833542,), (1389833545,), (1389833891,), (1389834448,), (1389834453,), (1389834458,), (1389834461,), (1389834464,), (1389834469,), (1389834721,), (1389834733,), (1389834734,), (1389834750,), (1389834753,), (1389835060,), (1389835069,), (1389835072,), (1389835076,), (1389835080,), (1389835086,), (1389835116,), (1389835126,), (1389835129,), (1389835135,), (1389835298,), (1389835244,), (1389835246,), (1389835249,), (1389835253,), (1389835256,), (1389835258,), (1389835269,), (1389835280,), (1389835282,), (1389835295,), (1389835302,), (1389835305,), (1389835309,), (1389835312,), (1389835316,), (1389835336,), (1389835344,), (1389835347,), (1389835350,), (1389835378,), (1389835381,), (1389835383,), (1389835386,), (1389835391,), (1389835395,), (1389835419,), (1389835428,), (1389835432,), (1389835435,), (1389835439,), (1389835442,), (1389835472,), (1389835473,), (1389835474,), (1389835509,), (1389835511,), (1389835513,), (1389835517,), (1389835520,), (1389835523,), (1389835545,), (1389835549,), (1389835551,), (1389835591,), (1389835594,), (1389835596,), (1389835599,), (1389835603,), (1389835606,), (1389835624,), (1389835627,), (1389835628,), (1389835663,), (1389835665,), (1389835668,), (1389835670,), (1389835674,), (1389835678,), (1389835698,), (1389835701,), (1389835704,), (1389835741,), (1389835747,), (1389835750,), (1389835789,), (1389835791,), (1389835806,), (1389835815,), (1389835827,), (1389836436,), (1389836789,), (1389836791,), (1389836822,), (1389836810,), (1389836813,), (1389836815,), (1389836818,), (1389836836,), (1389836839,), (1389837139,), (1389837323,), (1389837396,), (1389837563,), (1389837564,), (1389837567,), (1389837570,), (1389837783,), (1389837785,), (1389837787,), (1389837791,), (1389837794,), (1389837929,), (1389837982,), (1389838003,), (1389838031,), (1389838034,), (1389838046,), (1389838049,), (1389838053,), (1389838056,), (1389838059,), (1389838071,), (1389838102,), (1389838104,), (1389838106,), (1389838233,), (1389838234,), (1389838236,), (1389838259,), (1389838278,), (1389838284,), (1389838310,), (1389838315,), (1389838318,), (1389838323,), (1389838350,), (1389838353,), (1389838355,), (1389838359,), (1389838363,), (1389838366,), (1389838392,), (1389838518,), (1389838520,), (1389838523,), (1389838527,), (1389838644,), (1389838646,), (1389838648,), (1389838652,), (1389840032,), (1389840013,), (1389840018,), (1389840022,), (1389840026,), (1389842165,), (1389842168,), (1389842214,), (1389842243,), (1389842246,), (1389842247,), (1389842260,), (1389842262,), (1389842353,), (1389843135,), (1389843263,), (1389843266,), (1389843271,), (1389843275,), (1389843277,), (1389843288,), (1389843292,), (1389843296,), (1389843300,), (1389843338,), (1389843341,), (1389843344,), (1389843346,), (1389843349,), (1389843351,), (1389843369,), (1389843376,), (1389843391,), (1389844217,), (1389844232,), (1389844235,), (1389844238,), (1389844242,), (1389844244,), (1389844254,), (1389844257,), (1389844259,), (1389844262,), (1389844265,), (1389844345,), (1389844351,), (1389844361,), (1389844383,), (1389844393,), (1389844411,), (1389844421,), (1389844439,), (1389844449,), (1389844455,), (1389844460,), (1389844468,), (1389844477,), (1389844479,), (1389844487,), (1389844489,), (1389844497,), (1389844498,), (1389844507,), (1389844517,), (1389844519,), (1389844528,), (1389844530,), (1389844540,), (1389844551,), (1389844561,), (1389844571,), (1389844581,), (1389844589,), (1389844599,), (1389847111,), (1389847115,), (1389847119,), (1389847156,), (1389847158,), (1389847168,), (1389847170,), (1389847174,), (1389847177,), (1389847180,), (1389847182,), (1389847213,), (1389847214,), (1389847245,), (1389847252,), (1389847260,), (1389847267,), (1389847269,), (1389847270,), (1389847274,), (1389847278,), (1389844544,), (1389844556,), (1389844568,), (1389844577,), (1389844586,), (1389844597,), (1389844606,), (1389844607,), (1389844617,), (1389844619,), (1389844631,), (1389844632,), (1389844635,), (1389844643,), (1389844646,), (1389844654,), (1389844660,), (1389844668,), (1389844669,), (1389844673,), (1389844681,), (1389844683,), (1389844692,), (1389844695,), (1389844696,), (1389844705,), (1389844711,), (1389844718,), (1389844722,), (1389844724,), (1389844737,), (1389844744,), (1389844745,), (1389844748,), (1389844762,), (1389844763,), (1389844765,), (1389844774,), (1389844775,), (1389844780,), (1389844787,), (1389844792,), (1389844799,), (1389844803,), (1389844806,), (1389844811,), (1389844817,), (1389844822,), (1389844823,), (1389844828,), (1389844834,), (1389844836,), (1389844837,), (1389844845,), (1389844854,), (1389844855,), (1389844858,), (1389844864,), (1389844875,), (1389844876,), (1389844877,), (1389844880,), (1389844882,), (1389844887,), (1389844894,), (1389844895,), (1389844902,), (1389844904,), (1389844907,), (1389844911,), (1389844931,), (1389844942,), (1389844944,), (1389844947,), (1389844953,), (1389844966,), (1389844981,), (1389844982,), (1389844993,), (1389845015,), (1389845023,), (1389845025,), (1389845037,), (1389845066,), (1389845070,), (1389845081,), (1389845091,), (1389845124,), (1389845131,), (1389846295,), (1389846297,), (1389846301,), (1389846304,), (1389846316,), (1389846320,), (1389846323,), (1389846325,), (1389846327,), (1389846330,), (1389846346,), (1389846350,), (1389846354,), (1389846359,), (1389846361,), (1389846366,), (1389846372,), (1389846374,), (1389846376,), (1389846378,), (1389846380,), (1389846393,), (1389846412,), (1389846424,), (1389846432,), (1389846435,), (1389846438,), (1389846440,), (1389846459,), (1389846462,), (1389846465,), (1389846468,), (1389846470,), (1389846472,), (1389846485,), (1389846490,), (1389846494,), (1389846497,), (1389846500,), (1389846502,), (1389846505,), (1389846509,), (1389846512,), (1389846533,), (1389846538,), (1389846545,), (1389846574,), (1389846587,), (1389846595,), (1389846612,), (1389846750,), (1389846764,), (1389846768,), (1389846772,), (1389846776,), (1389846778,), (1389846779,), (1389846813,), (1389846814,), (1389846846,), (1389846848,), (1389846850,), (1389846854,), (1389846857,), (1389846859,), (1389846898,), (1389846900,), (1389846905,), (1389846906,), (1389846924,), (1389846927,), (1389846933,), (1389846947,), (1389846952,), (1389846957,), (1389847033,), (1389847034,), (1389847045,), (1389847046,), (1389847089,), (1389847091,), (1389847101,), (1389844914,), (1389844920,), (1389844922,), (1389844927,), (1389844933,), (1389844935,), (1389844940,), (1389844957,), (1389844959,), (1389844961,), (1389844963,), (1389844965,), (1389844967,), (1389844970,), (1389844978,), (1389844989,), (1389844990,), (1389845001,), (1389845002,), (1389845004,), (1389845005,), (1389845014,), (1389845017,), (1389845019,), (1389845022,), (1389845030,), (1389845031,), (1389845032,), (1389845044,), (1389845045,), (1389845048,), (1389845050,), (1389845053,), (1389845054,), (1389845059,), (1389845064,), (1389845072,), (1389845073,), (1389845074,), (1389845093,), (1389845097,), (1389845099,), (1389845100,), (1389845101,), (1389845102,), (1389845106,), (1389845114,), (1389845115,), (1389845116,), (1389845129,), (1389845132,), (1389845141,), (1389845142,), (1389845145,), (1389845146,), (1389845149,), (1389845155,), (1389845159,), (1389845160,), (1389845180,), (1389845186,), (1389845189,), (1389845213,), (1389845215,), (1389845569,), (1389845572,), (1389845586,), (1389845590,), (1389845594,), (1389845598,), (1389845601,), (1389845618,), (1389845625,), (1389845628,), (1389845650,), (1389845665,), (1389845671,), (1389845680,), (1389845763,), (1389845767,), (1389845770,), (1389845774,), (1389845779,), (1389845782,), (1389845786,), (1389845787,), (1389845791,), (1389845796,), (1389845801,), (1389845807,), (1389845825,), (1389845832,), (1389845833,), (1389845846,), (1389845847,), (1389845850,), (1389845858,), (1389845861,), (1389845866,), (1389845870,), (1389845875,), (1389845877,), (1389845919,), (1389845924,), (1389845932,), (1389845938,), (1389845942,), (1389845964,), (1389845976,), (1389845977,), (1389845983,), (1389845984,), (1389845986,), (1389845987,), (1389846003,), (1389846004,), (1389846013,), (1389846016,), (1389846019,), (1389846020,), (1389846055,), (1389846058,), (1389846062,), (1389846084,), (1389846096,), (1389846111,), (1389846113,), (1389846115,), (1389846120,), (1389846123,), (1389846126,), (1389846133,), (1389846137,), (1389846138,), (1389846140,), (1389846168,), (1389846172,), (1389846188,), (1389846192,), (1389846194,), (1389846196,), (1389846205,), (1389846207,), (1389846211,), (1389846230,), (1389846234,), (1389846245,), (1389846250,), (1389846253,), (1389846278,), (1389846292,), (1389845284,), (1389845290,), (1389845293,), (1389845299,), (1389845306,), (1389845314,), (1389845323,), (1389845324,), (1389845326,), (1389845327,), (1389845329,), (1389845330,), (1389845334,), (1389845335,), (1389845339,), (1389845340,), (1389845344,), (1389845345,), (1389845352,), (1389845356,), (1389845358,), (1389845361,), (1389845366,), (1389845378,), (1389845396,), (1389845397,), (1389845401,), (1389845405,), (1389845408,), (1389845412,), (1389845419,), (1389845420,), (1389845422,), (1389845423,), (1389845425,), (1389845426,), (1389845428,), (1389845429,), (1389845432,), (1389845433,), (1389845436,), (1389845437,), (1389845465,), (1389845470,), (1389845475,), (1389845480,), (1389845485,), (1389845491,), (1389845499,), (1389845513,), (1389845515,), (1389845518,), (1389845520,), (1389845523,), (1389845533,), (1389845537,), (1389845541,), (1389845544,), (1389845547,), (1389845552,), (1389845558,), (1389845560,), (1389845563,), (1389845566,), (1389846482,), (1389846520,), (1389846522,), (1389846525,), (1389846528,), (1389846624,), (1389846638,), (1389846642,), (1389846643,), (1389846680,), (1389846707,), (1389846723,), (1389846726,), (1389846737,), (1389846741,), (1389846745,), (1389846790,), (1389846792,), (1389846795,), (1389846797,), (1389846800,), (1389846801,), (1389846805,), (1389846806,), (1389846810,), (1389846811,), (1389846819,), (1389846821,), (1389846825,), (1389846829,), (1389846833,), (1389846837,), (1389846866,), (1389846867,), (1389846870,), (1389846871,), (1389846879,), (1389846880,), (1389846892,), (1389846893,), (1389846913,), (1389846915,), (1389846917,), (1389846919,), (1389846921,), (1389846922,), (1389846962,), (1389846963,), (1389846977,), (1389846978,), (1389846992,), (1389846995,), (1389847026,), (1389847028,), (1389847063,), (1389847066,), (1389847069,), (1389847073,), (1389847076,), (1389847078,), (1389847124,), (1389847127,), (1389847130,), (1389847144,), (1389847187,), (1389847188,), (1389847190,), (1389847191,), (1389847193,), (1389847194,), (1389847197,), (1389847198,), (1389847201,), (1389847202,), (1389847228,), (1389847229,), (1389847231,), (1389847236,), (1389847291,), (1389847292,), (1389847294,), (1389847295,), (1389847297,), (1389847298,), (1389847301,), (1389847302,), (1389847306,), (1389847307,), (1389847310,), (1389847311,), (1389847318,), (1389847320,), (1389847321,), (1389847375,), (1389849961,), (1389849954,), (1389849960,), (1389850596,), (1389850710,), (1389850739,), (1389850768,), (1389850809,), (1389850812,), (1389851375,), (1389851904,), (1389852146,), (1389852149,), (1389852151,), (1389852155,), (1389852162,), (1389852165,), (1389852890,), (1389852901,), (1389852982,), (1389853039,), (1389853065,), (1389853207,), (1389853211,), (1389853214,), (1389853216,), (1389853219,), (1389853222,), (1389853271,), (1389853273,), (1389853274,), (1389853276,), (1389853280,), (1389853294,), (1389853298,), (1389853301,), (1389853306,), (1389853311,), (1389853316,), (1389853343,), (1389853345,), (1389853347,), (1389853350,), (1389853366,), (1389853369,), (1389853371,), (1389853375,), (1389853377,), (1389853384,), (1389853405,), (1389853411,), (1389853413,), (1389853416,), (1389853419,), (1389853446,), (1389853510,), (1389854008,), (1389854548,), (1389854713,), (1389854738,), (1389854741,), (1389854743,), (1389854744,), (1389854746,), (1389855121,), (1389855202,), (1389855204,), (1389855207,), (1389855211,), (1389855301,), (1389855365,), (1389855355,), (1389855358,), (1389855360,), (1389855362,), (1389855379,), (1389855383,), (1389855385,), (1389855387,), (1389855389,), (1389855421,), (1389855423,), (1389855424,), (1389855426,), (1389855429,), (1389855432,), (1389855443,), (1389855447,), (1389855450,), (1389855453,), (1389855656,), (1389856190,), (1389856266,), (1389856269,), (1389856272,), (1389856274,), (1389856282,), (1389856290,), (1389856604,), (1389856612,), (1389856614,), (1389856728,), (1389856730,), (1389856733,), (1389856736,), (1389856740,), (1389856743,), (1389857490,), (1389857494,), (1389857496,), (1389857526,), (1389857529,), (1389857852,), (1389857909,), (1389857913,), (1389858031,), (1389858182,), (1389858188,), (1389858190,), (1389858231,), (1389858233,), (1389858235,), (1389858239,), (1389858243,), (1389858260,), (1389858263,), (1389858266,), (1389858275,), (1389858281,), (1389858295,), (1389858297,), (1389858298,), (1389858299,), (1389858302,), (1389858304,), (1389858318,), (1389858321,), (1389858323,), (1389858325,), (1389858329,), (1389858356,), (1389858361,), (1389858364,), (1389858368,), (1389858371,), (1389858374,), (1389858416,), (1389858407,), (1389858410,), (1389858413,), (1389858456,), (1389858458,), (1389858461,), (1389858465,), (1389858469,), (1389858471,), (1389858886,), (1389858893,), (1389858896,), (1389858899,), (1389858957,), (1389858960,), (1389858962,), (1389858999,), (1389859001,), (1389859003,), (1389859017,), (1389859019,), (1389859020,), (1389859023,), (1389859028,), (1389859032,), (1389859053,), (1389859056,), (1389859059,), (1389859062,), (1389859065,), (1389859080,), (1389859084,), (1389859087,), (1389859089,), (1389859114,), (1389859116,), (1389859117,), (1389859135,), (1389859138,), (1389859141,), (1389859148,), (1389859171,), (1389859175,), (1389859193,), (1389859195,), (1389859196,), (1389859198,), (1389859232,), (1389859234,), (1389859237,), (1389859240,), (1389859244,), (1389859247,), (1389859271,), (1389859275,), (1389859277,), (1389859306,), (1389859309,), (1389859312,), (1389859314,), (1389859316,), (1389859333,), (1389859336,), (1389859337,), (1389859340,), (1389859398,), (1389859381,), (1389859384,), (1389859387,), (1389859391,), (1389859394,), (1389859409,), (1389859412,), (1389859415,), (1389859416,), (1389859437,), (1389859439,), (1389859441,), (1389859444,), (1389859448,), (1389859452,), (1389859483,), (1389859486,), (1389859490,), (1389859495,), (1389859501,), (1389859523,), (1389859526,), (1389859529,), (1389859532,), (1389859534,), (1389859549,), (1389859552,), (1389859553,), (1389859556,), (1389859559,), (1389859594,), (1389859597,), (1389859600,), (1389859604,), (1389859608,), (1389859621,), (1389859623,), (1389859625,), (1389859628,), (1389859632,), (1389859635,), (1389859655,), (1389859658,), (1389859661,), (1389859664,), (1389859667,), (1389859691,), (1389859695,), (1389859698,), (1389859701,), (1389859705,), (1389859712,), (1389859733,), (1389859736,), (1389859738,), (1389859740,), (1389859756,), (1389859759,), (1389859762,), (1389859765,), (1389859769,), (1389859795,), (1389859799,), (1389859801,), (1389859805,), (1389860225,), (1389860415,), (1389860421,), (1389860425,), (1389860429,), (1389860436,), (1389860443,), (1389860444,), (1389860465,), (1389860988,), (1389861187,), (1389861258,), (1389861266,), (1389861274,), (1389861507,), (1389861515,), (1389861661,), (1389861664,), (1389861667,), (1389861670,), (1389861674,), (1389861719,), (1389861723,), (1389861725,), (1389861727,), (1389861731,), (1389861734,), (1389861755,), (1389861757,), (1389861759,), (1389861762,), (1389861796,), (1389861800,), (1389861803,), (1389861807,), (1389861812,), (1389861816,), (1389861839,), (1389861844,), (1389861847,), (1389861850,), (1389861875,), (1389861878,), (1389861881,), (1389861884,), (1389861887,), (1389861902,), (1389861906,), (1389861909,), (1389861913,), (1389861918,), (1389861956,), (1389861958,), (1389861960,), (1389861962,), (1389861967,), (1389861971,), (1389862005,), (1389862010,), (1389862015,), (1389862021,), (1389862054,), (1389862058,), (1389862060,), (1389862062,), (1389862070,), (1389862075,), (1389862133,), (1389862137,), (1389862140,), (1389862144,), (1389862173,), (1389862175,), (1389862176,), (1389862179,), (1389862183,), (1389862187,), (1389862199,), (1389862205,), (1389862209,), (1389862213,), (1389862216,), (1389862297,), (1389862265,), (1389862273,), (1389862275,), (1389862279,), (1389862293,), (1389862310,), (1389862314,), (1389862318,), (1389862322,), (1389862363,), (1389862366,), (1389862368,), (1389862370,), (1389862376,), (1389862379,), (1389862416,), (1389862419,), (1389862420,), (1389862423,), (1389862440,), (1389862443,), (1389862446,), (1389862450,), (1389862455,), (1389862459,), (1389862473,), (1389862477,), (1389862479,), (1389862480,), (1389862558,), (1389862560,), (1389862562,), (1389862566,), (1389862571,), (1389862575,), (1389862586,), (1389862590,), (1389862592,), (1389862595,), (1389862632,), (1389862635,), (1389862637,), (1389862640,), (1389862644,), (1389862647,), (1389862680,), (1389862685,), (1389862688,), (1389862693,), (1389862726,), (1389862729,), (1389862732,), (1389862736,), (1389862742,), (1389862751,), (1389862767,), (1389862771,), (1389862773,), (1389862774,), (1389862833,), (1389862835,), (1389862837,), (1389862841,), (1389862846,), (1389862850,), (1389862865,), (1389862868,), (1389862870,), (1389862910,), (1389862913,), (1389862915,), (1389862918,), (1389862923,), (1389862926,), (1389862982,), (1389862965,), (1389862968,), (1389862970,), (1389862971,), (1389862976,), (1389863011,), (1389863014,), (1389863016,), (1389863019,), (1389863037,), (1389863040,), (1389863042,), (1389863045,), (1389863052,), (1389863080,), (1389863083,), (1389863087,), (1389863090,), (1389863094,), (1389863109,), (1389863112,), (1389863254,), (1389863258,), (1389863259,), (1389863310,), (1389863313,), (1389863317,), (1389863320,), (1389863339,), (1389863342,), (1389863346,), (1389863350,), (1389863356,), (1389863375,), (1389863389,), (1389863392,), (1389863430,), (1389863434,), (1389863436,), (1389863437,), (1389863439,), (1389863459,), (1389863461,), (1389863463,), (1389863469,), (1389863485,), (1389863540,), (1389863535,), (1389863538,), (1389863561,), (1389863566,), (1389863588,), (1389863590,), (1389863592,), (1389863596,), (1389863600,), (1389863603,), (1389863624,), (1389863627,), (1389863629,), (1389863631,), (1389863637,), (1389863642,), (1389863662,), (1389863665,), (1389863668,), (1389863670,), (1389863686,), (1389863688,), (1389863689,), (1389863692,), (1389863696,), (1389863707,), (1389863762,), (1389863780,), (1389863783,), (1389863786,), (1389863789,), (1389863848,), (1389863852,), (1389863855,), (1389863858,), (1389863861,), (1389863876,), (1389863878,), (1389863880,), (1389863883,), (1389863901,), (1389863904,), (1389863906,), (1389863909,), (1389863912,), (1389863921,), (1389863940,), (1389863943,), (1389863945,), (1389863948,), (1389863964,), (1389863967,), (1389863969,), (1389863972,), (1389863976,), (1389863983,), (1389864016,), (1389864019,), (1389864021,), (1389864978,), (1389864983,), (1389864987,), (1389864990,), (1389864994,), (1389864998,), (1389865547,), (1389865551,), (1389865870,), (1389865874,), (1389865877,), (1389865915,), (1389865917,), (1389865921,), (1389865924,), (1389865308,), (1389865541,), (1389865543,), (1389865545,), (1389865793,), (1389865846,), (1389865848,), (1389865851,), (1389865854,), (1389865857,), (1389865863,), (1389865866,), (1389865868,), (1389865884,), (1389865889,), (1389865892,), (1389865895,), (1389865898,), (1389865910,), (1389865929,), (1389865932,), (1389865934,), (1389865936,), (1389865938,), (1389865962,), (1389865964,), (1389865965,), (1389865968,), (1389865972,), (1389865990,), (1389865993,), (1389865996,), (1389866000,), (1389866004,), (1389866023,), (1389866026,), (1389866028,), (1389866030,), (1389866061,), (1389866063,), (1389866066,), (1389866070,), (1389866073,), (1389866075,), (1389866083,), (1389866087,), (1389866090,), (1389866093,), (1389866097,), (1389866140,), (1389866142,), (1389866143,), (1389866144,), (1389866146,), (1389866149,), (1389866171,), (1389866176,), (1389866179,), (1389866184,), (1389866194,), (1389866197,), (1389866218,), (1389866221,), (1389866224,), (1389866227,), (1389866229,), (1389866257,), (1389866261,), (1389866262,), (1389866263,), (1389866265,), (1389866291,), (1389866294,), (1389866297,), (1389866301,), (1389866323,), (1389866327,), (1389866329,), (1389866331,), (1389866335,), (1389866339,), (1389866388,), (1389866379,), (1389866382,), (1389866386,), (1389866405,), (1389866407,), (1389866408,), (1389866413,), (1389866418,), (1389866438,), (1389866460,), (1389866463,), (1389866467,), (1389866470,), (1389866474,), (1389866506,), (1389866509,), (1389866512,), (1389866513,), (1389866514,), (1389866516,), (1389866546,), (1389866548,), (1389866549,), (1389866551,), (1389866554,), (1389866567,), (1389866571,), (1389866574,), (1389866577,), (1389866830,), (1389866833,), (1389866836,), (1389866839,), (1389866842,), (1389866855,), (1389866862,), (1389866863,), (1389866865,), (1389866875,), (1389866901,), (1389866905,), (1389866908,), (1389866911,), (1389866950,), (1389866940,), (1389866942,), (1389866946,), (1389866958,), (1389866960,), (1389866965,), (1389866976,), (1389866981,), (1389866984,), (1389866994,), (1389866998,), (1389867001,), (1389867005,), (1389867014,), (1389867122,), (1389867127,), (1389867130,), (1389867133,), (1389867136,), (1389867149,), (1389867151,), (1389867153,), (1389867157,), (1389867161,), (1389867169,), (1389867179,), (1389867183,), (1389867186,), (1389867188,), (1389867218,), (1389867221,), (1389867223,), (1389867226,), (1389867229,), (1389867235,), (1389867252,), (1389867255,), (1389867259,), (1389867260,), (1389867274,), (1389867277,), (1389867281,), (1389867286,), (1389867289,), (1389867306,), (1389867309,), (1389867312,), (1389867314,), (1389867485,), (1389869358,), (1389869375,), (1389869379,), (1389869382,), (1389869385,), (1389869401,), (1389869497,), (1389869501,), (1389869503,), (1389869525,), (1389869608,), (1389869665,), (1389869733,), (1389869736,), (1389869756,), (1389869799,), (1389869803,), (1389869854,), (1389869873,), (1389869876,), (1389870028,), (1389870090,), (1389870233,), (1389870286,), (1389870346,), (1389870366,), (1389870469,), (1389870472,), (1389870494,), (1389870537,), (1389870872,), (1389870954,), (1389871082,), (1389871099,), (1389871715,), (1389871823,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17102025': {'nb_upload': 5, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27894682]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389871823] map_info['map_portfolio_photo'] : {27894682: [1389871823, 1389871715, 1389871099, 1389871082, 1389870954]} final : True mtd_id 4302 list_pids : [1389871823] Looping around the photos to save general results len do output : 1 /27894682Didn'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, '3957092') ('4302', '27894682', '1389871823', None, None, None, None, None, '3957092') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '27894682', 'None', None, None, None, None, '3957092'), ('4302', '27894682', '1389871823', None, None, None, None, None, '3957092')] time used for this insertion : 0.03716278076171875 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.906357288360596 time spend to save output : 0.03729581832885742 total time spend for step 5 : 13.943653106689453 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 (3957092) 1.82user 2.43system 0:25.14elapsed 16%CPU (0avgtext+0avgdata 156536maxresident)k 64inputs+2192outputs (3major+62177minor)pagefaults 0swaps