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 : 846475 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 (4007824) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4007824) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227840 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4007824'] with mtr_portfolio_ids : ['28227840'] and first list_photo_ids : [] new path : /proc/846475/ Name: python3 Umask: 0002 State: R (running) Tgid: 846475 Ngid: 0 Pid: 846475 PPid: 846474 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 846475 NSpid: 846475 NSpgid: 846068 NSsid: 846068 VmPeak: 1106908 kB VmSize: 1106884 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97720 kB VmRSS: 97720 kB RssAnon: 59912 kB RssFile: 37808 kB RssShmem: 0 kB VmData: 865636 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 572 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 44 nonvoluntary_ctxt_switches: 101 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '846475', 'Ngid': '0', 'Pid': '846475', 'PPid': '846474', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '846475', 'NSpid': '846475', 'NSpgid': '846068', 'NSsid': '846068', 'VmPeak': '1106908 kB', 'VmSize': '1106884 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97720 kB', 'VmRSS': '97720 kB', 'RssAnon': '59912 kB', 'RssFile': '37808 kB', 'RssShmem': '0 kB', 'VmData': '865636 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '572 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '44', 'nonvoluntary_ctxt_switches': '101'} ('datou_batch_current', '846475', '1106908', '0', '1106884', '865636', '97720', b'', 'marlene', '4007824') 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 (28227840) 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 (4007824 ) ) 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 (28227840) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1392821757, 'portfolio_id': 28227840}, {'photo_id': 1392821710, 'portfolio_id': 28227840}, {'photo_id': 1392821707, 'portfolio_id': 28227840}, {'photo_id': 1392821704, 'portfolio_id': 28227840}, {'photo_id': 1392821701, 'portfolio_id': 28227840}, {'photo_id': 1392821700, 'portfolio_id': 28227840}, {'photo_id': 1392821699, 'portfolio_id': 28227840}, {'photo_id': 1392821680, 'portfolio_id': 28227840}, {'photo_id': 1392821670, 'portfolio_id': 28227840}, {'photo_id': 1392821662, 'portfolio_id': 28227840}, {'photo_id': 1392821659, 'portfolio_id': 28227840}, {'photo_id': 1392821658, 'portfolio_id': 28227840}, {'photo_id': 1392821655, 'portfolio_id': 28227840}, {'photo_id': 1392821498, 'portfolio_id': 28227840}, {'photo_id': 1392821495, 'portfolio_id': 28227840}, {'photo_id': 1392821457, 'portfolio_id': 28227840}, {'photo_id': 1392821413, 'portfolio_id': 28227840}, {'photo_id': 1392821411, 'portfolio_id': 28227840}, {'photo_id': 1392821409, 'portfolio_id': 28227840}, {'photo_id': 1392821408, 'portfolio_id': 28227840}, {'photo_id': 1392821403, 'portfolio_id': 28227840}, {'photo_id': 1392821381, 'portfolio_id': 28227840}, {'photo_id': 1392821362, 'portfolio_id': 28227840}, {'photo_id': 1392821329, 'portfolio_id': 28227840}, {'photo_id': 1392821288, 'portfolio_id': 28227840}, {'photo_id': 1392821253, 'portfolio_id': 28227840}, {'photo_id': 1392821054, 'portfolio_id': 28227840}, {'photo_id': 1392820788, 'portfolio_id': 28227840}, {'photo_id': 1392820100, 'portfolio_id': 28227840}, {'photo_id': 1392820023, 'portfolio_id': 28227840}, {'photo_id': 1392817595, 'portfolio_id': 28227840}] map_portfolio_id_photo_id: {28227840: [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595]} ##### 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.015397310256958008 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Nov 6 06:09:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28227840) 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 : 28227840 get user id for portfolio 28227840 get sub ptf for main ptf 28227840, type 3726 and hashtags ['kraft', 'Carton_brun', 'autre_refus', 'plastique', 'metal', 'mal_croppe', 'flou', 'cartonnette', 'environnement', 'papier', 'Teint_Dans_La_Masse', 'Carton_gris'] 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`=28227840 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_brun','autre_refus','plastique','metal','mal_croppe','flou','cartonnette','environnement','papier','Teint_Dans_La_Masse','Carton_gris')) 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`=28227840 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_brun','autre_refus','plastique','metal','mal_croppe','flou','cartonnette','environnement','papier','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 28227840, 'sub_port_id': 28227845, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096206, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'autre_refus': {'main_port_id': 28227840, 'sub_port_id': 28227846, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096207, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'Carton_brun': {'main_port_id': 28227840, 'sub_port_id': 28227847, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096208, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 28227840, 'sub_port_id': 28227848, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096209, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'Carton_gris': {'main_port_id': 28227840, 'sub_port_id': 28227849, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096210, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'cartonnette': {'main_port_id': 28227840, 'sub_port_id': 28227850, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096211, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'mal_croppe': {'main_port_id': 28227840, 'sub_port_id': 28227851, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096212, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'papier': {'main_port_id': 28227840, 'sub_port_id': 28227852, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096213, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'flou': {'main_port_id': 28227840, 'sub_port_id': 28227853, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096214, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'environnement': {'main_port_id': 28227840, 'sub_port_id': 28227854, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096215, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'kraft': {'main_port_id': 28227840, 'sub_port_id': 28227855, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096216, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'metal': {'main_port_id': 28227840, 'sub_port_id': 28227856, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096217, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227845 , 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=28227840 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 (28227845) result : ((1392821492,), (1392821633,), (1392822442,), (1392823805,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227846 , 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=28227840 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 (28227846) result : ((1392822438,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227847 , 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=28227840 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 (28227847) result : ((1392821491,), (1392822439,), (1392822440,), (1392823803,), (1392823804,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227848 , 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=28227840 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 (28227848) result : ((1392821482,), (1392821483,), (1392821484,), (1392821485,), (1392821486,), (1392821487,), (1392821624,), (1392822431,), (1392822432,), (1392822433,), (1392822434,), (1392822435,), (1392822436,), (1392822437,), (1392822728,), (1392822729,), (1392822730,), (1392822731,), (1392822783,), (1392823792,), (1392823793,), (1392823794,), (1392823795,), (1392823796,), (1392823797,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227849 , 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=28227840 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 (28227849) result : ((1392821625,), (1392821627,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227850 , 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=28227840 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 (28227850) result : ((1392821488,), (1392821489,), (1392821632,), (1392823799,), (1392823800,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227851 , 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=28227840 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 (28227851) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227852 , 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=28227840 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 (28227852) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227853 , 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=28227840 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 (28227853) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227854 , 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=28227840 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 (28227854) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227855 , 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=28227840 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 (28227855) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 28227856 , 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=28227840 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 (28227856) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28227840) result : ((1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,)) 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 (1392820100,1392821700) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28227840 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_brun','autre_refus','plastique','metal','mal_croppe','flou','cartonnette','environnement','papier','Teint_Dans_La_Masse','Carton_gris')) 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`=28227840 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_brun','autre_refus','plastique','metal','mal_croppe','flou','cartonnette','environnement','papier','Teint_Dans_La_Masse','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 28227840, 'sub_port_id': 28227857, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096218, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'autre_refus': {'main_port_id': 28227840, 'sub_port_id': 28227858, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096219, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'Carton_brun': {'main_port_id': 28227840, 'sub_port_id': 28227859, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096220, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 28227840, 'sub_port_id': 28227860, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096221, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'Carton_gris': {'main_port_id': 28227840, 'sub_port_id': 28227861, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096222, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'cartonnette': {'main_port_id': 28227840, 'sub_port_id': 28227862, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096223, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'mal_croppe': {'main_port_id': 28227840, 'sub_port_id': 28227863, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096224, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'papier': {'main_port_id': 28227840, 'sub_port_id': 28227864, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096225, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'flou': {'main_port_id': 28227840, 'sub_port_id': 28227865, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096226, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'environnement': {'main_port_id': 28227840, 'sub_port_id': 28227866, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096227, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'kraft': {'main_port_id': 28227840, 'sub_port_id': 28227867, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096228, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 5, 28), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}, 'metal': {'main_port_id': 28227840, 'sub_port_id': 28227868, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 19096229, 'last_updated_at': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_desc': datetime.datetime(2025, 11, 5, 21, 16, 58), 'last_updated_at_asc': datetime.datetime(2025, 11, 5, 21, 5, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227857,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227845 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227858,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227846 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227859,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227847 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227860,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227848 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227861,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227849 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227862,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227850 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227863,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227851 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227864,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227852 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227865,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227853 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227866,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227854 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227867,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227855 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 28227868,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 28227856 lien utilise dans velours : https://marlene.fotonower.com/velours/28227857,28227858,28227859,28227860,28227861,28227862,28227863,28227864,28227865,28227866,28227867,28227868?tags=plastique,autre_refus,Carton_brun,Teint_Dans_La_Masse,Carton_gris,cartonnette,mal_croppe,papier,flou,environnement,kraft,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28227840]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] map_info['map_portfolio_photo'] : {28227840: [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595]} final : False mtd_id 4302 list_pids : [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] Looping around the photos to save general results len do output : 1 /28227840. 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, '4007824') ('4302', '28227840', '1392821757', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821710', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821707', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821704', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821701', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821700', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821699', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821680', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821670', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821662', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821659', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821658', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821655', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821498', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821495', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821457', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821413', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821411', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821409', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821408', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821403', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821381', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821362', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821329', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821288', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821253', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821054', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820788', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820100', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820023', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392817595', None, None, None, None, None, '4007824') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '28227840', "{'plastique': 28227845, 'autre_refus': 28227846, 'Carton_brun': 28227847, 'Teint_Dans_La_Masse': 28227848, 'Carton_gris': 28227849, 'cartonnette': 28227850, 'mal_croppe': 28227851, 'papier': 28227852, 'flou': 28227853, 'environnement': 28227854, 'kraft': 28227855, 'metal': 28227856}", None, None, None, None, '4007824'), ('4302', '28227840', '1392821757', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821710', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821707', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821704', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821701', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821700', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821699', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821680', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821670', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821662', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821659', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821658', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821655', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821498', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821495', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821457', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821413', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821411', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821409', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821408', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821403', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821381', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821362', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821329', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821288', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821253', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821054', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820788', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820100', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820023', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392817595', None, None, None, None, None, '4007824')] time used for this insertion : 0.01960921287536621 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.48652029037475586 time spend to save output : 0.019971847534179688 total time spend for step 1 : 0.5064921379089355 step2:final Thu Nov 6 06:09:28 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 (28227840) 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 28227840 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1392817595,1392820100,1392820023,1392820788,1392821054,1392821381,1392821362,1392821329,1392821288,1392821253,1392821413,1392821411,1392821409,1392821403,1392821408,1392821457,1392821498,1392821495,1392821680,1392821670,1392821662,1392821659,1392821658,1392821655,1392821710,1392821707,1392821704,1392821701,1392821700,1392821699,1392821757); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28227840]) Inside saveOutput : final : False verbose : True original output for save of step final : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} new output for save of step final : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] map_info['map_portfolio_photo'] : {28227840: [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595]} final : False mtd_id 4302 list_pids : [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] Looping around the photos to save general results len do output : 31 /1392821757.Didn't retrieve data . /1392821710.Didn't retrieve data . /1392821707.Didn't retrieve data . /1392821704.Didn't retrieve data . /1392821701.Didn't retrieve data . /1392821700.Didn't retrieve data . /1392821699.Didn't retrieve data . /1392821680.Didn't retrieve data . /1392821670.Didn't retrieve data . /1392821662.Didn't retrieve data . /1392821659.Didn't retrieve data . /1392821658.Didn't retrieve data . /1392821655.Didn't retrieve data . /1392821498.Didn't retrieve data . /1392821495.Didn't retrieve data . /1392821457.Didn't retrieve data . /1392821413.Didn't retrieve data . /1392821411.Didn't retrieve data . /1392821409.Didn't retrieve data . /1392821408.Didn't retrieve data . /1392821403.Didn't retrieve data . /1392821381.Didn't retrieve data . /1392821362.Didn't retrieve data . /1392821329.Didn't retrieve data . /1392821288.Didn't retrieve data . /1392821253.Didn't retrieve data . /1392821054.Didn't retrieve data . /1392820788.Didn't retrieve data . /1392820100.Didn't retrieve data . /1392820023.Didn't retrieve data . /1392817595.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, '4007824') ('4302', '28227840', '1392821757', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821710', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821707', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821704', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821701', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821700', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821699', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821680', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821670', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821662', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821659', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821658', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821655', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821498', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821495', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821457', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821413', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821411', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821409', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821408', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821403', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821381', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821362', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821329', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821288', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821253', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821054', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820788', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820100', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820023', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392817595', None, None, None, None, None, '4007824') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 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', '28227840', '1392821757', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821710', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821707', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821704', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821701', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821700', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821699', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821680', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821670', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821662', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821659', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821658', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821655', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821498', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821495', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821457', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821413', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821411', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821409', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821408', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821403', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821381', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821362', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821329', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821288', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821253', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392821054', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392820788', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392820100', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392820023', '0.03584669478930976', None, None, None, None, '4007824'), ('4302', '28227840', '1392817595', '0.03584669478930976', None, None, None, None, '4007824')] time used for this insertion : 0.020108938217163086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06612086296081543 time spend to save output : 0.020928144454956055 total time spend for step 2 : 0.08704900741577148 step3:velours_tree Thu Nov 6 06:09:28 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 : {28227840: [{'plastique': 28227845, 'autre_refus': 28227846, 'Carton_brun': 28227847, 'Teint_Dans_La_Masse': 28227848, 'Carton_gris': 28227849, 'cartonnette': 28227850, 'mal_croppe': 28227851, 'papier': 28227852, 'flou': 28227853, 'environnement': 28227854, 'kraft': 28227855, 'metal': 28227856}]} input_args_next_step : {28227840: ()} output_args : {28227840: [{'plastique': 28227845, 'autre_refus': 28227846, 'Carton_brun': 28227847, 'Teint_Dans_La_Masse': 28227848, 'Carton_gris': 28227849, 'cartonnette': 28227850, 'mal_croppe': 28227851, 'papier': 28227852, 'flou': 28227853, 'environnement': 28227854, 'kraft': 28227855, 'metal': 28227856}]} args : 28227840 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 : ({'plastique': 28227845, 'autre_refus': 28227846, 'Carton_brun': 28227847, 'Teint_Dans_La_Masse': 28227848, 'Carton_gris': 28227849, 'cartonnette': 28227850, 'mal_croppe': 28227851, 'papier': 28227852, 'flou': 28227853, 'environnement': 28227854, 'kraft': 28227855, 'metal': 28227856},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28227840) 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([28227840]) 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.30341458320617676 time spend to save output : 7.200241088867188e-05 total time spend for step 3 : 0.30348658561706543 step4:send_mail_cod Thu Nov 6 06:09:28 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 : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} input_args_next_step : {1392821757: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821757 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821710 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821707 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821704 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821701 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821700 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821699 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821680 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821670 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821662 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821659 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821658 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821655 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821498 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821495 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821457 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821413 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821411 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821409 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821408 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821403 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821381 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821362 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821329 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821288 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821253 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392821054 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392820788 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392820100 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392820023 depend.output_id : 0 input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ()} output_args : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',)} args : 1392817595 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {28227840: [{'plastique': 28227845, 'autre_refus': 28227846, 'Carton_brun': 28227847, 'Teint_Dans_La_Masse': 28227848, 'Carton_gris': 28227849, 'cartonnette': 28227850, 'mal_croppe': 28227851, 'papier': 28227852, 'flou': 28227853, 'environnement': 28227854, 'kraft': 28227855, 'metal': 28227856}]} input_args_next_step : {1392821757: ('0.03584669478930976',), 1392821710: ('0.03584669478930976',), 1392821707: ('0.03584669478930976',), 1392821704: ('0.03584669478930976',), 1392821701: ('0.03584669478930976',), 1392821700: ('0.03584669478930976',), 1392821699: ('0.03584669478930976',), 1392821680: ('0.03584669478930976',), 1392821670: ('0.03584669478930976',), 1392821662: ('0.03584669478930976',), 1392821659: ('0.03584669478930976',), 1392821658: ('0.03584669478930976',), 1392821655: ('0.03584669478930976',), 1392821498: ('0.03584669478930976',), 1392821495: ('0.03584669478930976',), 1392821457: ('0.03584669478930976',), 1392821413: ('0.03584669478930976',), 1392821411: ('0.03584669478930976',), 1392821409: ('0.03584669478930976',), 1392821408: ('0.03584669478930976',), 1392821403: ('0.03584669478930976',), 1392821381: ('0.03584669478930976',), 1392821362: ('0.03584669478930976',), 1392821329: ('0.03584669478930976',), 1392821288: ('0.03584669478930976',), 1392821253: ('0.03584669478930976',), 1392821054: ('0.03584669478930976',), 1392820788: ('0.03584669478930976',), 1392820100: ('0.03584669478930976',), 1392820023: ('0.03584669478930976',), 1392817595: ('0.03584669478930976',), 28227840: ()} output_args : {28227840: [{'plastique': 28227845, 'autre_refus': 28227846, 'Carton_brun': 28227847, 'Teint_Dans_La_Masse': 28227848, 'Carton_gris': 28227849, 'cartonnette': 28227850, 'mal_croppe': 28227851, 'papier': 28227852, 'flou': 28227853, 'environnement': 28227854, 'kraft': 28227855, 'metal': 28227856}]} args : 28227840 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 :32, first value : ('0.03584669478930976',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28227840) 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 (1392821757,1392821710,1392821707,1392821704,1392821701,1392821700,1392821699,1392821680,1392821670,1392821662,1392821659,1392821658,1392821655,1392821498,1392821495,1392821457,1392821413,1392821411,1392821409,1392821408,1392821403,1392821381,1392821362,1392821329,1392821288,1392821253,1392821054,1392820788,1392820100,1392820023,1392817595) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1392817595 begin to download photo : 1392821329 begin to download photo : 1392821413 begin to download photo : 1392821662 begin to download photo : 1392821707 download finish for photo 1392821413 begin to download photo : 1392821457 download finish for photo 1392817595 begin to download photo : 1392820023 download finish for photo 1392821707 begin to download photo : 1392821710 download finish for photo 1392821329 begin to download photo : 1392821362 download finish for photo 1392821662 begin to download photo : 1392821670 download finish for photo 1392821457 begin to download photo : 1392821495 download finish for photo 1392820023 begin to download photo : 1392820100 download finish for photo 1392821710 begin to download photo : 1392821757 download finish for photo 1392821670 begin to download photo : 1392821680 download finish for photo 1392821362 begin to download photo : 1392821381 download finish for photo 1392820100 begin to download photo : 1392820788 download finish for photo 1392821495 begin to download photo : 1392821498 download finish for photo 1392821680 begin to download photo : 1392821699 download finish for photo 1392821757 download finish for photo 1392820788 begin to download photo : 1392821054 download finish for photo 1392821381 begin to download photo : 1392821403 download finish for photo 1392821498 begin to download photo : 1392821655 download finish for photo 1392821699 begin to download photo : 1392821700 download finish for photo 1392821054 begin to download photo : 1392821253 download finish for photo 1392821403 begin to download photo : 1392821408 download finish for photo 1392821655 begin to download photo : 1392821658 download finish for photo 1392821253 begin to download photo : 1392821288 download finish for photo 1392821700 begin to download photo : 1392821701 download finish for photo 1392821408 begin to download photo : 1392821409 download finish for photo 1392821288 download finish for photo 1392821658 begin to download photo : 1392821659 download finish for photo 1392821701 begin to download photo : 1392821704 download finish for photo 1392821409 begin to download photo : 1392821411 download finish for photo 1392821659 download finish for photo 1392821704 download finish for photo 1392821411 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P28227840_06-11-2025_06_09_29.pdf 28227845 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=28227845 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392821492: '1762373466_3887763_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460764_0.png', 1392821633: '1762373587_3894701_1392821403_3e4e6c177d3212e2972d4afcc69b7cc1_rle_crop_4022462508_0.png', 1392822442: '1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471742_0.png', 1392823805: '1762376007_4018461_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460764_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/247245ea01688ab832fdfb8a89104ce7_88443577.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/bf3cb4eb21bb4fb81ff995fea3dc559a_29503063.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/b0b9fc536cd48102e557a83a4d2b0c9a_62760675.png change filename to text .imagette282278451762405769/ imagette282278451762405769/1762373587_3894701_1392821403_3e4e6c177d3212e2972d4afcc69b7cc1_rle_crop_4022462508_0.png.png imagette282278451762405769/1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471742_0.png.png imagette282278451762405769/1762373466_3887763_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460764_0.png.png imagette282278451762405769/1762376007_4018461_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460764_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/247245ea01688ab832fdfb8a89104ce7_54122500.png imagette282278451762405769 28227846 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=28227846 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392822438: '1762374447_3932581_1392821701_7796948b7a4cbf94310074eb24a3e669_rle_crop_4022471721_0.png'} change filename to text .imagette282278461762405770/ imagette282278461762405770/1762374447_3932581_1392821701_7796948b7a4cbf94310074eb24a3e669_rle_crop_4022471721_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/673adb89a3f7d27a9707b7b1042b8726_13587177.png imagette282278461762405770 28227850 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=28227850 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392821488: '1762373466_3887763_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460768_0.png', 1392821489: '1762373466_3887763_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460772_0.png', 1392821632: '1762373587_3894701_1392821409_2a251fb5bf62c92f3065647873a16b23_rle_crop_4022462485_0.png', 1392823799: '1762376007_4018461_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460768_0.png', 1392823800: '1762376007_4018461_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460772_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/d2ef091a8e3befdbd265c9cc551cb915_4984600.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/5a459f5c39e2941341cf03bc16df83e5_79441709.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/7cc74e977a7b99c24e37ae7669f9d9c8_16104018.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/d2ef091a8e3befdbd265c9cc551cb915_7082992.png change filename to text .imagette282278501762405770/ imagette282278501762405770/1762376007_4018461_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460772_0.png.png imagette282278501762405770/1762373466_3887763_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460768_0.png.png imagette282278501762405770/1762373466_3887763_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460772_0.png.png imagette282278501762405770/1762376007_4018461_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460768_0.png.png imagette282278501762405770/1762373587_3894701_1392821409_2a251fb5bf62c92f3065647873a16b23_rle_crop_4022462485_0.png.png imagette282278511762405771/ imagette282278531762405771/ imagette282278551762405771/ imagette282278561762405771/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/5a459f5c39e2941341cf03bc16df83e5_82359980.png imagette282278501762405770 28227851 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=28227851 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282278511762405771 28227853 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=28227853 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282278531762405771 28227855 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=28227855 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282278551762405771 28227856 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=28227856 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette282278561762405771 28227847 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=28227847 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392821491: '1762373466_3887763_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461188_0.png', 1392822439: '1762374447_3932581_1392821700_ab3c44cce7da12ee070b7b17771fefa3_rle_crop_4022471733_0.png', 1392822440: '1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471743_0.png', 1392823803: '1762376007_4018461_1392821413_1090e37d5c584135ccf4606274f20e6c_rle_crop_4022483378_0.png', 1392823804: '1762376007_4018461_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461188_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/6cc7a278a9b05507bfbb8253eae633f2_43923080.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/46dbd8650f5ba8af0afc46880f5cad0e_85026180.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/6a003190ca9ebf115bbbbddb96ac2bcd_77655032.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/eaf20d14d2f2efbf6ae7514a4c38c487_16184407.png change filename to text .imagette282278471762405771/ imagette282278471762405771/1762373466_3887763_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461188_0.png.png imagette282278471762405771/1762374447_3932581_1392821700_ab3c44cce7da12ee070b7b17771fefa3_rle_crop_4022471733_0.png.png imagette282278471762405771/1762376007_4018461_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461188_0.png.png imagette282278471762405771/1762376007_4018461_1392821413_1090e37d5c584135ccf4606274f20e6c_rle_crop_4022483378_0.png.png imagette282278471762405771/1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471743_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/6cc7a278a9b05507bfbb8253eae633f2_36134780.png imagette282278471762405771 28227848 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=28227848 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392822436: '1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471746_0.png', 1392823797: '1762376007_4018461_1392821253_40d304d18691a1df00e427b9a100dc66_rle_crop_4022461203_0.png', 1392823796: '1762376007_4018461_1392821253_40d304d18691a1df00e427b9a100dc66_rle_crop_4022461200_0.png', 1392823795: '1762376007_4018461_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461183_0.png', 1392823794: '1762376007_4018461_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461184_0.png', 1392823793: '1762376007_4018461_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460776_0.png', 1392823792: '1762376007_4018461_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460763_0.png', 1392822783: '1762374925_3957447_1392821495_088f26a4413772f4dd98763485143f4e_rle_crop_4022474134_0.png', 1392822731: '1762374805_3950882_1392821655_6b6ade5019bea0306f1c40da1674c0b2_rle_crop_4022473771_0.png', 1392822730: '1762374805_3950882_1392821655_6b6ade5019bea0306f1c40da1674c0b2_rle_crop_4022473772_0.png', 1392822729: '1762374805_3950882_1392821658_2a2aaf9f70528e9d4cf017a607afd663_rle_crop_4022473759_0.png', 1392822728: '1762374805_3950882_1392821662_b524e35b3334ee8cf844d91a450f2b42_rle_crop_4022473733_0.png', 1392822437: '1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471745_0.png', 1392821482: '1762373466_3887763_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460763_0.png', 1392822435: '1762374447_3932581_1392821700_ab3c44cce7da12ee070b7b17771fefa3_rle_crop_4022471732_0.png', 1392822434: '1762374447_3932581_1392821701_7796948b7a4cbf94310074eb24a3e669_rle_crop_4022471722_0.png', 1392822433: '1762374447_3932581_1392821704_7904278d37fa05be0922fa7327351214_rle_crop_4022471714_0.png', 1392822432: '1762374447_3932581_1392821757_0d94940d9da36c1b5dd1f380304a2f38_rle_crop_4022471693_0.png', 1392822431: '1762374447_3932581_1392821757_0d94940d9da36c1b5dd1f380304a2f38_rle_crop_4022471692_0.png', 1392821624: '1762373587_3894701_1392821409_2a251fb5bf62c92f3065647873a16b23_rle_crop_4022462489_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/a9478ead8513e66d225da081d514eb68_90088817.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/81f6607a756d8b372411ccb7b7c68153_60127014.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/848554f5cc0c1dacb97ffa447e544942_65145487.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/aacbb8318bb75fd67e0821fb2678a4d6_27909671.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/249b16d0f0d139ed1564f343a527d8ca_6682591.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/9b29df3ca39a18b1a95c85a1f7c73cea_24938124.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/ae5bb4cf8df4d0c2a6f5f952935b451d_22424063.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/4b5e852886f8f9221ead19ad9d70cd2d_38399077.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/e35f366fb7bd86befa64ad35ce091b97_88782764.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/cad897cb5b360563bffbfce1cece1fbc_40411047.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/91da602a7feada8b1ae8f5f6112c3083_27961441.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/abddfd34f09ee5300a4b331140e57b86_36613097.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/f59ae16e372f763bb06caa95e92b9679_89478713.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/ae5bb4cf8df4d0c2a6f5f952935b451d_41701765.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/547680a5f5881429c49ed9e87adee66f_24422448.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/23ca65b92a2a01b9655c4878e575b8b4_65208514.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/11c72aeb46fe8a4d7bd882d2abbe1824_58562437.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/349bc5bae642ed71c4d6368b1ea98162_43603130.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/92cecb38a3f21fed5afbc6feafb1b325_83576138.png change filename to text .imagette282278481762405771/ imagette282278481762405771/1762376007_4018461_1392821253_40d304d18691a1df00e427b9a100dc66_rle_crop_4022461200_0.png.png imagette282278481762405771/1762376007_4018461_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461184_0.png.png imagette282278481762405771/1762374805_3950882_1392821655_6b6ade5019bea0306f1c40da1674c0b2_rle_crop_4022473772_0.png.png imagette282278481762405771/1762376007_4018461_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460763_0.png.png imagette282278481762405771/1762374925_3957447_1392821495_088f26a4413772f4dd98763485143f4e_rle_crop_4022474134_0.png.png imagette282278481762405771/1762376007_4018461_1392821253_40d304d18691a1df00e427b9a100dc66_rle_crop_4022461203_0.png.png imagette282278481762405771/1762374447_3932581_1392821701_7796948b7a4cbf94310074eb24a3e669_rle_crop_4022471722_0.png.png imagette282278481762405771/1762374805_3950882_1392821662_b524e35b3334ee8cf844d91a450f2b42_rle_crop_4022473733_0.png.png imagette282278481762405771/1762374447_3932581_1392821757_0d94940d9da36c1b5dd1f380304a2f38_rle_crop_4022471692_0.png.png imagette282278481762405771/1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471746_0.png.png imagette282278481762405771/1762374447_3932581_1392821704_7904278d37fa05be0922fa7327351214_rle_crop_4022471714_0.png.png imagette282278481762405771/1762374447_3932581_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a_rle_crop_4022471745_0.png.png imagette282278481762405771/1762374447_3932581_1392821700_ab3c44cce7da12ee070b7b17771fefa3_rle_crop_4022471732_0.png.png imagette282278481762405771/1762373466_3887763_1392821362_8ad2971a6976bd60d910e9b108d63cad_rle_crop_4022460763_0.png.png imagette282278481762405771/1762374447_3932581_1392821757_0d94940d9da36c1b5dd1f380304a2f38_rle_crop_4022471693_0.png.png imagette282278481762405771/1762374805_3950882_1392821658_2a2aaf9f70528e9d4cf017a607afd663_rle_crop_4022473759_0.png.png imagette282278481762405771/1762373587_3894701_1392821409_2a251fb5bf62c92f3065647873a16b23_rle_crop_4022462489_0.png.png imagette282278481762405771/1762376007_4018461_1392821329_f91f4e2dd160f6a7a16d2d108f25d671_rle_crop_4022460776_0.png.png imagette282278481762405771/1762376007_4018461_1392821288_a003f86c2ec96d79d877611682ebef02_rle_crop_4022461183_0.png.png imagette282278481762405771/1762374805_3950882_1392821655_6b6ade5019bea0306f1c40da1674c0b2_rle_crop_4022473771_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/88ac5dc7661ed407aeb14ac2b2822a56_42987249.png imagette282278481762405771 28227849 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=28227849 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1392821625: '1762373587_3894701_1392821411_74638b7e75c7269b8a402b2d75bb8c05_rle_crop_4022462474_0.png', 1392821627: '1762373587_3894701_1392821409_2a251fb5bf62c92f3065647873a16b23_rle_crop_4022462490_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/77aff27c218f6041d89600788ca57311_29700122.png change filename to text .imagette282278491762405773/ imagette282278491762405773/1762373587_3894701_1392821411_74638b7e75c7269b8a402b2d75bb8c05_rle_crop_4022462474_0.png.png imagette282278491762405773/1762373587_3894701_1392821409_2a251fb5bf62c92f3065647873a16b23_rle_crop_4022462490_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/e1ef4a0d1ee4e731e283628ab69cd1f3_55766799.png imagette282278491762405773 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28227840 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28227857,28227858,28227859,28227860,28227861,28227862,28227863,28227864,28227865,28227866,28227867,28227868?tags=plastique,autre_refus,Carton_brun,Teint_Dans_La_Masse,Carton_gris,cartonnette,mal_croppe,papier,flou,environnement,kraft,metal your option no_mail is active, we will not send the real mail to your client args[1392821757] : ('0.03584669478930976',) no score found for photo 1392821757 We are sending mail with results at report@fotonower.com args[1392821710] : ('0.03584669478930976',) no score found for photo 1392821710 We are sending mail with results at report@fotonower.com args[1392821707] : ('0.03584669478930976',) no score found for photo 1392821707 We are sending mail with results at report@fotonower.com args[1392821704] : ('0.03584669478930976',) no score found for photo 1392821704 We are sending mail with results at report@fotonower.com args[1392821701] : ('0.03584669478930976',) no score found for photo 1392821701 We are sending mail with results at report@fotonower.com args[1392821700] : ('0.03584669478930976',) no score found for photo 1392821700 We are sending mail with results at report@fotonower.com args[1392821699] : ('0.03584669478930976',) no score found for photo 1392821699 We are sending mail with results at report@fotonower.com args[1392821680] : ('0.03584669478930976',) no score found for photo 1392821680 We are sending mail with results at report@fotonower.com args[1392821670] : ('0.03584669478930976',) no score found for photo 1392821670 We are sending mail with results at report@fotonower.com args[1392821662] : ('0.03584669478930976',) no score found for photo 1392821662 We are sending mail with results at report@fotonower.com args[1392821659] : ('0.03584669478930976',) no score found for photo 1392821659 We are sending mail with results at report@fotonower.com args[1392821658] : ('0.03584669478930976',) no score found for photo 1392821658 We are sending mail with results at report@fotonower.com args[1392821655] : ('0.03584669478930976',) no score found for photo 1392821655 We are sending mail with results at report@fotonower.com args[1392821498] : ('0.03584669478930976',) no score found for photo 1392821498 We are sending mail with results at report@fotonower.com args[1392821495] : ('0.03584669478930976',) no score found for photo 1392821495 We are sending mail with results at report@fotonower.com args[1392821457] : ('0.03584669478930976',) no score found for photo 1392821457 We are sending mail with results at report@fotonower.com args[1392821413] : ('0.03584669478930976',) no score found for photo 1392821413 We are sending mail with results at report@fotonower.com args[1392821411] : ('0.03584669478930976',) no score found for photo 1392821411 We are sending mail with results at report@fotonower.com args[1392821409] : ('0.03584669478930976',) no score found for photo 1392821409 We are sending mail with results at report@fotonower.com args[1392821408] : ('0.03584669478930976',) no score found for photo 1392821408 We are sending mail with results at report@fotonower.com args[1392821403] : ('0.03584669478930976',) no score found for photo 1392821403 We are sending mail with results at report@fotonower.com args[1392821381] : ('0.03584669478930976',) no score found for photo 1392821381 We are sending mail with results at report@fotonower.com args[1392821362] : ('0.03584669478930976',) no score found for photo 1392821362 We are sending mail with results at report@fotonower.com args[1392821329] : ('0.03584669478930976',) no score found for photo 1392821329 We are sending mail with results at report@fotonower.com args[1392821288] : ('0.03584669478930976',) no score found for photo 1392821288 We are sending mail with results at report@fotonower.com args[1392821253] : ('0.03584669478930976',) no score found for photo 1392821253 We are sending mail with results at report@fotonower.com args[1392821054] : ('0.03584669478930976',) no score found for photo 1392821054 We are sending mail with results at report@fotonower.com args[1392820788] : ('0.03584669478930976',) no score found for photo 1392820788 We are sending mail with results at report@fotonower.com args[1392820100] : ('0.03584669478930976',) no score found for photo 1392820100 We are sending mail with results at report@fotonower.com args[1392820023] : ('0.03584669478930976',) no score found for photo 1392820023 We are sending mail with results at report@fotonower.com args[1392817595] : ('0.03584669478930976',) no score found for photo 1392817595 We are sending mail with results at report@fotonower.com refus_total : 0.03584669478930976 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=28227840 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_P28227840_06-11-2025_06_09_29.pdf results_Auto_P28227840_06-11-2025_06_09_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28227840_06-11-2025_06_09_29.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','28227840','results_Auto_P28227840_06-11-2025_06_09_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28227840_06-11-2025_06_09_29.pdf','pdf','','0.33','0.03584669478930976') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28227840]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] map_info['map_portfolio_photo'] : {28227840: [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595]} final : False mtd_id 4302 list_pids : [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] 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, '4007824') ('4302', '28227840', '1392821757', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821710', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821707', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821704', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821701', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821700', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821699', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821680', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821670', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821662', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821659', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821658', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821655', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821498', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821495', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821457', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821413', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821411', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821409', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821408', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821403', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821381', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821362', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821329', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821288', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821253', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821054', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820788', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820100', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820023', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392817595', None, None, None, None, None, '4007824') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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', '28227840', '1392821757', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821710', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821707', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821704', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821701', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821700', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821699', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821680', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821670', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821662', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821659', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821658', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821655', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821498', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821495', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821457', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821413', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821411', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821409', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821408', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821403', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821381', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821362', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821329', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821288', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821253', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821054', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820788', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820100', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820023', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392817595', None, None, None, None, None, '4007824')] time used for this insertion : 0.018610239028930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.446155071258545 time spend to save output : 0.01896953582763672 total time spend for step 4 : 7.465124607086182 step5:split_time_score Thu Nov 6 06:09:36 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 : ['28227840'] 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 : [('28227840',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (28227840) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1392821707: {'path': 'temp/1762405768_846475_1392821707_f95315de617a8a2fda0bbab7b20570ac.jpg', 'extension': 'jpg'}, 1392821710: {'path': 'temp/1762405768_846475_1392821710_5fea0eada3002cc4031ce3658509954e.jpg', 'extension': 'jpg'}, 1392821757: {'path': 'temp/1762405768_846475_1392821757_0d94940d9da36c1b5dd1f380304a2f38.jpg', 'extension': 'jpg'}, 1392817595: {'path': 'temp/1762405768_846475_1392817595_515849a5e76a0d29b6ff3d68fb249f5d.jpg', 'extension': 'jpg'}, 1392820023: {'path': 'temp/1762405768_846475_1392820023_a6a72bf889aade69c448dba021a06bb6.jpg', 'extension': 'jpg'}, 1392820100: {'path': 'temp/1762405768_846475_1392820100_5fb1b357137e52407223af78667ec19f.jpg', 'extension': 'jpg'}, 1392820788: {'path': 'temp/1762405768_846475_1392820788_7205e3a13284af0b1356b139fc0fdbe5.jpg', 'extension': 'jpg'}, 1392821054: {'path': 'temp/1762405768_846475_1392821054_87101603e8165ac7aa1fbc1e73417cae.jpg', 'extension': 'jpg'}, 1392821253: {'path': 'temp/1762405768_846475_1392821253_40d304d18691a1df00e427b9a100dc66.jpg', 'extension': 'jpg'}, 1392821288: {'path': 'temp/1762405768_846475_1392821288_a003f86c2ec96d79d877611682ebef02.jpg', 'extension': 'jpg'}, 1392821413: {'path': 'temp/1762405768_846475_1392821413_1090e37d5c584135ccf4606274f20e6c.jpg', 'extension': 'jpg'}, 1392821457: {'path': 'temp/1762405768_846475_1392821457_32f3a52e7b64bf55091b6e1a4c65b24f.jpg', 'extension': 'jpg'}, 1392821495: {'path': 'temp/1762405768_846475_1392821495_088f26a4413772f4dd98763485143f4e.jpg', 'extension': 'jpg'}, 1392821498: {'path': 'temp/1762405768_846475_1392821498_b19b160bb440b403306c8e26423b4443.jpg', 'extension': 'jpg'}, 1392821655: {'path': 'temp/1762405768_846475_1392821655_6b6ade5019bea0306f1c40da1674c0b2.jpg', 'extension': 'jpg'}, 1392821658: {'path': 'temp/1762405768_846475_1392821658_2a2aaf9f70528e9d4cf017a607afd663.jpg', 'extension': 'jpg'}, 1392821659: {'path': 'temp/1762405768_846475_1392821659_2251191bdcf79a5c497156a029621354.jpg', 'extension': 'jpg'}, 1392821662: {'path': 'temp/1762405768_846475_1392821662_b524e35b3334ee8cf844d91a450f2b42.jpg', 'extension': 'jpg'}, 1392821670: {'path': 'temp/1762405768_846475_1392821670_f9e5dc5775c058ccf9d66c054b7544c4.jpg', 'extension': 'jpg'}, 1392821680: {'path': 'temp/1762405768_846475_1392821680_8d00b640fd4beb26893595f82629e656.jpg', 'extension': 'jpg'}, 1392821699: {'path': 'temp/1762405768_846475_1392821699_a0ab77de66f352a4e141c5a3cf5dc75a.jpg', 'extension': 'jpg'}, 1392821700: {'path': 'temp/1762405768_846475_1392821700_ab3c44cce7da12ee070b7b17771fefa3.jpg', 'extension': 'jpg'}, 1392821701: {'path': 'temp/1762405768_846475_1392821701_7796948b7a4cbf94310074eb24a3e669.jpg', 'extension': 'jpg'}, 1392821704: {'path': 'temp/1762405768_846475_1392821704_7904278d37fa05be0922fa7327351214.jpg', 'extension': 'jpg'}, 1392821329: {'path': 'temp/1762405768_846475_1392821329_f91f4e2dd160f6a7a16d2d108f25d671.jpg', 'extension': 'jpg'}, 1392821362: {'path': 'temp/1762405768_846475_1392821362_8ad2971a6976bd60d910e9b108d63cad.jpg', 'extension': 'jpg'}, 1392821381: {'path': 'temp/1762405768_846475_1392821381_1e73a18cb18b8271cc1fb7f8abb512a9.jpg', 'extension': 'jpg'}, 1392821403: {'path': 'temp/1762405768_846475_1392821403_3e4e6c177d3212e2972d4afcc69b7cc1.jpg', 'extension': 'jpg'}, 1392821408: {'path': 'temp/1762405768_846475_1392821408_d872ffaf0d2d728e04a4a5886a850ac9.jpg', 'extension': 'jpg'}, 1392821409: {'path': 'temp/1762405768_846475_1392821409_2a251fb5bf62c92f3065647873a16b23.jpg', 'extension': 'jpg'}, 1392821411: {'path': 'temp/1762405768_846475_1392821411_74638b7e75c7269b8a402b2d75bb8c05.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 = 28227840; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 28227840 group by h (('21', 31),) 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=28227840 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 (28227840) 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 (28227840) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05112025 28227840 Nombre de photos uploadées : 31 / 23040 (0%) 05112025 28227840 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 05112025 28227840 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1392817595, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/515849a5e76a0d29b6ff3d68fb249f5d.jpg', 'username': None, 'uploaded_at': 1762372862, 'text': 'image_05112025_21_00_04_10143.jpg'}, {'photo_id': 1392820100, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/5fb1b357137e52407223af78667ec19f.jpg', 'username': None, 'uploaded_at': 1762373047, 'text': 'image_05112025_21_02_54_9129.jpg'}, {'photo_id': 1392820023, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/a6a72bf889aade69c448dba021a06bb6.jpg', 'username': None, 'uploaded_at': 1762373047, 'text': 'image_05112025_21_03_04_010153m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1392820788, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/5/7205e3a13284af0b1356b139fc0fdbe5.jpg', 'username': None, 'uploaded_at': 1762373112, 'text': 'image_05112025_21_03_55_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014808177947998047 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 28227840, '2025-11-05' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-11-05' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2512508,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2799367904663086 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= 2512508 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28186038, 'dashboard_result_id': 16891373, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186038_06-11-2025_05_34_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28186039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28186040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28186041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28186042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28186043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28186044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28186045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28186046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28186047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28186048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28186049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28186050, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28186394, 'dashboard_result_id': 16891374, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186394_06-11-2025_05_35_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28186395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28186396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28186397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28186398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28186399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28186400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28186401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28186402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28186403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28186404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28186405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28186406, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28187294, 'dashboard_result_id': 16891375, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28187294_06-11-2025_05_36_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28187295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28187296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28187297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28187298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28187299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28187300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28187301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28187302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28187303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28187304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28187305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28187306, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28188183, 'dashboard_result_id': 16891378, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28188183_06-11-2025_05_36_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28188184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28188185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28188186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28188187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28188188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28188189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28188190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28188191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28188192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28188193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28188194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28188195, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28189317, 'dashboard_result_id': 16891379, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189317_06-11-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189330, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28189664, 'dashboard_result_id': 16891380, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189664_06-11-2025_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189677, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28189717, 'dashboard_result_id': 16891381, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189717_06-11-2025_05_38_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189731, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28190150, 'dashboard_result_id': 16891385, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190150_06-11-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28190170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28190171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28190172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28190173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28190174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28190175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28190176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28190177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28190179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28190180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28190181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28190182, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28190820, 'dashboard_result_id': 16891386, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190820_06-11-2025_05_39_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28190825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28190826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28190827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28190828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28190829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28190830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28190831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28190832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28190833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28190834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28190835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28190836, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28191207, 'dashboard_result_id': 16891387, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191207_06-11-2025_05_40_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28191223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28191224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28191225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28191226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28191227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28191228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28191229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28191230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28191231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28191232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28191233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28191234, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28191692, 'dashboard_result_id': 16891390, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191692_06-11-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28191718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28191719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28191720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28191721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28191722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28191723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28191724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28191725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28191726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28191727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28191728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28191729, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28192332, 'dashboard_result_id': 16891391, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28192332_06-11-2025_05_41_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28192335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28192337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28192338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28192339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28192340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28192341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28192342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28192343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28192344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28192345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28192346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28192347, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28193155, 'dashboard_result_id': 16891392, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193155_06-11-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28193190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28193192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28193193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28193194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28193195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28193196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28193197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28193198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28193199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28193200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28193201, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28193965, 'dashboard_result_id': 16891394, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193965_06-11-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28194002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28194003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28194004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28194005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28194006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28194007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28194008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28194009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28194010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28194011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28194012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28194013, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28194584, 'dashboard_result_id': 16891396, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28194584_06-11-2025_05_43_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28194585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28194586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28194587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28194588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28194589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28194590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28194591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28194592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28194593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28194594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28194595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28194596, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28195092, 'dashboard_result_id': 16891397, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195092_06-11-2025_05_43_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28195094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28195095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28195096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28195097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28195098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28195099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28195100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28195101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28195102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28195103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28195104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28195105, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28195794, 'dashboard_result_id': 16891398, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195794_06-11-2025_05_44_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28195852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28195853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28195854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28195855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28195856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28195857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28195858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28195859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28195860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28195861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28195862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28195863, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28196359, 'dashboard_result_id': 16891400, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28196359_06-11-2025_05_44_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28196388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28196389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28196390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28196391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28196392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28196393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28196394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28196395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28196396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28196397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28196399, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28197077, 'dashboard_result_id': 16891401, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28197077_06-11-2025_05_45_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28197141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28197142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28197143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28197144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28197145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28197146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28197147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28197148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28197149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28197150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28197151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28197152, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28199380, 'dashboard_result_id': 16891402, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28199380_06-11-2025_05_45_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28199409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28199410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28199411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28199412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28199413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28199414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28199415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28199416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28199417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28199418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28199419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28199420, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28200141, 'dashboard_result_id': 16891406, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200141_06-11-2025_05_46_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28200174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28200175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28200176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28200177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28200178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28200179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28200180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28200181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28200182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28200183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28200184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28200185, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28200911, 'dashboard_result_id': 16891407, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200911_06-11-2025_05_46_16.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28200995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28200996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28200997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28200998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28200999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28201000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28201001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28201002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28201003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28201004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28201005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28201006, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28201755, 'dashboard_result_id': 16891408, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28201755_06-11-2025_05_46_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28201780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28201781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28201782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28201783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28201784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28201785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28201786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28201787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28201788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28201789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28201790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28201791, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28202496, 'dashboard_result_id': 16891410, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28202496_06-11-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28202567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28202568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28202569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28202570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28202571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28202572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28202573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28202574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28202575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28202576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28202577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28202578, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28203318, 'dashboard_result_id': 16891412, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28203318_06-11-2025_05_48_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28203369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28203370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28203371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28203372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28203373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28203374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28203375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28203376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28203377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28203378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28203379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28203380, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28204048, 'dashboard_result_id': 16891413, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204048_06-11-2025_05_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28204102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28204103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28204104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28204105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28204106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28204107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28204108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28204109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28204110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28204111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28204112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28204113, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28204978, 'dashboard_result_id': 16891415, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204978_06-11-2025_05_50_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28204993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28204994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28204995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28204996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28204997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28204998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28204999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28205000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28205001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28205002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28205003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28205004, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28205788, 'dashboard_result_id': 16891416, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28205788_06-11-2025_05_51_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28205804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28205805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28205806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28205807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28205808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28205809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28205810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28205811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28205812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28205813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28205814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28205815, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28206586, 'dashboard_result_id': 16891417, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28206586_06-11-2025_05_51_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28206655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28206656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28206657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28206658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28206659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28206660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28206661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28206663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28206664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28206665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28206666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28206667, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28207204, 'dashboard_result_id': 16891418, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28207204_06-11-2025_05_51_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28207246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28207247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28207248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28207249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28207250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28207251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28207252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28207253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28207254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28207255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28207256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28207257, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28209787, 'dashboard_result_id': 16891420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28209787_06-11-2025_05_52_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28209804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28209805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28209806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28209807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28209808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28209809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28209810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28209811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28209812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28209813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28209814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28209815, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28210210, 'dashboard_result_id': 16891421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210210_06-11-2025_05_52_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28210213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28210214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28210215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28210216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28210217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28210218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28210219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28210220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28210221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28210222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28210223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28210224, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28210637, 'dashboard_result_id': 16891422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210637_06-11-2025_05_53_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28210668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28210669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28210670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28210671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28210672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28210673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28210674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28210675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28210676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28210677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28210678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28210679, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28211264, 'dashboard_result_id': 16891426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211264_06-11-2025_05_53_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28211277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28211278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28211279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28211280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28211281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28211282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28211283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28211284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28211285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28211286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28211287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28211288, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28211794, 'dashboard_result_id': 16891427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211794_06-11-2025_05_55_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28211819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28211820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28211821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28211822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28211823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28211824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28211825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28211826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28211827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28211828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28211829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28211830, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28212443, 'dashboard_result_id': 16891428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212443_06-11-2025_05_55_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28212458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28212459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28212460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28212461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28212462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28212463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28212464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28212465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28212466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28212467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28212468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28212469, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28212998, 'dashboard_result_id': 16891429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212998_06-11-2025_05_56_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28213010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28213011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28213012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28213013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28213014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28213015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28213016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28213017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28213018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28213019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28213020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28213021, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28213738, 'dashboard_result_id': 16891432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28213738_06-11-2025_05_56_15.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28213747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28213748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28213749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28213750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28213751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28213752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28213753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28213754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28213755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28213756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28213757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28213758, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28214278, 'dashboard_result_id': 16891433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214278_06-11-2025_05_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28214334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28214335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28214336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28214337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28214338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28214339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28214340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28214341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28214342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28214343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28214344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28214345, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28214922, 'dashboard_result_id': 16891434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214922_06-11-2025_05_57_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28214931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28214932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28214933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28214934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28214935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28214936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28214937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28214938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28214939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28214940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28214941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28214942, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28215549, 'dashboard_result_id': 16891436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28215549_06-11-2025_05_58_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28215568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28215569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28215570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28215571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28215572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28215573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28215574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28215575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28215576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28215577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28215578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28215579, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28216421, 'dashboard_result_id': 16891437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216421_06-11-2025_05_58_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28216470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28216471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28216472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28216473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28216474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28216475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28216476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28216477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28216478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28216479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28216480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28216481, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28216994, 'dashboard_result_id': 16891438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216994_06-11-2025_05_59_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28217024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28217025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28217026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28217027, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28217028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28217029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28217030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28217031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28217032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28217033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28217034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28217035, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28217620, 'dashboard_result_id': 16891442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28217620_06-11-2025_06_01_14.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28217630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28217631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28217632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28217633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28217634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28217635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28217636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28217637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28217638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28217639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28217640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28217641, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28218375, 'dashboard_result_id': 16891443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218375_06-11-2025_06_01_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28218385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28218386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28218387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28218388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28218389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28218390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28218391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28218392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28218393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28218394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28218395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28218396, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28219362, 'dashboard_result_id': 16891444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28219362_06-11-2025_06_02_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28219371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28219372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28219373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28219374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28219375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28219376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28219377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28219378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28219379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28219380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28219381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28219382, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28220731, 'dashboard_result_id': 16891445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28220731_06-11-2025_06_02_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28220738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28220739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28220740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28220741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28220742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28220743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28220744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28220745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28220746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28220747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28220748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28220749, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28221367, 'dashboard_result_id': 16891450, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221367_06-11-2025_06_03_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28221371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28221372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28221373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28221374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28221375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28221376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28221377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28221378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28221379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28221380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28221381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28221382, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28221948, 'dashboard_result_id': 16891453, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221948_06-11-2025_06_03_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28221976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28221977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28221978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28221979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28221980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28221981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28221982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28221983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28221984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28221985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28221986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28221987, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28222580, 'dashboard_result_id': 16891454, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28222580_06-11-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28222609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28222610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28222611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28222612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28222613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28222614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28222615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28222616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28222617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28222618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28222619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28222620, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28223036, 'dashboard_result_id': 16891455, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223036_06-11-2025_06_05_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28223054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28223055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28223056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28223058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28223059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28223060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28223062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28223063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28223064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28223065, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28223742, 'dashboard_result_id': 16891458, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223742_06-11-2025_06_06_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28223818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28223819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28223820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28223821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28223822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28223823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28223824, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28223825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28223826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28223827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28223828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28223829, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28224444, 'dashboard_result_id': 16891460, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28224444_06-11-2025_06_06_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28224473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28224474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28224475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28224476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28224477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28224478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28224479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28224480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28224481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28224482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28224483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28224484, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28225051, 'dashboard_result_id': 16891461, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225051_06-11-2025_06_06_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28225052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28225053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28225054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28225055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28225056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28225057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28225058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28225059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28225060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28225061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28225062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28225063, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28225494, 'dashboard_result_id': 16891462, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225494_06-11-2025_06_07_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28225523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28225524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28225525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28225526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28225527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28225528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28225529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28225530, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28225531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28225532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28225533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28225534, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28226084, 'dashboard_result_id': 16891464, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226084_06-11-2025_06_08_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28226092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28226093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28226094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28226095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28226096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28226097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28226098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28226099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28226100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28226101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28226102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28226103, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28226622, 'dashboard_result_id': 16891465, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226622_06-11-2025_06_08_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28226657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28226658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28226659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28226660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28226661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28226662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28226663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28226664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28226665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28226667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28226668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28226669, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28227840, 'dashboard_result_id': 16891466, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28227840_05-11-2025_21_16_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28227845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28227846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28227847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28227848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28227849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28227850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28227851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28227852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28227853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28227854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28227855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28227856, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28228229, 'dashboard_result_id': 16891469, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228229_05-11-2025_21_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28228244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28228245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28228246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28228247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28228248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28228249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28228250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28228251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28228252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28228253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28228254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28228255, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28228761, 'dashboard_result_id': 16891473, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228761_05-11-2025_21_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28228797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28228798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28228799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28228800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28228801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28228802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28228803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28228804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28228805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28228806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28228807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28228808, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28229267, 'dashboard_result_id': 16891474, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229267_05-11-2025_22_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28229274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28229275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28229276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28229277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28229278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28229279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28229280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28229281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28229282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28229283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28229284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28229285, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28229890, 'dashboard_result_id': 16891475, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229890_05-11-2025_22_17_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28229926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28229927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28229928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28229929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28229931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28229932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28229933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28229934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28229935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28229936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28229937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28229938, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28230547, 'dashboard_result_id': 16891477, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28230547_05-11-2025_22_36_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28230552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28230553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28230554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28230555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28230556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28230557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28230558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28230559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28230560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28230561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28230562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28230563, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28231320, 'dashboard_result_id': 16891481, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28231320_05-11-2025_22_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28231360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28231361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28231362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28231363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28231364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28231365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28231366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28231367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28231368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28231369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28231370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28231371, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28232125, 'dashboard_result_id': 16891482, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232125_05-11-2025_23_04_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28232175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28232176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28232177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28232178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28232179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28232180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28232181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28232182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28232183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28232184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28232185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28232186, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28232887, 'dashboard_result_id': 16891483, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232887_05-11-2025_23_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28232931, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28232932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28232933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28232934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28232935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28232936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28232937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28232938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28232939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28232940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28232941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28232942, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28233661, 'dashboard_result_id': 16891487, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28233661_05-11-2025_23_34_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28233686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28233687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28233688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28233689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28233690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28233691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28233692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28233693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28233694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28233695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28233696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28233697, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28234483, 'dashboard_result_id': 16891488, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234483_05-11-2025_23_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28234486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28234487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28234488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28234489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28234490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28234491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28234492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28234493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28234494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28234495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28234496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28234497, 'pht': 3726}}"}, {'dashboat_entry_day': 2512508, 'dashboard_run_id': 2530217, 'mtr_portfolio_id': 28234879, 'dashboard_result_id': 16891489, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234879_06-11-2025_01_32_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28234884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28234885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28234886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28234887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28234888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28234889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28234890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28234891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28234892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28234893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28234894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28234895, '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 = 28186038 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': 4007767, 'mtr_portfolio_id': 28186038, 'created_at': datetime.datetime(2025, 11, 6, 5, 34, 28), 'result': '0.10490548635916874', 'result_long': None, 'result_double': None}] Qualite : 0.10490548635916874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28186038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186038_06-11-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28186038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186038_06-11-2025_05_34_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28186039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28186040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28186041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28186042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28186043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28186044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28186045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28186046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28186047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28186048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28186049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28186050, 'pht': 3726}}" where mtr_portfolio_id = 28186038 and dashboard_run_id = 2530217 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`=28186038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891373, 0.10490548635916874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186038_06-11-2025_05_34_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28186039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28186040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28186041, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28186042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28186043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28186044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28186045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28186046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28186047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28186048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28186049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28186050, '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 = 28186394 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': 4007768, 'mtr_portfolio_id': 28186394, 'created_at': datetime.datetime(2025, 11, 6, 5, 35, 32), 'result': '0.05826149300923193', 'result_long': None, 'result_double': None}] Qualite : 0.05826149300923193 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28186394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186394_06-11-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28186394 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186394_06-11-2025_05_35_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28186395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28186396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28186397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28186398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28186399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28186400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28186401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28186402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28186403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28186404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28186405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28186406, 'pht': 3726}}" where mtr_portfolio_id = 28186394 and dashboard_run_id = 2530217 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`=28186394 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891374, 0.05826149300923193, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28186394_06-11-2025_05_35_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28186395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28186396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28186397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28186398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28186399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28186400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28186401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28186402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28186403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28186404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28186405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28186406, '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 = 28187294 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': 4007769, 'mtr_portfolio_id': 28187294, 'created_at': datetime.datetime(2025, 11, 6, 5, 36, 2), 'result': '0.0931771878060378', 'result_long': None, 'result_double': None}] Qualite : 0.0931771878060378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28187294 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28187294_06-11-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28187294 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28187294_06-11-2025_05_36_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28187295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28187296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28187297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28187298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28187299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28187300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28187301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28187302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28187303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28187304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28187305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28187306, 'pht': 3726}}" where mtr_portfolio_id = 28187294 and dashboard_run_id = 2530217 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`=28187294 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891375, 0.0931771878060378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28187294_06-11-2025_05_36_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28187295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28187296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28187297, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28187298, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28187299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28187300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28187301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28187302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28187303, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28187304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28187305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28187306, '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 = 28188183 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': 4007770, 'mtr_portfolio_id': 28188183, 'created_at': datetime.datetime(2025, 11, 6, 5, 36, 12), 'result': '0.05647843102246723', 'result_long': None, 'result_double': None}] Qualite : 0.05647843102246723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28188183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28188183_06-11-2025_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28188183 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28188183_06-11-2025_05_36_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28188184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28188185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28188186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28188187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28188188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28188189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28188190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28188191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28188192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28188193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28188194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28188195, 'pht': 3726}}" where mtr_portfolio_id = 28188183 and dashboard_run_id = 2530217 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`=28188183 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891378, 0.05647843102246723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28188183_06-11-2025_05_36_13.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28188184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28188185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28188186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28188187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28188188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28188189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28188190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28188191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28188192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28188193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28188194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28188195, '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 = 28189317 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': 4007771, 'mtr_portfolio_id': 28189317, 'created_at': datetime.datetime(2025, 11, 6, 5, 36, 31), 'result': '0.05720052889085852', 'result_long': None, 'result_double': None}] Qualite : 0.05720052889085852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28189317 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189317_06-11-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28189317 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189317_06-11-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189330, 'pht': 3726}}" where mtr_portfolio_id = 28189317 and dashboard_run_id = 2530217 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`=28189317 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891379, 0.05720052889085852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189317_06-11-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189322, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189324, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189330, '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 = 28189664 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': 4007772, 'mtr_portfolio_id': 28189664, 'created_at': datetime.datetime(2025, 11, 6, 5, 37, 29), 'result': '0.021457743796614994', 'result_long': None, 'result_double': None}] Qualite : 0.021457743796614994 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28189664 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189664_06-11-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28189664 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189664_06-11-2025_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189677, 'pht': 3726}}" where mtr_portfolio_id = 28189664 and dashboard_run_id = 2530217 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`=28189664 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891380, 0.021457743796614994, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189664_06-11-2025_05_37_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189666, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189675, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189677, '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 = 28189717 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': 4007773, 'mtr_portfolio_id': 28189717, 'created_at': datetime.datetime(2025, 11, 6, 5, 38), 'result': '0.052115701377036215', 'result_long': None, 'result_double': None}] Qualite : 0.052115701377036215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28189717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189717_06-11-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28189717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189717_06-11-2025_05_38_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189731, 'pht': 3726}}" where mtr_portfolio_id = 28189717 and dashboard_run_id = 2530217 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`=28189717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891381, 0.052115701377036215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28189717_06-11-2025_05_38_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28189720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28189721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28189722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28189723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28189724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28189725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28189726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28189727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28189728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28189729, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28189730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28189731, '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 = 28190150 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': 4007774, 'mtr_portfolio_id': 28190150, 'created_at': datetime.datetime(2025, 11, 6, 5, 38, 29), 'result': '0.044065674364426294', 'result_long': None, 'result_double': None}] Qualite : 0.044065674364426294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28190150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190150_06-11-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28190150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190150_06-11-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28190170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28190171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28190172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28190173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28190174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28190175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28190176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28190177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28190179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28190180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28190181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28190182, 'pht': 3726}}" where mtr_portfolio_id = 28190150 and dashboard_run_id = 2530217 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`=28190150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891385, 0.044065674364426294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190150_06-11-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28190170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28190171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28190172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28190173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28190174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28190175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28190176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28190177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28190179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28190180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28190181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28190182, '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 = 28190820 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': 4007775, 'mtr_portfolio_id': 28190820, 'created_at': datetime.datetime(2025, 11, 6, 5, 39, 30), 'result': '0.05514772164850957', 'result_long': None, 'result_double': None}] Qualite : 0.05514772164850957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28190820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190820_06-11-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28190820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190820_06-11-2025_05_39_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28190825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28190826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28190827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28190828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28190829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28190830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28190831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28190832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28190833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28190834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28190835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28190836, 'pht': 3726}}" where mtr_portfolio_id = 28190820 and dashboard_run_id = 2530217 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`=28190820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891386, 0.05514772164850957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28190820_06-11-2025_05_39_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28190825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28190826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28190827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28190828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28190829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28190830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28190831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28190832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28190833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28190834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28190835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28190836, '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 = 28191207 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': 4007776, 'mtr_portfolio_id': 28191207, 'created_at': datetime.datetime(2025, 11, 6, 5, 39, 57), 'result': '0.039431235121219814', 'result_long': None, 'result_double': None}] Qualite : 0.039431235121219814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28191207 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191207_06-11-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28191207 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191207_06-11-2025_05_40_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28191223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28191224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28191225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28191226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28191227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28191228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28191229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28191230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28191231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28191232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28191233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28191234, 'pht': 3726}}" where mtr_portfolio_id = 28191207 and dashboard_run_id = 2530217 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`=28191207 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891387, 0.039431235121219814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191207_06-11-2025_05_40_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28191223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28191224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28191225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28191226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28191227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28191228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28191229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28191230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28191231, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28191232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28191233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28191234, '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 = 28191692 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': 4007777, 'mtr_portfolio_id': 28191692, 'created_at': datetime.datetime(2025, 11, 6, 5, 40, 29), 'result': '0.03487561864439707', 'result_long': None, 'result_double': None}] Qualite : 0.03487561864439707 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28191692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191692_06-11-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28191692 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191692_06-11-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28191718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28191719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28191720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28191721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28191722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28191723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28191724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28191725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28191726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28191727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28191728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28191729, 'pht': 3726}}" where mtr_portfolio_id = 28191692 and dashboard_run_id = 2530217 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`=28191692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891390, 0.03487561864439707, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28191692_06-11-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28191718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28191719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28191720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28191721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28191722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28191723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28191724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28191725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28191726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28191727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28191728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28191729, '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 = 28192332 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': 4007778, 'mtr_portfolio_id': 28192332, 'created_at': datetime.datetime(2025, 11, 6, 5, 41, 12), 'result': '0.04102383429169583', 'result_long': None, 'result_double': None}] Qualite : 0.04102383429169583 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28192332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28192332_06-11-2025_05_41_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28192332 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28192332_06-11-2025_05_41_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28192335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28192337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28192338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28192339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28192340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28192341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28192342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28192343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28192344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28192345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28192346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28192347, 'pht': 3726}}" where mtr_portfolio_id = 28192332 and dashboard_run_id = 2530217 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`=28192332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891391, 0.04102383429169583, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28192332_06-11-2025_05_41_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28192335, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28192337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28192338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28192339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28192340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28192341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28192342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28192343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28192344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28192345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28192346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28192347, '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 = 28193155 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': 4007779, 'mtr_portfolio_id': 28193155, 'created_at': datetime.datetime(2025, 11, 6, 5, 41, 30), 'result': '0.03329148927052691', 'result_long': None, 'result_double': None}] Qualite : 0.03329148927052691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28193155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193155_06-11-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28193155 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193155_06-11-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28193190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28193192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28193193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28193194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28193195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28193196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28193197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28193198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28193199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28193200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28193201, 'pht': 3726}}" where mtr_portfolio_id = 28193155 and dashboard_run_id = 2530217 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`=28193155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891392, 0.03329148927052691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193155_06-11-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28193190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28193192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28193193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28193194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28193195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28193196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28193197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28193198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28193199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28193200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28193201, '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 = 28193965 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': 4007780, 'mtr_portfolio_id': 28193965, 'created_at': datetime.datetime(2025, 11, 6, 5, 41, 57), 'result': '0.03492442550408627', 'result_long': None, 'result_double': None}] Qualite : 0.03492442550408627 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28193965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193965_06-11-2025_05_41_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28193965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193965_06-11-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28194002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28194003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28194004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28194005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28194006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28194007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28194008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28194009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28194010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28194011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28194012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28194013, 'pht': 3726}}" where mtr_portfolio_id = 28193965 and dashboard_run_id = 2530217 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`=28193965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891394, 0.03492442550408627, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28193965_06-11-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28194002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28194003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28194004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28194005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28194006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28194007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28194008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28194009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28194010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28194011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28194012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28194013, '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 = 28194584 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': 4007781, 'mtr_portfolio_id': 28194584, 'created_at': datetime.datetime(2025, 11, 6, 5, 42, 59), 'result': '0.07396552961762251', 'result_long': None, 'result_double': None}] Qualite : 0.07396552961762251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28194584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28194584_06-11-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28194584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28194584_06-11-2025_05_43_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28194585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28194586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28194587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28194588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28194589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28194590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28194591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28194592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28194593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28194594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28194595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28194596, 'pht': 3726}}" where mtr_portfolio_id = 28194584 and dashboard_run_id = 2530217 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`=28194584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891396, 0.07396552961762251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28194584_06-11-2025_05_43_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28194585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28194586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28194587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28194588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28194589, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28194590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28194591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28194592, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28194593, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28194594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28194595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28194596, '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 = 28195092 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': 4007782, 'mtr_portfolio_id': 28195092, 'created_at': datetime.datetime(2025, 11, 6, 5, 43, 29), 'result': '0.05782900535003368', 'result_long': None, 'result_double': None}] Qualite : 0.05782900535003368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28195092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195092_06-11-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28195092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195092_06-11-2025_05_43_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28195094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28195095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28195096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28195097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28195098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28195099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28195100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28195101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28195102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28195103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28195104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28195105, 'pht': 3726}}" where mtr_portfolio_id = 28195092 and dashboard_run_id = 2530217 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`=28195092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891397, 0.05782900535003368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195092_06-11-2025_05_43_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28195094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28195095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28195096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28195097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28195098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28195099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28195100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28195101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28195102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28195103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28195104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28195105, '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 = 28195794 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': 4007783, 'mtr_portfolio_id': 28195794, 'created_at': datetime.datetime(2025, 11, 6, 5, 43, 58), 'result': '0.07499614816789976', 'result_long': None, 'result_double': None}] Qualite : 0.07499614816789976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28195794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195794_06-11-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28195794 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195794_06-11-2025_05_44_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28195852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28195853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28195854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28195855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28195856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28195857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28195858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28195859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28195860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28195861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28195862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28195863, 'pht': 3726}}" where mtr_portfolio_id = 28195794 and dashboard_run_id = 2530217 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`=28195794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891398, 0.07499614816789976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195794_06-11-2025_05_44_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28195852, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28195853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28195854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28195855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28195856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28195857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28195858, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28195859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28195860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28195861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28195862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28195863, '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 = 28196359 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': 4007784, 'mtr_portfolio_id': 28196359, 'created_at': datetime.datetime(2025, 11, 6, 5, 44, 30), 'result': '0.0523193336116262', 'result_long': None, 'result_double': None}] Qualite : 0.0523193336116262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28196359 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28196359_06-11-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28196359 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28196359_06-11-2025_05_44_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28196388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28196389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28196390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28196391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28196392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28196393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28196394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28196395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28196396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28196397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28196399, 'pht': 3726}}" where mtr_portfolio_id = 28196359 and dashboard_run_id = 2530217 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`=28196359 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891400, 0.0523193336116262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28196359_06-11-2025_05_44_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28196388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28196389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28196390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28196391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28196392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28196393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28196394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28196395, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28196396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28196397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28196399, '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 = 28197077 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': 4007785, 'mtr_portfolio_id': 28197077, 'created_at': datetime.datetime(2025, 11, 6, 5, 44, 59), 'result': '0.048044285202901535', 'result_long': None, 'result_double': None}] Qualite : 0.048044285202901535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28197077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28197077_06-11-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28197077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28197077_06-11-2025_05_45_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28197141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28197142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28197143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28197144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28197145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28197146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28197147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28197148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28197149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28197150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28197151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28197152, 'pht': 3726}}" where mtr_portfolio_id = 28197077 and dashboard_run_id = 2530217 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`=28197077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891401, 0.048044285202901535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28197077_06-11-2025_05_45_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28197141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28197142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28197143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28197144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28197145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28197146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28197147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28197148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28197149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28197150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28197151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28197152, '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 = 28199380 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': 4007786, 'mtr_portfolio_id': 28199380, 'created_at': datetime.datetime(2025, 11, 6, 5, 45, 30), 'result': '0.07033651755106263', 'result_long': None, 'result_double': None}] Qualite : 0.07033651755106263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28199380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28199380_06-11-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28199380 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28199380_06-11-2025_05_45_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28199409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28199410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28199411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28199412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28199413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28199414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28199415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28199416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28199417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28199418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28199419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28199420, 'pht': 3726}}" where mtr_portfolio_id = 28199380 and dashboard_run_id = 2530217 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`=28199380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891402, 0.07033651755106263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28199380_06-11-2025_05_45_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28199409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28199410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28199411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28199412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28199413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28199414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28199415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28199416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28199417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28199418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28199419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28199420, '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 = 28200141 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': 4007787, 'mtr_portfolio_id': 28200141, 'created_at': datetime.datetime(2025, 11, 6, 5, 46), 'result': '0.04453976415596387', 'result_long': None, 'result_double': None}] Qualite : 0.04453976415596387 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28200141 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200141_06-11-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28200141 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200141_06-11-2025_05_46_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28200174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28200175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28200176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28200177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28200178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28200179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28200180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28200181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28200182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28200183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28200184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28200185, 'pht': 3726}}" where mtr_portfolio_id = 28200141 and dashboard_run_id = 2530217 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`=28200141 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891406, 0.04453976415596387, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200141_06-11-2025_05_46_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28200174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28200175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28200176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28200177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28200178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28200179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28200180, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28200181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28200182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28200183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28200184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28200185, '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 = 28200911 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': 4007788, 'mtr_portfolio_id': 28200911, 'created_at': datetime.datetime(2025, 11, 6, 5, 46, 12), 'result': '0.06566534025700223', 'result_long': None, 'result_double': None}] Qualite : 0.06566534025700223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28200911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200911_06-11-2025_05_46_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28200911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200911_06-11-2025_05_46_16.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28200995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28200996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28200997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28200998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28200999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28201000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28201001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28201002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28201003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28201004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28201005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28201006, 'pht': 3726}}" where mtr_portfolio_id = 28200911 and dashboard_run_id = 2530217 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`=28200911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891407, 0.06566534025700223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28200911_06-11-2025_05_46_16.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28200995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28200996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28200997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28200998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28200999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28201000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28201001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28201002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28201003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28201004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28201005, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28201006, '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 = 28201755 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': 4007789, 'mtr_portfolio_id': 28201755, 'created_at': datetime.datetime(2025, 11, 6, 5, 46, 28), 'result': '0.07695270059720218', 'result_long': None, 'result_double': None}] Qualite : 0.07695270059720218 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28201755 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28201755_06-11-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28201755 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28201755_06-11-2025_05_46_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28201780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28201781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28201782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28201783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28201784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28201785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28201786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28201787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28201788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28201789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28201790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28201791, 'pht': 3726}}" where mtr_portfolio_id = 28201755 and dashboard_run_id = 2530217 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`=28201755 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891408, 0.07695270059720218, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28201755_06-11-2025_05_46_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28201780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28201781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28201782, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28201783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28201784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28201785, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28201786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28201787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28201788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28201789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28201790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28201791, '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 = 28202496 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': 4007790, 'mtr_portfolio_id': 28202496, 'created_at': datetime.datetime(2025, 11, 6, 5, 47, 57), 'result': '0.053454094721070405', 'result_long': None, 'result_double': None}] Qualite : 0.053454094721070405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28202496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28202496_06-11-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28202496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28202496_06-11-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28202567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28202568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28202569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28202570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28202571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28202572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28202573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28202574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28202575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28202576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28202577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28202578, 'pht': 3726}}" where mtr_portfolio_id = 28202496 and dashboard_run_id = 2530217 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`=28202496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891410, 0.053454094721070405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28202496_06-11-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28202567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28202568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28202569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28202570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28202571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28202572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28202573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28202574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28202575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28202576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28202577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28202578, '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 = 28203318 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': 4007791, 'mtr_portfolio_id': 28203318, 'created_at': datetime.datetime(2025, 11, 6, 5, 48, 29), 'result': '0.0588794808950087', 'result_long': None, 'result_double': None}] Qualite : 0.0588794808950087 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28203318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28203318_06-11-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28203318 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28203318_06-11-2025_05_48_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28203369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28203370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28203371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28203372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28203373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28203374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28203375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28203376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28203377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28203378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28203379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28203380, 'pht': 3726}}" where mtr_portfolio_id = 28203318 and dashboard_run_id = 2530217 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`=28203318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891412, 0.0588794808950087, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28203318_06-11-2025_05_48_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28203369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28203370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28203371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28203372, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28203373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28203374, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28203375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28203376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28203377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28203378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28203379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28203380, '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 = 28204048 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': 4007792, 'mtr_portfolio_id': 28204048, 'created_at': datetime.datetime(2025, 11, 6, 5, 49, 31), 'result': '0.05074363971748833', 'result_long': None, 'result_double': None}] Qualite : 0.05074363971748833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28204048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204048_06-11-2025_05_49_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28204048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204048_06-11-2025_05_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28204102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28204103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28204104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28204105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28204106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28204107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28204108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28204109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28204110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28204111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28204112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28204113, 'pht': 3726}}" where mtr_portfolio_id = 28204048 and dashboard_run_id = 2530217 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`=28204048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891413, 0.05074363971748833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204048_06-11-2025_05_49_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28204102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28204103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28204104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28204105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28204106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28204107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28204108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28204109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28204110, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28204111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28204112, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28204113, '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 = 28204978 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': 4007793, 'mtr_portfolio_id': 28204978, 'created_at': datetime.datetime(2025, 11, 6, 5, 50, 1), 'result': '0.05385617785155728', 'result_long': None, 'result_double': None}] Qualite : 0.05385617785155728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28204978 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204978_06-11-2025_05_50_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28204978 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204978_06-11-2025_05_50_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28204993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28204994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28204995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28204996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28204997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28204998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28204999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28205000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28205001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28205002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28205003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28205004, 'pht': 3726}}" where mtr_portfolio_id = 28204978 and dashboard_run_id = 2530217 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`=28204978 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891415, 0.05385617785155728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204978_06-11-2025_05_50_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28204993, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28204994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28204995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28204996, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28204997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28204998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28204999, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28205000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28205001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28205002, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28205003, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28205004, '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 = 28205788 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': 4007794, 'mtr_portfolio_id': 28205788, 'created_at': datetime.datetime(2025, 11, 6, 5, 51), 'result': '0.05366733683113729', 'result_long': None, 'result_double': None}] Qualite : 0.05366733683113729 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28205788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28205788_06-11-2025_05_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28205788 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28205788_06-11-2025_05_51_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28205804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28205805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28205806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28205807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28205808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28205809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28205810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28205811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28205812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28205813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28205814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28205815, 'pht': 3726}}" where mtr_portfolio_id = 28205788 and dashboard_run_id = 2530217 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`=28205788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891416, 0.05366733683113729, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28205788_06-11-2025_05_51_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28205804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28205805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28205806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28205807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28205808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28205809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28205810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28205811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28205812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28205813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28205814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28205815, '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 = 28206586 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': 4007795, 'mtr_portfolio_id': 28206586, 'created_at': datetime.datetime(2025, 11, 6, 5, 51, 7), 'result': '0.06092330039961944', 'result_long': None, 'result_double': None}] Qualite : 0.06092330039961944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28206586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28206586_06-11-2025_05_51_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28206586 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28206586_06-11-2025_05_51_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28206655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28206656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28206657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28206658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28206659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28206660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28206661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28206663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28206664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28206665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28206666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28206667, 'pht': 3726}}" where mtr_portfolio_id = 28206586 and dashboard_run_id = 2530217 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`=28206586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891417, 0.06092330039961944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28206586_06-11-2025_05_51_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28206655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28206656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28206657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28206658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28206659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28206660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28206661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28206663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28206664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28206665, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28206666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28206667, '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 = 28207204 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': 4007796, 'mtr_portfolio_id': 28207204, 'created_at': datetime.datetime(2025, 11, 6, 5, 51, 28), 'result': '0.05999779201294223', 'result_long': None, 'result_double': None}] Qualite : 0.05999779201294223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28207204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28207204_06-11-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28207204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28207204_06-11-2025_05_51_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28207246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28207247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28207248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28207249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28207250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28207251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28207252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28207253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28207254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28207255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28207256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28207257, 'pht': 3726}}" where mtr_portfolio_id = 28207204 and dashboard_run_id = 2530217 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`=28207204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891418, 0.05999779201294223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28207204_06-11-2025_05_51_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28207246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28207247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28207248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28207249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28207250, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28207251, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28207252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28207253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28207254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28207255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28207256, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28207257, '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 = 28209787 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': 4007797, 'mtr_portfolio_id': 28209787, 'created_at': datetime.datetime(2025, 11, 6, 5, 51, 58), 'result': '0.04388339640451604', 'result_long': None, 'result_double': None}] Qualite : 0.04388339640451604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28209787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28209787_06-11-2025_05_52_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28209787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28209787_06-11-2025_05_52_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28209804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28209805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28209806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28209807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28209808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28209809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28209810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28209811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28209812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28209813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28209814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28209815, 'pht': 3726}}" where mtr_portfolio_id = 28209787 and dashboard_run_id = 2530217 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`=28209787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891420, 0.04388339640451604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28209787_06-11-2025_05_52_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28209804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28209805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28209806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28209807, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28209808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28209809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28209810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28209811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28209812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28209813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28209814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28209815, '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 = 28210210 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': 4007798, 'mtr_portfolio_id': 28210210, 'created_at': datetime.datetime(2025, 11, 6, 5, 52, 28), 'result': '0.0450387712639296', 'result_long': None, 'result_double': None}] Qualite : 0.0450387712639296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28210210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210210_06-11-2025_05_52_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28210210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210210_06-11-2025_05_52_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28210213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28210214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28210215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28210216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28210217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28210218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28210219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28210220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28210221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28210222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28210223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28210224, 'pht': 3726}}" where mtr_portfolio_id = 28210210 and dashboard_run_id = 2530217 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`=28210210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891421, 0.0450387712639296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210210_06-11-2025_05_52_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28210213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28210214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28210215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28210216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28210217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28210218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28210219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28210220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28210221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28210222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28210223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28210224, '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 = 28210637 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': 4007799, 'mtr_portfolio_id': 28210637, 'created_at': datetime.datetime(2025, 11, 6, 5, 53, 29), 'result': '0.0619794515621494', 'result_long': None, 'result_double': None}] Qualite : 0.0619794515621494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28210637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210637_06-11-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28210637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210637_06-11-2025_05_53_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28210668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28210669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28210670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28210671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28210672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28210673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28210674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28210675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28210676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28210677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28210678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28210679, 'pht': 3726}}" where mtr_portfolio_id = 28210637 and dashboard_run_id = 2530217 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`=28210637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891422, 0.0619794515621494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28210637_06-11-2025_05_53_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28210668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28210669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28210670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28210671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28210672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28210673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28210674, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28210675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28210676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28210677, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28210678, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28210679, '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 = 28211264 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': 4007800, 'mtr_portfolio_id': 28211264, 'created_at': datetime.datetime(2025, 11, 6, 5, 53, 56), 'result': '0.06469576483377656', 'result_long': None, 'result_double': None}] Qualite : 0.06469576483377656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28211264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211264_06-11-2025_05_53_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28211264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211264_06-11-2025_05_53_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28211277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28211278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28211279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28211280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28211281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28211282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28211283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28211284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28211285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28211286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28211287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28211288, 'pht': 3726}}" where mtr_portfolio_id = 28211264 and dashboard_run_id = 2530217 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`=28211264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891426, 0.06469576483377656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211264_06-11-2025_05_53_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28211277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28211278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28211279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28211280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28211281, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28211282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28211283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28211284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28211285, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28211286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28211287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28211288, '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 = 28211794 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': 4007801, 'mtr_portfolio_id': 28211794, 'created_at': datetime.datetime(2025, 11, 6, 5, 54, 57), 'result': '0.05215237783937132', 'result_long': None, 'result_double': None}] Qualite : 0.05215237783937132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28211794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211794_06-11-2025_05_55_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28211794 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211794_06-11-2025_05_55_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28211819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28211820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28211821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28211822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28211823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28211824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28211825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28211826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28211827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28211828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28211829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28211830, 'pht': 3726}}" where mtr_portfolio_id = 28211794 and dashboard_run_id = 2530217 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`=28211794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891427, 0.05215237783937132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28211794_06-11-2025_05_55_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28211819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28211820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28211821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28211822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28211823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28211824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28211825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28211826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28211827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28211828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28211829, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28211830, '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 = 28212443 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': 4007802, 'mtr_portfolio_id': 28212443, 'created_at': datetime.datetime(2025, 11, 6, 5, 55, 28), 'result': '0.036163697936568484', 'result_long': None, 'result_double': None}] Qualite : 0.036163697936568484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28212443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212443_06-11-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28212443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212443_06-11-2025_05_55_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28212458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28212459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28212460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28212461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28212462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28212463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28212464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28212465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28212466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28212467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28212468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28212469, 'pht': 3726}}" where mtr_portfolio_id = 28212443 and dashboard_run_id = 2530217 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`=28212443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891428, 0.036163697936568484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212443_06-11-2025_05_55_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28212458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28212459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28212460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28212461, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28212462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28212463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28212464, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28212465, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28212466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28212467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28212468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28212469, '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 = 28212998 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': 4007803, 'mtr_portfolio_id': 28212998, 'created_at': datetime.datetime(2025, 11, 6, 5, 55, 59), 'result': '0.040717748529945245', 'result_long': None, 'result_double': None}] Qualite : 0.040717748529945245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28212998 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212998_06-11-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28212998 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212998_06-11-2025_05_56_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28213010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28213011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28213012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28213013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28213014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28213015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28213016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28213017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28213018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28213019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28213020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28213021, 'pht': 3726}}" where mtr_portfolio_id = 28212998 and dashboard_run_id = 2530217 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`=28212998 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891429, 0.040717748529945245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28212998_06-11-2025_05_56_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28213010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28213011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28213012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28213013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28213014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28213015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28213016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28213017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28213018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28213019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28213020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28213021, '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 = 28213738 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': 4007804, 'mtr_portfolio_id': 28213738, 'created_at': datetime.datetime(2025, 11, 6, 5, 56, 11), 'result': '0.05441296282864143', 'result_long': None, 'result_double': None}] Qualite : 0.05441296282864143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28213738 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28213738_06-11-2025_05_56_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28213738 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28213738_06-11-2025_05_56_15.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28213747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28213748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28213749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28213750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28213751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28213752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28213753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28213754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28213755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28213756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28213757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28213758, 'pht': 3726}}" where mtr_portfolio_id = 28213738 and dashboard_run_id = 2530217 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`=28213738 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891432, 0.05441296282864143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28213738_06-11-2025_05_56_15.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28213747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28213748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28213749, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28213750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28213751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28213752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28213753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28213754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28213755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28213756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28213757, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28213758, '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 = 28214278 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': 4007805, 'mtr_portfolio_id': 28214278, 'created_at': datetime.datetime(2025, 11, 6, 5, 56, 29), 'result': '0.061695907053359186', 'result_long': None, 'result_double': None}] Qualite : 0.061695907053359186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28214278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214278_06-11-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28214278 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214278_06-11-2025_05_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28214334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28214335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28214336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28214337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28214338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28214339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28214340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28214341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28214342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28214343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28214344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28214345, 'pht': 3726}}" where mtr_portfolio_id = 28214278 and dashboard_run_id = 2530217 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`=28214278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891433, 0.061695907053359186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214278_06-11-2025_05_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28214334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28214335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28214336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28214337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28214338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28214339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28214340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28214341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28214342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28214343, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28214344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28214345, '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 = 28214922 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': 4007806, 'mtr_portfolio_id': 28214922, 'created_at': datetime.datetime(2025, 11, 6, 5, 57, 28), 'result': '0.051306588319934864', 'result_long': None, 'result_double': None}] Qualite : 0.051306588319934864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28214922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214922_06-11-2025_05_57_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28214922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214922_06-11-2025_05_57_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28214931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28214932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28214933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28214934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28214935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28214936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28214937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28214938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28214939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28214940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28214941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28214942, 'pht': 3726}}" where mtr_portfolio_id = 28214922 and dashboard_run_id = 2530217 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`=28214922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891434, 0.051306588319934864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28214922_06-11-2025_05_57_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28214931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28214932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28214933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28214934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28214935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28214936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28214937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28214938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28214939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28214940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28214941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28214942, '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 = 28215549 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': 4007807, 'mtr_portfolio_id': 28215549, 'created_at': datetime.datetime(2025, 11, 6, 5, 57, 57), 'result': '0.05687406991478112', 'result_long': None, 'result_double': None}] Qualite : 0.05687406991478112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28215549 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28215549_06-11-2025_05_58_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28215549 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28215549_06-11-2025_05_58_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28215568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28215569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28215570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28215571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28215572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28215573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28215574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28215575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28215576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28215577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28215578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28215579, 'pht': 3726}}" where mtr_portfolio_id = 28215549 and dashboard_run_id = 2530217 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`=28215549 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891436, 0.05687406991478112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28215549_06-11-2025_05_58_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 28215568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28215569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28215570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28215571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28215572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28215573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28215574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28215575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28215576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28215577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28215578, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28215579, '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 = 28216421 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': 4007808, 'mtr_portfolio_id': 28216421, 'created_at': datetime.datetime(2025, 11, 6, 5, 58, 28), 'result': '0.05193974435703613', 'result_long': None, 'result_double': None}] Qualite : 0.05193974435703613 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28216421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216421_06-11-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28216421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216421_06-11-2025_05_58_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28216470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28216471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28216472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28216473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28216474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28216475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28216476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28216477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28216478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28216479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28216480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28216481, 'pht': 3726}}" where mtr_portfolio_id = 28216421 and dashboard_run_id = 2530217 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`=28216421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891437, 0.05193974435703613, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216421_06-11-2025_05_58_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28216470, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28216471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28216472, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28216473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28216474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28216475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28216476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28216477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28216478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28216479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28216480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28216481, '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 = 28216994 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': 4007809, 'mtr_portfolio_id': 28216994, 'created_at': datetime.datetime(2025, 11, 6, 5, 59, 29), 'result': '0.06514192056082328', 'result_long': None, 'result_double': None}] Qualite : 0.06514192056082328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28216994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216994_06-11-2025_05_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28216994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216994_06-11-2025_05_59_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28217024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28217025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28217026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28217027, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28217028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28217029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28217030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28217031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28217032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28217033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28217034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28217035, 'pht': 3726}}" where mtr_portfolio_id = 28216994 and dashboard_run_id = 2530217 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`=28216994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891438, 0.06514192056082328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28216994_06-11-2025_05_59_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28217024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28217025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28217026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28217027, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28217028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28217029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28217030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28217031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28217032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28217033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28217034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28217035, '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 = 28217620 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': 4007810, 'mtr_portfolio_id': 28217620, 'created_at': datetime.datetime(2025, 11, 6, 6, 1, 10), 'result': '0.03988023908337686', 'result_long': None, 'result_double': None}] Qualite : 0.03988023908337686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28217620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28217620_06-11-2025_06_01_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28217620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28217620_06-11-2025_06_01_14.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28217630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28217631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28217632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28217633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28217634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28217635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28217636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28217637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28217638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28217639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28217640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28217641, 'pht': 3726}}" where mtr_portfolio_id = 28217620 and dashboard_run_id = 2530217 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`=28217620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891442, 0.03988023908337686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28217620_06-11-2025_06_01_14.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28217630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28217631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28217632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28217633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28217634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28217635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28217636, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28217637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28217638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28217639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28217640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28217641, '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 = 28218375 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': 4007811, 'mtr_portfolio_id': 28218375, 'created_at': datetime.datetime(2025, 11, 6, 6, 1, 28), 'result': '0.039654009318826025', 'result_long': None, 'result_double': None}] Qualite : 0.039654009318826025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28218375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218375_06-11-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28218375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218375_06-11-2025_06_01_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28218385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28218386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28218387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28218388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28218389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28218390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28218391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28218392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28218393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28218394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28218395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28218396, 'pht': 3726}}" where mtr_portfolio_id = 28218375 and dashboard_run_id = 2530217 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`=28218375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891443, 0.039654009318826025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218375_06-11-2025_06_01_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28218385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28218386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28218387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28218388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28218389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28218390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28218391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28218392, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28218393, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28218394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28218395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28218396, '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 = 28219362 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': 4007812, 'mtr_portfolio_id': 28219362, 'created_at': datetime.datetime(2025, 11, 6, 6, 2), 'result': '0.04992920046402664', 'result_long': None, 'result_double': None}] Qualite : 0.04992920046402664 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28219362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28219362_06-11-2025_06_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28219362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28219362_06-11-2025_06_02_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28219371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28219372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28219373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28219374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28219375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28219376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28219377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28219378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28219379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28219380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28219381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28219382, 'pht': 3726}}" where mtr_portfolio_id = 28219362 and dashboard_run_id = 2530217 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`=28219362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891444, 0.04992920046402664, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28219362_06-11-2025_06_02_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28219371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28219372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28219373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28219374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28219375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28219376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28219377, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28219378, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28219379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28219380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28219381, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28219382, '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 = 28220731 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': 4007813, 'mtr_portfolio_id': 28220731, 'created_at': datetime.datetime(2025, 11, 6, 6, 2, 27), 'result': '0.0472379066137388', 'result_long': None, 'result_double': None}] Qualite : 0.0472379066137388 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28220731 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28220731_06-11-2025_06_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28220731 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28220731_06-11-2025_06_02_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28220738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28220739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28220740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28220741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28220742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28220743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28220744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28220745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28220746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28220747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28220748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28220749, 'pht': 3726}}" where mtr_portfolio_id = 28220731 and dashboard_run_id = 2530217 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`=28220731 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891445, 0.0472379066137388, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28220731_06-11-2025_06_02_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28220738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28220739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28220740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28220741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28220742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28220743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28220744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28220745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28220746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28220747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28220748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28220749, '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 = 28221367 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': 4007814, 'mtr_portfolio_id': 28221367, 'created_at': datetime.datetime(2025, 11, 6, 6, 3, 28), 'result': '0.06813822143265967', 'result_long': None, 'result_double': None}] Qualite : 0.06813822143265967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28221367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221367_06-11-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28221367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221367_06-11-2025_06_03_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28221371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28221372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28221373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28221374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28221375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28221376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28221377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28221378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28221379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28221380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28221381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28221382, 'pht': 3726}}" where mtr_portfolio_id = 28221367 and dashboard_run_id = 2530217 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`=28221367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891450, 0.06813822143265967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221367_06-11-2025_06_03_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28221371, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28221372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28221373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28221374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28221375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28221376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28221377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28221378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28221379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28221380, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28221381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28221382, '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 = 28221948 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': 4007815, 'mtr_portfolio_id': 28221948, 'created_at': datetime.datetime(2025, 11, 6, 6, 3, 56), 'result': '0.04729369725429568', 'result_long': None, 'result_double': None}] Qualite : 0.04729369725429568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28221948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221948_06-11-2025_06_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28221948 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221948_06-11-2025_06_03_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28221976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28221977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28221978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28221979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28221980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28221981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28221982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28221983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28221984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28221985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28221986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28221987, 'pht': 3726}}" where mtr_portfolio_id = 28221948 and dashboard_run_id = 2530217 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`=28221948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891453, 0.04729369725429568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28221948_06-11-2025_06_03_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28221976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28221977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28221978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28221979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28221980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28221981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28221982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28221983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28221984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28221985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28221986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28221987, '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 = 28222580 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': 4007816, 'mtr_portfolio_id': 28222580, 'created_at': datetime.datetime(2025, 11, 6, 6, 4, 30), 'result': '0.054113914349156536', 'result_long': None, 'result_double': None}] Qualite : 0.054113914349156536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28222580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28222580_06-11-2025_06_04_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28222580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28222580_06-11-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28222609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28222610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28222611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28222612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28222613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28222614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28222615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28222616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28222617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28222618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28222619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28222620, 'pht': 3726}}" where mtr_portfolio_id = 28222580 and dashboard_run_id = 2530217 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`=28222580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891454, 0.054113914349156536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28222580_06-11-2025_06_04_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28222609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28222610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28222611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28222612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28222613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28222614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28222615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28222616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28222617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28222618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28222619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28222620, '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 = 28223036 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': 4007817, 'mtr_portfolio_id': 28223036, 'created_at': datetime.datetime(2025, 11, 6, 6, 5, 31), 'result': '0.04239919741528288', 'result_long': None, 'result_double': None}] Qualite : 0.04239919741528288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28223036 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223036_06-11-2025_06_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28223036 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223036_06-11-2025_06_05_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28223054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28223055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28223056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28223058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28223059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28223060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28223062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28223063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28223064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28223065, 'pht': 3726}}" where mtr_portfolio_id = 28223036 and dashboard_run_id = 2530217 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`=28223036 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891455, 0.04239919741528288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223036_06-11-2025_06_05_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28223054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28223055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28223056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28223058, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28223059, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28223060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28223062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28223063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28223064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28223065, '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 = 28223742 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': 4007818, 'mtr_portfolio_id': 28223742, 'created_at': datetime.datetime(2025, 11, 6, 6, 6), 'result': '0.06229801414391701', 'result_long': None, 'result_double': None}] Qualite : 0.06229801414391701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28223742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223742_06-11-2025_06_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28223742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223742_06-11-2025_06_06_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28223818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28223819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28223820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28223821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28223822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28223823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28223824, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28223825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28223826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28223827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28223828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28223829, 'pht': 3726}}" where mtr_portfolio_id = 28223742 and dashboard_run_id = 2530217 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`=28223742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891458, 0.06229801414391701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28223742_06-11-2025_06_06_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28223818, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28223819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28223820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28223821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28223822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28223823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28223824, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28223825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28223826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28223827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28223828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28223829, '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 = 28224444 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': 4007819, 'mtr_portfolio_id': 28224444, 'created_at': datetime.datetime(2025, 11, 6, 6, 6, 7), 'result': '0.07008887568879096', 'result_long': None, 'result_double': None}] Qualite : 0.07008887568879096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28224444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28224444_06-11-2025_06_06_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28224444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28224444_06-11-2025_06_06_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28224473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28224474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28224475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28224476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28224477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28224478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28224479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28224480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28224481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28224482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28224483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28224484, 'pht': 3726}}" where mtr_portfolio_id = 28224444 and dashboard_run_id = 2530217 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`=28224444 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891460, 0.07008887568879096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28224444_06-11-2025_06_06_10.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28224473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28224474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28224475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28224476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28224477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28224478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28224479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28224480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28224481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28224482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28224483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28224484, '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 = 28225051 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': 4007820, 'mtr_portfolio_id': 28225051, 'created_at': datetime.datetime(2025, 11, 6, 6, 6, 30), 'result': '0.06187186861405156', 'result_long': None, 'result_double': None}] Qualite : 0.06187186861405156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28225051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225051_06-11-2025_06_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28225051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225051_06-11-2025_06_06_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28225052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28225053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28225054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28225055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28225056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28225057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28225058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28225059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28225060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28225061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28225062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28225063, 'pht': 3726}}" where mtr_portfolio_id = 28225051 and dashboard_run_id = 2530217 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`=28225051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891461, 0.06187186861405156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225051_06-11-2025_06_06_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28225052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28225053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28225054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28225055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28225056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28225057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28225058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28225059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28225060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28225061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28225062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28225063, '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 = 28225494 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': 4007821, 'mtr_portfolio_id': 28225494, 'created_at': datetime.datetime(2025, 11, 6, 6, 7, 29), 'result': '0.060422920186117626', 'result_long': None, 'result_double': None}] Qualite : 0.060422920186117626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28225494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225494_06-11-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28225494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225494_06-11-2025_06_07_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28225523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28225524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28225525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28225526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28225527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28225528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28225529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28225530, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28225531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28225532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28225533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28225534, 'pht': 3726}}" where mtr_portfolio_id = 28225494 and dashboard_run_id = 2530217 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`=28225494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891462, 0.060422920186117626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28225494_06-11-2025_06_07_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28225523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28225524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28225525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28225526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28225527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28225528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28225529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28225530, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28225531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28225532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28225533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28225534, '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 = 28226084 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': 4007822, 'mtr_portfolio_id': 28226084, 'created_at': datetime.datetime(2025, 11, 6, 6, 7, 58), 'result': '0.06818513106188648', 'result_long': None, 'result_double': None}] Qualite : 0.06818513106188648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28226084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226084_06-11-2025_06_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28226084 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226084_06-11-2025_06_08_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28226092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28226093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28226094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28226095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28226096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28226097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28226098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28226099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28226100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28226101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28226102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28226103, 'pht': 3726}}" where mtr_portfolio_id = 28226084 and dashboard_run_id = 2530217 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`=28226084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891464, 0.06818513106188648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226084_06-11-2025_06_08_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28226092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28226093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28226094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28226095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28226096, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28226097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28226098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28226099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28226100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28226101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28226102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28226103, '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 = 28226622 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': 4007823, 'mtr_portfolio_id': 28226622, 'created_at': datetime.datetime(2025, 11, 6, 6, 8, 29), 'result': '0.055149052570238825', 'result_long': None, 'result_double': None}] Qualite : 0.055149052570238825 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28226622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226622_06-11-2025_06_08_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28226622 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226622_06-11-2025_06_08_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28226657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28226658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28226659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28226660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28226661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28226662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28226663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28226664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28226665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28226667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28226668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28226669, 'pht': 3726}}" where mtr_portfolio_id = 28226622 and dashboard_run_id = 2530217 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`=28226622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891465, 0.055149052570238825, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28226622_06-11-2025_06_08_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28226657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28226658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28226659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28226660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28226661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28226662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28226663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28226664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28226665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28226667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28226668, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28226669, '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 = 28227840 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': 4007824, 'mtr_portfolio_id': 28227840, 'created_at': datetime.datetime(2025, 11, 6, 6, 9, 28), 'result': '0.03584669478930976', 'result_long': None, 'result_double': None}] Qualite : 0.03584669478930976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28227840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28227840_06-11-2025_06_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28227840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28227840_06-11-2025_06_09_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28227845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28227846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28227847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28227848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28227849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28227850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28227851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28227852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28227853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28227854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28227855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28227856, 'pht': 3726}}" where mtr_portfolio_id = 28227840 and dashboard_run_id = 2530217 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`=28227840 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891466, 0.03584669478930976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28227840_06-11-2025_06_09_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28227845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28227846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28227847, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28227848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28227849, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28227850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28227851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28227852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28227853, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28227854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28227855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28227856, '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 = 28228229 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': 4005743, 'mtr_portfolio_id': 28228229, 'created_at': datetime.datetime(2025, 11, 5, 21, 33), 'result': '0.058733112282220834', 'result_long': None, 'result_double': None}] Qualite : 0.058733112282220834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28228229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228229_05-11-2025_21_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28228229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228229_05-11-2025_21_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28228244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28228245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28228246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28228247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28228248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28228249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28228250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28228251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28228252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28228253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28228254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28228255, 'pht': 3726}}" where mtr_portfolio_id = 28228229 and dashboard_run_id = 2530217 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`=28228229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891469, 0.058733112282220834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228229_05-11-2025_21_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28228244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28228245, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28228246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28228247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28228248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28228249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28228250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28228251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28228252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28228253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28228254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28228255, '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 = 28228761 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': 4005819, 'mtr_portfolio_id': 28228761, 'created_at': datetime.datetime(2025, 11, 5, 21, 46, 58), 'result': '0.03388183910081084', 'result_long': None, 'result_double': None}] Qualite : 0.03388183910081084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28228761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228761_05-11-2025_21_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28228761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228761_05-11-2025_21_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28228797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28228798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28228799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28228800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28228801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28228802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28228803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28228804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28228805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28228806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28228807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28228808, 'pht': 3726}}" where mtr_portfolio_id = 28228761 and dashboard_run_id = 2530217 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`=28228761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891473, 0.03388183910081084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28228761_05-11-2025_21_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28228797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28228798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28228799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28228800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28228801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28228802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28228803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28228804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28228805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28228806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28228807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28228808, '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 = 28229267 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': 4005880, 'mtr_portfolio_id': 28229267, 'created_at': datetime.datetime(2025, 11, 5, 22, 2, 59), 'result': '0.06445678543650607', 'result_long': None, 'result_double': None}] Qualite : 0.06445678543650607 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28229267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229267_05-11-2025_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28229267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229267_05-11-2025_22_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28229274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28229275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28229276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28229277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28229278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28229279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28229280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28229281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28229282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28229283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28229284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28229285, 'pht': 3726}}" where mtr_portfolio_id = 28229267 and dashboard_run_id = 2530217 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`=28229267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891474, 0.06445678543650607, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229267_05-11-2025_22_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28229274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28229275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28229276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28229277, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28229278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28229279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28229280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28229281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28229282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28229283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28229284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28229285, '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 = 28229890 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': 4006019, 'mtr_portfolio_id': 28229890, 'created_at': datetime.datetime(2025, 11, 5, 22, 17, 31), 'result': '0.0568848312997742', 'result_long': None, 'result_double': None}] Qualite : 0.0568848312997742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28229890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229890_05-11-2025_22_17_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28229890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229890_05-11-2025_22_17_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28229926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28229927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28229928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28229929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28229931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28229932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28229933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28229934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28229935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28229936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28229937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28229938, 'pht': 3726}}" where mtr_portfolio_id = 28229890 and dashboard_run_id = 2530217 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`=28229890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891475, 0.0568848312997742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28229890_05-11-2025_22_17_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28229926, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28229927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28229928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28229929, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28229931, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28229932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28229933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28229934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28229935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28229936, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28229937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28229938, '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 = 28230547 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': 4006093, 'mtr_portfolio_id': 28230547, 'created_at': datetime.datetime(2025, 11, 5, 22, 36, 31), 'result': '0.050818477215117897', 'result_long': None, 'result_double': None}] Qualite : 0.050818477215117897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28230547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28230547_05-11-2025_22_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28230547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28230547_05-11-2025_22_36_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28230552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28230553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28230554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28230555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28230556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28230557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28230558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28230559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28230560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28230561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28230562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28230563, 'pht': 3726}}" where mtr_portfolio_id = 28230547 and dashboard_run_id = 2530217 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`=28230547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891477, 0.050818477215117897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28230547_05-11-2025_22_36_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28230552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28230553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28230554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28230555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28230556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28230557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28230558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28230559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28230560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28230561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28230562, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28230563, '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 = 28231320 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': 4006172, 'mtr_portfolio_id': 28231320, 'created_at': datetime.datetime(2025, 11, 5, 22, 47), 'result': '0.039528775710933536', 'result_long': None, 'result_double': None}] Qualite : 0.039528775710933536 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28231320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28231320_05-11-2025_22_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28231320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28231320_05-11-2025_22_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28231360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28231361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28231362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28231363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28231364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28231365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28231366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28231367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28231368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28231369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28231370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28231371, 'pht': 3726}}" where mtr_portfolio_id = 28231320 and dashboard_run_id = 2530217 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`=28231320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891481, 0.039528775710933536, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28231320_05-11-2025_22_47_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 28231360, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28231361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28231362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28231363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28231364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28231365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28231366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28231367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28231368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28231369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28231370, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28231371, '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 = 28232125 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': 4006253, 'mtr_portfolio_id': 28232125, 'created_at': datetime.datetime(2025, 11, 5, 23, 4, 58), 'result': '0.044127610066875565', 'result_long': None, 'result_double': None}] Qualite : 0.044127610066875565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28232125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232125_05-11-2025_23_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28232125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232125_05-11-2025_23_04_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28232175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28232176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28232177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28232178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28232179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28232180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28232181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28232182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28232183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28232184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28232185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28232186, 'pht': 3726}}" where mtr_portfolio_id = 28232125 and dashboard_run_id = 2530217 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`=28232125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891482, 0.044127610066875565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232125_05-11-2025_23_04_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28232175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28232176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28232177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28232178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28232179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28232180, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28232181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28232182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28232183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28232184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28232185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28232186, '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 = 28232887 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': 4006327, 'mtr_portfolio_id': 28232887, 'created_at': datetime.datetime(2025, 11, 5, 23, 18, 58), 'result': '0.04842882465440068', 'result_long': None, 'result_double': None}] Qualite : 0.04842882465440068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28232887 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232887_05-11-2025_23_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28232887 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232887_05-11-2025_23_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28232931, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28232932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28232933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28232934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28232935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28232936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28232937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28232938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28232939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28232940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28232941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28232942, 'pht': 3726}}" where mtr_portfolio_id = 28232887 and dashboard_run_id = 2530217 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`=28232887 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891483, 0.04842882465440068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28232887_05-11-2025_23_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28232931, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28232932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28232933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28232934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28232935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28232936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28232937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28232938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28232939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28232940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28232941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28232942, '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 = 28233661 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': 4006390, 'mtr_portfolio_id': 28233661, 'created_at': datetime.datetime(2025, 11, 5, 23, 34, 58), 'result': '0.06771239503711779', 'result_long': None, 'result_double': None}] Qualite : 0.06771239503711779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28233661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28233661_05-11-2025_23_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28233661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28233661_05-11-2025_23_34_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28233686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28233687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28233688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28233689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28233690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28233691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28233692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28233693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28233694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28233695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28233696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28233697, 'pht': 3726}}" where mtr_portfolio_id = 28233661 and dashboard_run_id = 2530217 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`=28233661 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891487, 0.06771239503711779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28233661_05-11-2025_23_34_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28233686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28233687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28233688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28233689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28233690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28233691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28233692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28233693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28233694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28233695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28233696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28233697, '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 = 28234483 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': 4006463, 'mtr_portfolio_id': 28234483, 'created_at': datetime.datetime(2025, 11, 5, 23, 48, 58), 'result': '0.054702628505756114', 'result_long': None, 'result_double': None}] Qualite : 0.054702628505756114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28234483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234483_05-11-2025_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28234483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234483_05-11-2025_23_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28234486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28234487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28234488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28234489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28234490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28234491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28234492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28234493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28234494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28234495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28234496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28234497, 'pht': 3726}}" where mtr_portfolio_id = 28234483 and dashboard_run_id = 2530217 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`=28234483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891488, 0.054702628505756114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234483_05-11-2025_23_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 28234486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28234487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28234488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28234489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28234490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28234491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28234492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28234493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28234494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28234495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28234496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28234497, '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 = 28234879 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': 4006497, 'mtr_portfolio_id': 28234879, 'created_at': datetime.datetime(2025, 11, 6, 1, 32), 'result': '0.03310459220641995', 'result_long': None, 'result_double': None}] Qualite : 0.03310459220641995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 28234879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234879_06-11-2025_01_32_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28234879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234879_06-11-2025_01_32_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28234884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28234885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28234886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28234887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28234888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28234889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28234890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28234891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28234892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28234893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28234894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28234895, 'pht': 3726}}" where mtr_portfolio_id = 28234879 and dashboard_run_id = 2530217 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`=28234879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16891489, 0.03310459220641995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28234879_06-11-2025_01_32_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 28234884, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 28234885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 28234886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 28234887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 28234888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 28234889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 28234890, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 28234891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 28234892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 28234893, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 28234894, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 28234895, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (28186038,28186394,28187294,28188183,28189317,28189664,28189717,28190150,28190820,28191207,28191692,28192332,28193155,28193965,28194584,28195092,28195794,28196359,28197077,28199380,28200141,28200911,28201755,28202496,28203318,28204048,28204978,28205788,28206586,28207204,28209787,28210210,28210637,28211264,28211794,28212443,28212998,28213738,28214278,28214922,28215549,28216421,28216994,28217620,28218375,28219362,28220731,28221367,28221948,28222580,28223036,28223742,28224444,28225051,28225494,28226084,28226622,28227840,28228229,28228761,28229267,28229890,28230547,28231320,28232125,28232887,28233661,28234483,28234879) result : ((1392617853,), (1392617859,), (1392617861,), (1392618834,), (1392619427,), (1392619646,), (1392619652,), (1392619664,), (1392619771,), (1392619776,), (1392619794,), (1392622575,), (1392624099,), (1392624159,), (1392624315,), (1392624846,), (1392625280,), (1392625705,), (1392625734,), (1392626088,), (1392626189,), (1392626193,), (1392626304,), (1392633920,), (1392636440,), (1392637712,), (1392637787,), (1392638973,), (1392639353,), (1392639501,), (1392639504,), (1392639569,), (1392639809,), (1392646293,), (1392646343,), (1392646492,), (1392646587,), (1392646612,), (1392646668,), (1392646671,), (1392646674,), (1392646746,), (1392656752,), (1392656757,), (1392656803,), (1392656829,), (1392656831,), (1392656855,), (1392656858,), (1392656860,), (1392656957,), (1392656964,), (1392656970,), (1392656978,), (1392657044,), (1392657051,), (1392657054,), (1392657057,), (1392657073,), (1392657076,), (1392657079,), (1392657114,), (1392657116,), (1392657118,), (1392657121,), (1392657140,), (1392657143,), (1392657144,), (1392657145,), (1392657249,), (1392657251,), (1392657252,), (1392657255,), (1392657258,), (1392657262,), (1392657280,), (1392657284,), (1392657286,), (1392657288,), (1392657339,), (1392657343,), (1392657919,), (1392657614,), (1392657918,), (1392657958,), (1392657959,), (1392657963,), (1392657965,), (1392657967,), (1392657970,), (1392657999,), (1392657995,), (1392657997,), (1392658020,), (1392658022,), (1392658023,), (1392658025,), (1392658122,), (1392658124,), (1392658126,), (1392658130,), (1392658134,), (1392658158,), (1392658160,), (1392658162,), (1392658165,), (1392658169,), (1392658171,), (1392658205,), (1392658208,), (1392658211,), (1392658214,), (1392658236,), (1392658239,), (1392658241,), (1392658243,), (1392658246,), (1392658276,), (1392658281,), (1392658285,), (1392658288,), (1392658335,), (1392658336,), (1392658337,), (1392658339,), (1392658341,), (1392658376,), (1392658382,), (1392658385,), (1392658388,), (1392658391,), (1392658393,), (1392658405,), (1392658407,), (1392658408,), (1392658409,), (1392658418,), (1392658421,), (1392658425,), (1392658427,), (1392658430,), (1392658456,), (1392658458,), (1392658460,), (1392658462,), (1392658466,), (1392658470,), (1392658483,), (1392658485,), (1392658486,), (1392658488,), (1392658624,), (1392658627,), (1392658630,), (1392658632,), (1392658634,), (1392658665,), (1392658671,), (1392659587,), (1392659409,), (1392659453,), (1392659501,), (1392659543,), (1392660113,), (1392660121,), (1392660123,), (1392660125,), (1392660128,), (1392660191,), (1392660226,), (1392660262,), (1392660294,), (1392660681,), (1392660718,), (1392660768,), (1392660799,), (1392660832,), (1392661208,), (1392661210,), (1392661213,), (1392661218,), (1392661224,), (1392661231,), (1392661441,), (1392661458,), (1392661503,), (1392661505,), (1392661656,), (1392661658,), (1392661659,), (1392661660,), (1392661662,), (1392661663,), (1392661701,), (1392661702,), (1392661703,), (1392661705,), (1392661721,), (1392661723,), (1392661725,), (1392661766,), (1392661772,), (1392661779,), (1392661789,), (1392661792,), (1392661795,), (1392661848,), (1392661851,), (1392661854,), (1392661855,), (1392661858,), (1392661922,), (1392661925,), (1392661926,), (1392661929,), (1392661933,), (1392661936,), (1392661949,), (1392661952,), (1392661954,), (1392661958,), (1392661962,), (1392662015,), (1392662002,), (1392662006,), (1392662010,), (1392662033,), (1392662035,), (1392662037,), (1392662139,), (1392662144,), (1392662176,), (1392662178,), (1392662255,), (1392662257,), (1392662258,), (1392662308,), (1392662313,), (1392662392,), (1392662403,), (1392662405,), (1392662408,), (1392662414,), (1392662416,), (1392662433,), (1392662437,), (1392662441,), (1392662445,), (1392662449,), (1392662451,), (1392662456,), (1392662457,), (1392662459,), (1392662468,), (1392662470,), (1392662472,), (1392662475,), (1392662482,), (1392662485,), (1392662510,), (1392662512,), (1392662513,), (1392662514,), (1392662515,), (1392662518,), (1392662537,), (1392662539,), (1392662541,), (1392662615,), (1392662618,), (1392662622,), (1392662627,), (1392662631,), (1392662633,), (1392662646,), (1392662648,), (1392662649,), (1392662650,), (1392662687,), (1392662689,), (1392662692,), (1392662694,), (1392662753,), (1392662756,), (1392662759,), (1392662771,), (1392662774,), (1392662749,), (1392662750,), (1392662751,), (1392662795,), (1392662798,), (1392662800,), (1392662802,), (1392662806,), (1392662878,), (1392662887,), (1392662889,), (1392662892,), (1392662895,), (1392662899,), (1392662908,), (1392662909,), (1392662910,), (1392662916,), (1392662919,), (1392662921,), (1392662943,), (1392662944,), (1392662945,), (1392662947,), (1392662980,), (1392662982,), (1392662984,), (1392662986,), (1392663012,), (1392663014,), (1392663016,), (1392663020,), (1392663032,), (1392663043,), (1392663097,), (1392663104,), (1392663112,), (1392663126,), (1392663131,), (1392663162,), (1392663165,), (1392663180,), (1392663186,), (1392663189,), (1392663222,), (1392663224,), (1392663225,), (1392663227,), (1392663229,), (1392663252,), (1392663254,), (1392663280,), (1392663282,), (1392663284,), (1392663287,), (1392663291,), (1392663360,), (1392663363,), (1392663366,), (1392663390,), (1392663395,), (1392663400,), (1392663444,), (1392663447,), (1392663450,), (1392663507,), (1392663498,), (1392663500,), (1392663502,), (1392663505,), (1392663539,), (1392663543,), (1392663545,), (1392663549,), (1392663618,), (1392663620,), (1392663622,), (1392663650,), (1392663653,), (1392663658,), (1392663664,), (1392663688,), (1392663691,), (1392663719,), (1392663721,), (1392663723,), (1392663725,), (1392663759,), (1392664014,), (1392664017,), (1392664134,), (1392664137,), (1392664228,), (1392664263,), (1392664297,), (1392664603,), (1392664567,), (1392665032,), (1392665063,), (1392665098,), (1392665129,), (1392665168,), (1392665462,), (1392665469,), (1392665475,), (1392665487,), (1392665522,), (1392665553,), (1392665690,), (1392665692,), (1392665714,), (1392665716,), (1392665719,), (1392665723,), (1392665761,), (1392665774,), (1392665776,), (1392665778,), (1392665780,), (1392666020,), (1392666052,), (1392666597,), (1392666636,), (1392666669,), (1392666701,), (1392667065,), (1392667078,), (1392667081,), (1392667084,), (1392667111,), (1392667113,), (1392667124,), (1392667154,), (1392667187,), (1392667234,), (1392667564,), (1392667586,), (1392667605,), (1392667607,), (1392667618,), (1392667655,), (1392667794,), (1392667796,), (1392667805,), (1392667946,), (1392667950,), (1392667954,), (1392667957,), (1392667961,), (1392668003,), (1392668026,), (1392668057,), (1392668067,), (1392668070,), (1392668228,), (1392668245,), (1392668249,), (1392668252,), (1392668287,), (1392668284,), (1392668285,), (1392668286,), (1392668338,), (1392668342,), (1392668345,), (1392668350,), (1392668815,), (1392668951,), (1392669167,), (1392669168,), (1392669245,), (1392669248,), (1392669250,), (1392669253,), (1392669291,), (1392669294,), (1392669331,), (1392669335,), (1392669337,), (1392669347,), (1392669364,), (1392669626,), (1392669660,), (1392669661,), (1392669694,), (1392669704,), (1392669715,), (1392669719,), (1392669723,), (1392669925,), (1392669928,), (1392669930,), (1392669933,), (1392669946,), (1392669952,), (1392669851,), (1392669904,), (1392670012,), (1392670183,), (1392670186,), (1392670277,), (1392670423,), (1392670556,), (1392670560,), (1392670677,), (1392670680,), (1392670796,), (1392670797,), (1392670800,), (1392670831,), (1392670834,), (1392670843,), (1392671004,), (1392671035,), (1392671039,), (1392671041,), (1392671066,), (1392671068,), (1392671070,), (1392671080,), (1392671600,), (1392671602,), (1392671667,), (1392671748,), (1392671751,), (1392671978,), (1392671992,), (1392672165,), (1392672166,), (1392672168,), (1392672170,), (1392672196,), (1392672199,), (1392672202,), (1392672205,), (1392672210,), (1392672214,), (1392672236,), (1392672238,), (1392672241,), (1392672278,), (1392672280,), (1392672284,), (1392672287,), (1392672291,), (1392672334,), (1392672337,), (1392672372,), (1392672406,), (1392672443,), (1392672623,), (1392672681,), (1392672695,), (1392672704,), (1392672741,), (1392672743,), (1392672746,), (1392672777,), (1392672779,), (1392672781,), (1392672784,), (1392672814,), (1392672818,), (1392672822,), (1392673003,), (1392673008,), (1392673012,), (1392673167,), (1392673171,), (1392673302,), (1392673321,), (1392673323,), (1392673326,), (1392673329,), (1392673284,), (1392673292,), (1392673299,), (1392673348,), (1392673351,), (1392673353,), (1392673360,), (1392673367,), (1392673369,), (1392673482,), (1392673496,), (1392673500,), (1392673503,), (1392673538,), (1392673541,), (1392673544,), (1392673547,), (1392673552,), (1392673557,), (1392673581,), (1392673584,), (1392673586,), (1392673588,), (1392673591,), (1392673890,), (1392673922,), (1392673961,), (1392673999,), (1392674422,), (1392674455,), (1392674473,), (1392674478,), (1392674481,), (1392674490,), (1392674857,), (1392674893,), (1392674962,), (1392675034,), (1392675113,), (1392675180,), (1392675506,), (1392675510,), (1392675533,), (1392676427,), (1392676431,), (1392676446,), (1392676458,), (1392676593,), (1392676596,), (1392676605,), (1392676611,), (1392676692,), (1392676697,), (1392676702,), (1392676708,), (1392676762,), (1392676750,), (1392676757,), (1392676759,), (1392676896,), (1392676902,), (1392676909,), (1392676918,), (1392676924,), (1392676927,), (1392676955,), (1392676956,), (1392676957,), (1392676958,), (1392676961,), (1392676964,), (1392677009,), (1392677014,), (1392677036,), (1392677139,), (1392677180,), (1392677222,), (1392677255,), (1392677290,), (1392677420,), (1392677428,), (1392677429,), (1392677433,), (1392677706,), (1392677709,), (1392677712,), (1392677716,), (1392677721,), (1392677726,), (1392677763,), (1392677767,), (1392677770,), (1392677773,), (1392677778,), (1392677784,), (1392677801,), (1392677804,), (1392677806,), (1392678162,), (1392678163,), (1392678164,), (1392678167,), (1392678213,), (1392678219,), (1392678221,), (1392678223,), (1392678227,), (1392678299,), (1392678301,), (1392678302,), (1392678304,), (1392678335,), (1392678336,), (1392678337,), (1392678344,), (1392678488,), (1392678491,), (1392678494,), (1392678496,), (1392678498,), (1392678501,), (1392678555,), (1392678557,), (1392678571,), (1392678573,), (1392678576,), (1392678584,), (1392678588,), (1392678547,), (1392678549,), (1392678550,), (1392678552,), (1392678609,), (1392678624,), (1392678636,), (1392678640,), (1392678642,), (1392678652,), (1392678683,), (1392678685,), (1392678687,), (1392678690,), (1392678729,), (1392678732,), (1392678735,), (1392678736,), (1392678738,), (1392678776,), (1392678779,), (1392678781,), (1392678783,), (1392678786,), (1392678788,), (1392678812,), (1392678824,), (1392678839,), (1392678850,), (1392678858,), (1392678973,), (1392678977,), (1392679001,), (1392679013,), (1392679015,), (1392679106,), (1392679125,), (1392679176,), (1392679213,), (1392679271,), (1392679308,), (1392679527,), (1392679530,), (1392679533,), (1392679611,), (1392679614,), (1392679618,), (1392679621,), (1392679625,), (1392679629,), (1392679727,), (1392679744,), (1392679755,), (1392679769,), (1392679797,), (1392679806,), (1392679811,), (1392679814,), (1392679899,), (1392679903,), (1392679920,), (1392679931,), (1392679954,), (1392680114,), (1392680146,), (1392680202,), (1392680252,), (1392680256,), (1392680363,), (1392680402,), (1392680422,), (1392680559,), (1392680546,), (1392680552,), (1392680556,), (1392680623,), (1392680627,), (1392680628,), (1392680630,), (1392680633,), (1392680817,), (1392680856,), (1392680891,), (1392681042,), (1392681044,), (1392681047,), (1392681049,), (1392681054,), (1392681058,), (1392681174,), (1392681196,), (1392681198,), (1392681201,), (1392681204,), (1392681236,), (1392681237,), (1392681239,), (1392681241,), (1392681247,), (1392681251,), (1392681307,), (1392681328,), (1392681332,), (1392681504,), (1392681543,), (1392681591,), (1392681621,), (1392681655,), (1392681691,), (1392681814,), (1392681828,), (1392681836,), (1392681843,), (1392681861,), (1392682003,), (1392682010,), (1392682012,), (1392682016,), (1392682052,), (1392682056,), (1392682059,), (1392682061,), (1392682065,), (1392682086,), (1392682187,), (1392682190,), (1392682192,), (1392682374,), (1392682408,), (1392682437,), (1392682458,), (1392682491,), (1392682525,), (1392682827,), (1392682884,), (1392682934,), (1392682980,), (1392683014,), (1392683047,), (1392683234,), (1392683337,), (1392683407,), (1392683462,), (1392683962,), (1392683994,), (1392684020,), (1392684055,), (1392693860,), (1392694241,), (1392694269,), (1392694419,), (1392694421,), (1392694423,), (1392694433,), (1392694438,), (1392694774,), (1392694795,), (1392694837,), (1392695017,), (1392695043,), (1392695066,), (1392695980,), (1392696059,), (1392696121,), (1392696170,), (1392696205,), (1392696397,), (1392696398,), (1392696399,), (1392696403,), (1392696405,), (1392696408,), (1392696552,), (1392696594,), (1392696645,), (1392696704,), (1392696928,), (1392696934,), (1392696970,), (1392697009,), (1392697066,), (1392697223,), (1392697226,), (1392697229,), (1392697238,), (1392697788,), (1392697790,), (1392697791,), (1392697793,), (1392697796,), (1392697902,), (1392697904,), (1392697933,), (1392697943,), (1392697947,), (1392698005,), (1392698008,), (1392698019,), (1392698075,), (1392698077,), (1392698079,), (1392698081,), (1392698100,), (1392698108,), (1392698126,), (1392698128,), (1392698129,), (1392698137,), (1392698142,), (1392698161,), (1392698386,), (1392698389,), (1392698391,), (1392698807,), (1392698768,), (1392698789,), (1392698932,), (1392698934,), (1392698937,), (1392698998,), (1392699146,), (1392699188,), (1392699680,), (1392699681,), (1392699683,), (1392699911,), (1392699942,), (1392699982,), (1392700015,), (1392700048,), (1392700087,), (1392700719,), (1392700753,), (1392701025,), (1392701087,), (1392701125,), (1392701158,), (1392701387,), (1392701422,), (1392701441,), (1392701872,), (1392701886,), (1392701983,), (1392701986,), (1392701988,), (1392701991,), (1392701994,), (1392701997,), (1392702073,), (1392702078,), (1392702081,), (1392702243,), (1392702232,), (1392702234,), (1392702236,), (1392702239,), (1392702972,), (1392703113,), (1392703159,), (1392703193,), (1392703226,), (1392703241,), (1392703244,), (1392703254,), (1392703256,), (1392703258,), (1392703260,), (1392703395,), (1392703431,), (1392703448,), (1392703745,), (1392703805,), (1392703838,), (1392703887,), (1392703934,), (1392704417,), (1392704454,), (1392704488,), (1392704523,), (1392704562,), (1392704935,), (1392704938,), (1392704945,), (1392705184,), (1392705249,), (1392705319,), (1392705369,), (1392705406,), (1392705419,), (1392705689,), (1392705692,), (1392705699,), (1392705702,), (1392705704,), (1392705709,), (1392705728,), (1392705734,), (1392705736,), (1392705738,), (1392705739,), (1392705745,), (1392705776,), (1392705812,), (1392705848,), (1392705851,), (1392705856,), (1392705859,), (1392705861,), (1392705863,), (1392705865,), (1392705870,), (1392705874,), (1392705933,), (1392705934,), (1392705935,), (1392705936,), (1392705939,), (1392705942,), (1392706418,), (1392706419,), (1392706448,), (1392706923,), (1392706979,), (1392707031,), (1392707095,), (1392707412,), (1392707433,), (1392707436,), (1392707448,), (1392707594,), (1392707588,), (1392707590,), (1392707592,), (1392707982,), (1392708024,), (1392708027,), (1392708234,), (1392708237,), (1392708238,), (1392708242,), (1392708248,), (1392708253,), (1392708336,), (1392708358,), (1392708397,), (1392708403,), (1392708428,), (1392708429,), (1392708432,), (1392708438,), (1392708464,), (1392708505,), (1392708507,), (1392708518,), (1392708524,), (1392708567,), (1392708571,), (1392708575,), (1392708579,), (1392708789,), (1392708836,), (1392708906,), (1392708969,), (1392709194,), (1392709196,), (1392709198,), (1392709201,), (1392709230,), (1392709234,), (1392709238,), (1392709242,), (1392709246,), (1392709328,), (1392709371,), (1392709386,), (1392709390,), (1392709394,), (1392709630,), (1392709651,), (1392710100,), (1392710103,), (1392710149,), (1392710188,), (1392710303,), (1392710308,), (1392710312,), (1392710314,), (1392710316,), (1392710417,), (1392710598,), (1392710639,), (1392710642,), (1392710644,), (1392710648,), (1392710866,), (1392710871,), (1392710874,), (1392710902,), (1392710911,), (1392710943,), (1392710830,), (1392710857,), (1392710861,), (1392710891,), (1392710894,), (1392710895,), (1392710900,), (1392710971,), (1392710974,), (1392710976,), (1392711000,), (1392711035,), (1392711068,), (1392711360,), (1392711365,), (1392711367,), (1392711370,), (1392711579,), (1392711582,), (1392711605,), (1392711647,), (1392711832,), (1392711868,), (1392712144,), (1392712187,), (1392712206,), (1392712212,), (1392712389,), (1392712392,), (1392712397,), (1392712417,), (1392712447,), (1392712481,), (1392712626,), (1392712628,), (1392712634,), (1392712697,), (1392712732,), (1392712767,), (1392712805,), (1392712843,), (1392712880,), (1392712987,), (1392712992,), (1392713002,), (1392713006,), (1392713012,), (1392713019,), (1392713024,), (1392713095,), (1392713107,), (1392713110,), (1392713124,), (1392713136,), (1392713139,), (1392713181,), (1392713189,), (1392713216,), (1392713255,), (1392713625,), (1392713652,), (1392713671,), (1392713687,), (1392713693,), (1392713749,), (1392713751,), (1392713762,), (1392714423,), (1392714327,), (1392714365,), (1392714993,), (1392715055,), (1392715462,), (1392715465,), (1392715469,), (1392715474,), (1392715646,), (1392715679,), (1392715710,), (1392715741,), (1392715776,), (1392717036,), (1392717101,), (1392717148,), (1392717178,), (1392717322,), (1392717356,), (1392717389,), (1392717425,), (1392717566,), (1392717568,), (1392717738,), (1392717781,), (1392717836,), (1392717843,), (1392717871,), (1392717991,), (1392717993,), (1392717994,), (1392718023,), (1392718025,), (1392718028,), (1392718114,), (1392718148,), (1392718163,), (1392718166,), (1392718196,), (1392718206,), (1392718321,), (1392718322,), (1392718443,), (1392718448,), (1392718453,), (1392718456,), (1392718461,), (1392718486,), (1392718490,), (1392718495,), (1392718500,), (1392718564,), (1392718557,), (1392718560,), (1392718616,), (1392718652,), (1392718685,), (1392718720,), (1392718757,), (1392719435,), (1392719498,), (1392719568,), (1392719635,), (1392719703,), (1392720327,), (1392720364,), (1392720419,), (1392720483,), (1392720519,), (1392721275,), (1392721359,), (1392721449,), (1392722359,), (1392722395,), (1392722431,), (1392722471,), (1392722965,), (1392723072,), (1392723086,), (1392723090,), (1392723092,), (1392723128,), (1392723141,), (1392723176,), (1392723441,), (1392723443,), (1392723446,), (1392723449,), (1392723481,), (1392723483,), (1392723485,), (1392723487,), (1392723490,), (1392723494,), (1392723596,), (1392723598,), (1392723599,), (1392723721,), (1392723730,), (1392723737,), (1392723739,), (1392723741,), (1392723743,), (1392723772,), (1392723774,), (1392723776,), (1392723778,), (1392723782,), (1392723785,), (1392723843,), (1392723888,), (1392723933,), (1392723975,), (1392724137,), (1392724140,), (1392724143,), (1392724145,), (1392724223,), (1392724207,), (1392724209,), (1392724212,), (1392724215,), (1392724219,), (1392724260,), (1392724262,), (1392724294,), (1392724329,), (1392724365,), (1392724630,), (1392724685,), (1392724947,), (1392725130,), (1392725132,), (1392725133,), (1392725134,), (1392725145,), (1392725188,), (1392725679,), (1392725688,), (1392725694,), (1392725716,), (1392725755,), (1392725781,), (1392725859,), (1392725862,), (1392725866,), (1392725871,), (1392726296,), (1392726339,), (1392726393,), (1392726418,), (1392726427,), (1392726705,), (1392726711,), (1392726764,), (1392726804,), (1392726820,), (1392726824,), (1392726958,), (1392726968,), (1392726971,), (1392726974,), (1392727056,), (1392727091,), (1392727124,), (1392727148,), (1392727181,), (1392727329,), (1392727332,), (1392727335,), (1392727339,), (1392727345,), (1392727422,), (1392727423,), (1392727613,), (1392727627,), (1392727631,), (1392727661,), (1392727665,), (1392727675,), (1392727815,), (1392727847,), (1392727878,), (1392728129,), (1392728126,), (1392728127,), (1392728128,), (1392728425,), (1392728462,), (1392728507,), (1392728536,), (1392728725,), (1392728741,), (1392728744,), (1392728746,), (1392728773,), (1392728775,), (1392728776,), (1392728779,), (1392728848,), (1392728887,), (1392728906,), (1392729063,), (1392729066,), (1392729068,), (1392729070,), (1392729104,), (1392729105,), (1392729106,), (1392729108,), (1392729111,), (1392729169,), (1392729172,), (1392729177,), (1392729180,), (1392729184,), (1392729186,), (1392729381,), (1392729383,), (1392729385,), (1392729391,), (1392729456,), (1392729457,), (1392729459,), (1392729478,), (1392729482,), (1392729484,), (1392729587,), (1392729602,), (1392729604,), (1392729606,), (1392729610,), (1392729614,), (1392729623,), (1392729625,), (1392729630,), (1392729636,), (1392729638,), (1392729641,), (1392729647,), (1392729652,), (1392729657,), (1392729734,), (1392729735,), (1392729736,), (1392729964,), (1392730013,), (1392730034,), (1392730037,), (1392730065,), (1392730080,), (1392730293,), (1392730312,), (1392730354,), (1392730429,), (1392730420,), (1392730423,), (1392730426,), (1392730492,), (1392730495,), (1392730497,), (1392730564,), (1392730567,), (1392730569,), (1392730576,), (1392730580,), (1392730583,), (1392730631,), (1392730633,), (1392730634,), (1392730637,), (1392730641,), (1392730677,), (1392730691,), (1392730693,), (1392730696,), (1392730700,), (1392730943,), (1392730979,), (1392730989,), (1392730991,), (1392731001,), (1392731004,), (1392731031,), (1392731032,), (1392731044,), (1392731056,), (1392731167,), (1392731206,), (1392731240,), (1392731274,), (1392731309,), (1392731341,), (1392731413,), (1392731427,), (1392731428,), (1392731430,), (1392731518,), (1392731521,), (1392731524,), (1392731526,), (1392731529,), (1392731550,), (1392731552,), (1392731555,), (1392731558,), (1392731566,), (1392731599,), (1392731602,), (1392731604,), (1392731605,), (1392731693,), (1392731706,), (1392731708,), (1392731711,), (1392731715,), (1392731718,), (1392731750,), (1392731756,), (1392731761,), (1392731766,), (1392732222,), (1392732125,), (1392732161,), (1392732192,), (1392732650,), (1392732687,), (1392732692,), (1392733279,), (1392733418,), (1392733545,), (1392733677,), (1392734702,), (1392734770,), (1392734833,), (1392734900,), (1392734960,), (1392735050,), (1392735530,), (1392735693,), (1392735761,), (1392735831,), (1392735901,), (1392735969,), (1392736324,), (1392736343,), (1392736387,), (1392736395,), (1392736447,), (1392736619,), (1392736638,), (1392736697,), (1392736699,), (1392736701,), (1392736703,), (1392736706,), (1392736873,), (1392736910,), (1392749273,), (1392749271,), (1392749286,), (1392749288,), (1392749332,), (1392749353,), (1392749451,), (1392749454,), (1392749517,), (1392749519,), (1392749521,), (1392749524,), (1392749543,), (1392749599,), (1392749600,), (1392749601,), (1392749619,), (1392749622,), (1392749625,), (1392749628,), (1392749674,), (1392749675,), (1392749727,), (1392749732,), (1392749766,), (1392749950,), (1392749955,), (1392749958,), (1392749962,), (1392749965,), (1392750108,), (1392750095,), (1392750098,), (1392750101,), (1392750103,), (1392750106,), (1392750127,), (1392750130,), (1392750132,), (1392750135,), (1392750139,), (1392750197,), (1392750202,), (1392750203,), (1392750205,), (1392750206,), (1392750220,), (1392750221,), (1392750222,), (1392750223,), (1392750225,), (1392750226,), (1392750242,), (1392750244,), (1392750246,), (1392750404,), (1392750420,), (1392750426,), (1392750593,), (1392750594,), (1392750595,), (1392750596,), (1392750613,), (1392750784,), (1392750786,), (1392750789,), (1392750845,), (1392750847,), (1392750849,), (1392750884,), (1392750888,), (1392750891,), (1392751045,), (1392751046,), (1392751047,), (1392751067,), (1392751623,), (1392751660,), (1392751695,), (1392751729,), (1392751762,), (1392751784,), (1392752042,), (1392751911,), (1392751944,), (1392751977,), (1392752010,), (1392752194,), (1392752229,), (1392752261,), (1392752299,), (1392752331,), (1392752753,), (1392752786,), (1392752818,), (1392752851,), (1392753077,), (1392753079,), (1392753081,), (1392753084,), (1392753088,), (1392753406,), (1392753440,), (1392753454,), (1392753457,), (1392753485,), (1392753856,), (1392753893,), (1392753928,), (1392753963,), (1392754390,), (1392754424,), (1392754461,), (1392754497,), (1392754533,), (1392754867,), (1392754899,), (1392754931,), (1392754964,), (1392754999,), (1392755067,), (1392755614,), (1392755649,), (1392755661,), (1392755663,), (1392755879,), (1392755909,), (1392755940,), (1392755973,), (1392756012,), (1392756040,), (1392756176,), (1392756192,), (1392756194,), (1392756196,), (1392756201,), (1392756204,), (1392756234,), (1392756237,), (1392756239,), (1392756242,), (1392756350,), (1392756353,), (1392756354,), (1392756355,), (1392756359,), (1392756434,), (1392756437,), (1392756439,), (1392756441,), (1392756446,), (1392756472,), (1392756474,), (1392756476,), (1392756478,), (1392756482,), (1392756585,), (1392756577,), (1392756580,), (1392756582,), (1392756645,), (1392756647,), (1392756649,), (1392756651,), (1392756655,), (1392756672,), (1392756914,), (1392756916,), (1392756918,), (1392756920,), (1392757078,), (1392757118,), (1392757147,), (1392757149,), (1392757153,), (1392757196,), (1392757198,), (1392757200,), (1392758026,), (1392758020,), (1392758022,), (1392758024,), (1392758051,), (1392758054,), (1392758056,), (1392758291,), (1392758300,), (1392758304,), (1392758393,), (1392758395,), (1392758398,), (1392758401,), (1392758406,), (1392758431,), (1392758435,), (1392758439,), (1392758442,), (1392758500,), (1392758503,), (1392758506,), (1392758610,), (1392758614,), (1392758618,), (1392758620,), (1392758628,), (1392758633,), (1392758674,), (1392758678,), (1392758703,), (1392758800,), (1392758803,), (1392758805,), (1392758808,), (1392758844,), (1392758849,), (1392758852,), (1392758857,), (1392758966,), (1392758975,), (1392758978,), (1392758982,), (1392759055,), (1392759057,), (1392759058,), (1392759061,), (1392759070,), (1392759255,), (1392759264,), (1392759285,), (1392759295,), (1392759326,), (1392759339,), (1392759401,), (1392759515,), (1392759504,), (1392759506,), (1392759508,), (1392759510,), (1392759599,), (1392759600,), (1392759601,), (1392759847,), (1392759857,), (1392759865,), (1392759888,), (1392759891,), (1392759893,), (1392759895,), (1392759899,), (1392759947,), (1392759948,), (1392759949,), (1392759951,), (1392759956,), (1392760252,), (1392760257,), (1392760261,), (1392760267,), (1392760271,), (1392760446,), (1392760448,), (1392760449,), (1392760451,), (1392760455,), (1392760457,), (1392760538,), (1392760551,), (1392760555,), (1392760559,), (1392760639,), (1392760643,), (1392760660,), (1392760662,), (1392760667,), (1392760673,), (1392760918,), (1392760926,), (1392760927,), (1392760928,), (1392760939,), (1392760961,), (1392761003,), (1392761111,), (1392761122,), (1392761139,), (1392761417,), (1392761460,), (1392761512,), (1392761555,), (1392761596,), (1392761613,), (1392761732,), (1392761737,), (1392761740,), (1392761744,), (1392761746,), (1392761749,), (1392761955,), (1392761961,), (1392761965,), (1392761981,), (1392762159,), (1392762161,), (1392762225,), (1392762226,), (1392762273,), (1392762280,), (1392762305,), (1392762312,), (1392763049,), (1392763227,), (1392763582,), (1392763663,), (1392763740,), (1392762815,), (1392762848,), (1392762911,), (1392762976,), (1392763424,), (1392763464,), (1392763509,), (1392765479,), (1392765522,), (1392765561,), (1392765616,), (1392765682,), (1392765720,), (1392766041,), (1392766046,), (1392766050,), (1392766053,), (1392766064,), (1392766132,), (1392766481,), (1392766518,), (1392766549,), (1392766578,), (1392766821,), (1392766839,), (1392766874,), (1392766890,), (1392766895,), (1392767152,), (1392767155,), (1392767157,), (1392767160,), (1392767164,), (1392767167,), (1392767203,), (1392767206,), (1392767209,), (1392767215,), (1392767241,), (1392767244,), (1392767247,), (1392767251,), (1392767256,), (1392767312,), (1392767314,), (1392767316,), (1392767318,), (1392767321,), (1392767426,), (1392767428,), (1392767430,), (1392767551,), (1392767555,), (1392767559,), (1392767566,), (1392767572,), (1392767576,), (1392767622,), (1392767628,), (1392767630,), (1392767631,), (1392767632,), (1392767635,), (1392767664,), (1392767665,), (1392767668,), (1392767671,), (1392767814,), (1392767845,), (1392767853,), (1392767859,), (1392767888,), (1392767747,), (1392767778,), (1392767906,), (1392767908,), (1392767917,), (1392767927,), (1392767932,), (1392768002,), (1392768005,), (1392768008,), (1392768011,), (1392768014,), (1392768019,), (1392768052,), (1392768054,), (1392768057,), (1392768060,), (1392768066,), (1392768095,), (1392768098,), (1392768101,), (1392768104,), (1392768108,), (1392768113,), (1392768140,), (1392768143,), (1392768144,), (1392768145,), (1392768148,), (1392768150,), (1392768179,), (1392768187,), (1392768191,), (1392768193,), (1392768272,), (1392768275,), (1392768277,), (1392768280,), (1392768284,), (1392768316,), (1392768318,), (1392768319,), (1392768320,), (1392768357,), (1392768359,), (1392768361,), (1392768372,), (1392768378,), (1392768449,), (1392768453,), (1392768457,), (1392768461,), (1392768465,), (1392768668,), (1392768678,), (1392768680,), (1392768683,), (1392768884,), (1392768910,), (1392768913,), (1392768917,), (1392768922,), (1392768926,), (1392768994,), (1392768998,), (1392769001,), (1392769006,), (1392769011,), (1392769048,), (1392769050,), (1392769051,), (1392769053,), (1392769057,), (1392769158,), (1392769196,), (1392769198,), (1392769201,), (1392769211,), (1392769215,), (1392769096,), (1392769100,), (1392769105,), (1392769119,), (1392769123,), (1392769234,), (1392769241,), (1392769254,), (1392769330,), (1392769338,), (1392769340,), (1392769341,), (1392769343,), (1392769346,), (1392769386,), (1392769388,), (1392769391,), (1392769394,), (1392769414,), (1392769417,), (1392769420,), (1392769424,), (1392769426,), (1392769525,), (1392769530,), (1392769534,), (1392769552,), (1392769560,), (1392769565,), (1392769621,), (1392769630,), (1392769642,), (1392769697,), (1392769699,), (1392769702,), (1392769704,), (1392769800,), (1392769810,), (1392769817,), (1392769822,), (1392769832,), (1392769836,), (1392769861,), (1392769870,), (1392769901,), (1392769905,), (1392769963,), (1392769970,), (1392770042,), (1392770043,), (1392770044,), (1392770047,), (1392770052,), (1392770267,), (1392770277,), (1392770283,), (1392770468,), (1392770476,), (1392770482,), (1392770489,), (1392770493,), (1392770540,), (1392770528,), (1392770530,), (1392770531,), (1392770618,), (1392770652,), (1392770685,), (1392770716,), (1392770749,), (1392770798,), (1392770912,), (1392770942,), (1392770974,), (1392771006,), (1392771108,), (1392771111,), (1392771114,), (1392771117,), (1392771122,), (1392771153,), (1392771155,), (1392771156,), (1392771158,), (1392771161,), (1392771163,), (1392771213,), (1392771215,), (1392771217,), (1392771270,), (1392771276,), (1392771281,), (1392771286,), (1392771291,), (1392771296,), (1392771440,), (1392771474,), (1392771505,), (1392771542,), (1392771580,), (1392771841,), (1392771848,), (1392771899,), (1392771901,), (1392771903,), (1392771906,), (1392771910,), (1392771912,), (1392771936,), (1392771938,), (1392771940,), (1392771942,), (1392771944,), (1392771971,), (1392771972,), (1392772257,), (1392772262,), (1392772266,), (1392772527,), (1392772461,), (1392773721,), (1392773790,), (1392773853,), (1392773916,), (1392773983,), (1392774059,), (1392774677,), (1392774716,), (1392774781,), (1392774884,), (1392774956,), (1392775000,), (1392775214,), (1392775238,), (1392775532,), (1392775567,), (1392775601,), (1392775637,), (1392775668,), (1392775706,), (1392776002,), (1392776018,), (1392776021,), (1392776025,), (1392776030,), (1392776048,), (1392776238,), (1392776246,), (1392776248,), (1392776263,), (1392776350,), (1392776352,), (1392776384,), (1392776419,), (1392776451,), (1392776553,), (1392776644,), (1392776655,), (1392776661,), (1392776671,), (1392776674,), (1392776708,), (1392776710,), (1392776711,), (1392776830,), (1392776832,), (1392776850,), (1392776858,), (1392776864,), (1392776978,), (1392777011,), (1392777043,), (1392777079,), (1392777370,), (1392777375,), (1392777378,), (1392777380,), (1392777383,), (1392777386,), (1392777419,), (1392777427,), (1392777430,), (1392777454,), (1392777458,), (1392777462,), (1392777465,), (1392777469,), (1392777542,), (1392777518,), (1392777520,), (1392777522,), (1392777538,), (1392777540,), (1392777666,), (1392777674,), (1392777678,), (1392777688,), (1392777816,), (1392777818,), (1392777820,), (1392777822,), (1392777825,), (1392777827,), (1392777871,), (1392777905,), (1392777941,), (1392777975,), (1392778185,), (1392778187,), (1392778214,), (1392778227,), (1392778231,), (1392778235,), (1392778382,), (1392778416,), (1392778447,), (1392778471,), (1392778475,), (1392778479,), (1392778555,), (1392778564,), (1392778575,), (1392778578,), (1392778608,), (1392778610,), (1392778613,), (1392778618,), (1392778623,), (1392778626,), (1392778639,), (1392778641,), (1392778643,), (1392778714,), (1392778716,), (1392778726,), (1392778728,), (1392778731,), (1392778735,), (1392778764,), (1392778770,), (1392778773,), (1392778776,), (1392778807,), (1392778809,), (1392778811,), (1392778819,), (1392778827,), (1392778839,), (1392778948,), (1392778958,), (1392778960,), (1392778964,), (1392779109,), (1392779111,), (1392779114,), (1392779118,), (1392779121,), (1392779156,), (1392779160,), (1392779164,), (1392779166,), (1392779168,), (1392779235,), (1392779238,), (1392779240,), (1392779242,), (1392779251,), (1392779254,), (1392779231,), (1392779233,), (1392779268,), (1392779271,), (1392779272,), (1392779273,), (1392779275,), (1392779284,), (1392779339,), (1392779340,), (1392779342,), (1392779345,), (1392779349,), (1392779354,), (1392779408,), (1392779413,), (1392779417,), (1392779421,), (1392779481,), (1392779483,), (1392779484,), (1392779486,), (1392779502,), (1392779536,), (1392779676,), (1392779682,), (1392779683,), (1392779685,), (1392779688,), (1392779773,), (1392779777,), (1392779784,), (1392779787,), (1392779881,), (1392779884,), (1392779886,), (1392779888,), (1392779891,), (1392779894,), (1392779928,), (1392779930,), (1392779941,), (1392779959,), (1392780065,), (1392780066,), (1392780067,), (1392780069,), (1392780089,), (1392780092,), (1392780097,), (1392780100,), (1392780103,), (1392780107,), (1392780128,), (1392780130,), (1392780133,), (1392780142,), (1392780152,), (1392780249,), (1392780251,), (1392780252,), (1392780258,), (1392780272,), (1392780453,), (1392780458,), (1392780461,), (1392780464,), (1392780468,), (1392780471,), (1392780493,), (1392780498,), (1392780500,), (1392780508,), (1392780511,), (1392780576,), (1392780566,), (1392780568,), (1392780570,), (1392780603,), (1392780604,), (1392780606,), (1392780609,), (1392780613,), (1392780927,), (1392780939,), (1392780948,), (1392780986,), (1392781002,), (1392781063,), (1392781068,), (1392781077,), (1392781369,), (1392781379,), (1392781380,), (1392781382,), (1392781383,), (1392781385,), (1392781430,), (1392781432,), (1392781434,), (1392781518,), (1392781524,), (1392781824,), (1392781862,), (1392781895,), (1392782143,), (1392782145,), (1392782183,), (1392782219,), (1392782260,), (1392782296,), (1392782677,), (1392782725,), (1392782756,), (1392783070,), (1392783073,), (1392783077,), (1392783080,), (1392783219,), (1392783221,), (1392783223,), (1392783225,), (1392783229,), (1392783272,), (1392783279,), (1392783286,), (1392783288,), (1392783300,), (1392783693,), (1392783728,), (1392783731,), (1392783735,), (1392783739,), (1392783743,), (1392784058,), (1392784066,), (1392784099,), (1392784166,), (1392784169,), (1392784182,), (1392784191,), (1392784258,), (1392784260,), (1392784281,), (1392784284,), (1392784287,), (1392784352,), (1392784240,), (1392784241,), (1392784244,), (1392784245,), (1392784247,), (1392784250,), (1392784251,), (1392784253,), (1392784255,), (1392784257,), (1392784273,), (1392784275,), (1392784278,), (1392784569,), (1392784600,), (1392784630,), (1392784665,), (1392784702,), (1392784738,), (1392785080,), (1392785124,), (1392785156,), (1392785192,), (1392785226,), (1392785291,), (1392785295,), (1392785302,), (1392785304,), (1392785327,), (1392785330,), (1392785693,), (1392785736,), (1392785772,), (1392786323,), (1392786353,), (1392786382,), (1392786415,), (1392786452,), (1392787413,), (1392787440,), (1392787441,), (1392787454,), (1392787820,), (1392787873,), (1392787903,), (1392787935,), (1392787966,), (1392788101,), (1392788103,), (1392788106,), (1392788108,), (1392788129,), (1392788137,), (1392788212,), (1392788215,), (1392788217,), (1392788290,), (1392788298,), (1392788302,), (1392788306,), (1392788311,), (1392788314,), (1392788455,), (1392788488,), (1392788523,), (1392788554,), (1392788587,), (1392788741,), (1392788743,), (1392788745,), (1392788774,), (1392788831,), (1392788821,), (1392788823,), (1392788825,), (1392788827,), (1392788875,), (1392788878,), (1392788911,), (1392788935,), (1392788957,), (1392788969,), (1392789042,), (1392789045,), (1392789046,), (1392789049,), (1392789051,), (1392789055,), (1392789277,), (1392789281,), (1392789283,), (1392789285,), (1392789398,), (1392789431,), (1392789455,), (1392789456,), (1392789574,), (1392789609,), (1392789659,), (1392789695,), (1392789732,), (1392789771,), (1392789875,), (1392789888,), (1392789891,), (1392789894,), (1392789896,), (1392789948,), (1392789950,), (1392789953,), (1392789956,), (1392789960,), (1392789963,), (1392790026,), (1392790029,), (1392790033,), (1392790070,), (1392790072,), (1392790074,), (1392790076,), (1392790079,), (1392790107,), (1392790109,), (1392790111,), (1392790113,), (1392790117,), (1392790120,), (1392790152,), (1392790155,), (1392790157,), (1392790221,), (1392790225,), (1392790228,), (1392790231,), (1392790235,), (1392790306,), (1392790309,), (1392790311,), (1392790343,), (1392790347,), (1392790350,), (1392790354,), (1392790357,), (1392790405,), (1392790424,), (1392790429,), (1392790434,), (1392790438,), (1392793229,), (1392793140,), (1392793179,), (1392793646,), (1392793679,), (1392793712,), (1392793744,), (1392793783,), (1392793936,), (1392793953,), (1392794296,), (1392794303,), (1392794331,), (1392794407,), (1392794416,), (1392794417,), (1392794506,), (1392794511,), (1392794516,), (1392794596,), (1392794597,), (1392794598,), (1392794600,), (1392794602,), (1392794642,), (1392794649,), (1392794652,), (1392794692,), (1392794696,), (1392794697,), (1392794699,), (1392794887,), (1392794889,), (1392794976,), (1392794980,), (1392794983,), (1392794986,), (1392794991,), (1392794996,), (1392795031,), (1392795047,), (1392795056,), (1392795057,), (1392795059,), (1392795133,), (1392795147,), (1392795183,), (1392795350,), (1392795353,), (1392795357,), (1392795360,), (1392795363,), (1392795366,), (1392795403,), (1392795394,), (1392795397,), (1392795400,), (1392795434,), (1392795436,), (1392795437,), (1392795438,), (1392795459,), (1392795461,), (1392795561,), (1392795563,), (1392795565,), (1392795568,), (1392795572,), (1392795784,), (1392795807,), (1392795819,), (1392795822,), (1392795931,), (1392795934,), (1392795937,), (1392795945,), (1392795949,), (1392795991,), (1392796037,), (1392796082,), (1392796115,), (1392796164,), (1392796207,), (1392796443,), (1392796444,), (1392796446,), (1392796507,), (1392796510,), (1392796512,), (1392796514,), (1392796517,), (1392796545,), (1392796548,), (1392796550,), (1392796551,), (1392796555,), (1392796616,), (1392796617,), (1392796618,), (1392796620,), (1392796680,), (1392796682,), (1392796685,), (1392796716,), (1392796750,), (1392796796,), (1392796992,), (1392796994,), (1392797008,), (1392797042,), (1392797287,), (1392797288,), (1392797289,), (1392797291,), (1392797294,), (1392797297,), (1392797358,), (1392797359,), (1392797361,), (1392797363,), (1392797406,), (1392797408,), (1392797410,), (1392797412,), (1392797417,), (1392797495,), (1392797497,), (1392797513,), (1392797521,), (1392797532,), (1392797544,), (1392797480,), (1392797483,), (1392797486,), (1392797491,), (1392797579,), (1392797581,), (1392797585,), (1392797617,), (1392797652,), (1392797691,), (1392797693,), (1392797694,), (1392797696,), (1392797700,), (1392797702,), (1392797846,), (1392797849,), (1392797852,), (1392797855,), (1392797859,), (1392797884,), (1392797890,), (1392797891,), (1392797894,), (1392797918,), (1392797921,), (1392797933,), (1392797950,), (1392797961,), (1392797996,), (1392797999,), (1392798003,), (1392798005,), (1392798023,), (1392798027,), (1392798121,), (1392798124,), (1392798126,), (1392798197,), (1392798203,), (1392798213,), (1392798221,), (1392798228,), (1392798237,), (1392798342,), (1392798377,), (1392798410,), (1392798430,), (1392798587,), (1392798621,), (1392798657,), (1392798687,), (1392798721,), (1392798756,), (1392798851,), (1392798855,), (1392798856,), (1392798858,), (1392798910,), (1392798913,), (1392798916,), (1392798919,), (1392798922,), (1392798924,), (1392798941,), (1392798948,), (1392798950,), (1392798952,), (1392798955,), (1392799011,), (1392799017,), (1392799018,), (1392799019,), (1392799066,), (1392799056,), (1392799059,), (1392799061,), (1392799063,), (1392799112,), (1392799121,), (1392799127,), (1392799130,), (1392799181,), (1392799182,), (1392799183,), (1392799281,), (1392799283,), (1392799285,), (1392799316,), (1392799370,), (1392799374,), (1392799377,), (1392799380,), (1392799383,), (1392799407,), (1392799408,), (1392799409,), (1392799411,), (1392799414,), (1392799417,), (1392799434,), (1392799436,), (1392799438,), (1392799484,), (1392799492,), (1392799496,), (1392799500,), (1392799512,), (1392799520,), (1392799562,), (1392799563,), (1392799564,), (1392799566,), (1392799570,), (1392799585,), (1392799588,), (1392799591,), (1392799616,), (1392799617,), (1392799884,), (1392799890,), (1392799895,), (1392799909,), (1392799914,), (1392799916,), (1392799917,), (1392799919,), (1392800098,), (1392800095,), (1392800275,), (1392800278,), (1392800297,), (1392800312,), (1392800317,), (1392800619,), (1392801327,), (1392801408,), (1392801474,), (1392801574,), (1392801626,), (1392801974,), (1392801991,), (1392801995,), (1392801999,), (1392802427,), (1392802446,), (1392802448,), (1392802475,), (1392802523,), (1392802934,), (1392802968,), (1392803011,), (1392803047,), (1392803089,), (1392803443,), (1392803496,), (1392803560,), (1392803626,), (1392804275,), (1392804278,), (1392804282,), (1392804287,), (1392804291,), (1392804322,), (1392804458,), (1392804460,), (1392804463,), (1392804466,), (1392804499,), (1392804969,), (1392804988,), (1392805006,), (1392805011,), (1392805018,), (1392805022,), (1392805214,), (1392805232,), (1392805234,), (1392805369,), (1392805371,), (1392805376,), (1392805385,), (1392805388,), (1392805391,), (1392805595,), (1392805619,), (1392805637,), (1392805640,), (1392805642,), (1392805802,), (1392805804,), (1392805806,), (1392805808,), (1392805813,), (1392805817,), (1392806004,), (1392805887,), (1392805889,), (1392805931,), (1392806265,), (1392806268,), (1392806277,), (1392806289,), (1392806314,), (1392806318,), (1392806689,), (1392806722,), (1392806755,), (1392806787,), (1392806790,), (1392806835,), (1392806836,), (1392806843,), (1392806890,), (1392806895,), (1392806947,), (1392806948,), (1392807107,), (1392807430,), (1392807578,), (1392807580,), (1392807582,), (1392807584,), (1392807586,), (1392807594,), (1392807668,), (1392807671,), (1392807674,), (1392807676,), (1392807680,), (1392807701,), (1392807703,), (1392807705,), (1392807708,), (1392807712,), (1392807755,), (1392807759,), (1392807762,), (1392807765,), (1392807767,), (1392807815,), (1392807819,), (1392807822,), (1392807837,), (1392807841,), (1392807865,), (1392807797,), (1392807800,), (1392807892,), (1392807895,), (1392807897,), (1392807899,), (1392807903,), (1392807917,), (1392807978,), (1392807979,), (1392807980,), (1392807982,), (1392808030,), (1392808041,), (1392808047,), (1392808050,), (1392808054,), (1392808079,), (1392808080,), (1392808081,), (1392808082,), (1392808086,), (1392808088,), (1392808109,), (1392808118,), (1392808121,), (1392808162,), (1392808164,), (1392808166,), (1392808170,), (1392808173,), (1392808175,), (1392808232,), (1392808252,), (1392808259,), (1392808260,), (1392808322,), (1392808327,), (1392808331,), (1392808337,), (1392808343,), (1392808347,), (1392808370,), (1392808376,), (1392808383,), (1392808391,), (1392808415,), (1392808417,), (1392808419,), (1392808422,), (1392808425,), (1392808428,), (1392808473,), (1392808634,), (1392808636,), (1392808718,), (1392808831,), (1392808834,), (1392808837,), (1392808873,), (1392808881,), (1392808883,), (1392808887,), (1392808915,), (1392808917,), (1392808919,), (1392808921,), (1392808926,), (1392808930,), (1392808948,), (1392808951,), (1392808953,), (1392808955,), (1392808958,), (1392809185,), (1392809239,), (1392809288,), (1392809290,), (1392809291,), (1392809293,), (1392809314,), (1392809317,), (1392809320,), (1392809323,), (1392809444,), (1392809447,), (1392809449,), (1392809451,), (1392809453,), (1392809455,), (1392809968,), (1392810006,), (1392810049,), (1392810059,), (1392810073,), (1392810074,), (1392810075,), (1392810077,), (1392810079,), (1392810383,), (1392810386,), (1392810455,), (1392810503,), (1392810565,), (1392810598,), (1392810354,), (1392810358,), (1392810362,), (1392810374,), (1392810426,), (1392810433,), (1392810437,), (1392810440,), (1392810442,), (1392810724,), (1392810758,), (1392810790,), (1392810824,), (1392810860,), (1392810892,), (1392811491,), (1392811553,), (1392811612,), (1392811670,), (1392811731,), (1392811908,), (1392811943,), (1392811981,), (1392812009,), (1392812021,), (1392812035,), (1392812088,), (1392812097,), (1392812113,), (1392812536,), (1392812575,), (1392812610,), (1392812642,), (1392812820,), (1392812822,), (1392812830,), (1392812864,), (1392813053,), (1392813055,), (1392813058,), (1392813142,), (1392813145,), (1392813267,), (1392813346,), (1392813360,), (1392813416,), (1392813417,), (1392813418,), (1392813420,), (1392813443,), (1392813445,), (1392813449,), (1392813452,), (1392813456,), (1392813519,), (1392813515,), (1392813517,), (1392813518,), (1392813545,), (1392813546,), (1392813547,), (1392813549,), (1392813551,), (1392813622,), (1392813624,), (1392813627,), (1392813630,), (1392813634,), (1392813638,), (1392813690,), (1392813692,), (1392813696,), (1392813700,), (1392813731,), (1392813733,), (1392813734,), (1392813737,), (1392813754,), (1392813765,), (1392813771,), (1392813776,), (1392813781,), (1392813835,), (1392813839,), (1392813842,), (1392813845,), (1392813904,), (1392813912,), (1392813944,), (1392813977,), (1392814110,), (1392814115,), (1392814116,), (1392814138,), (1392814167,), (1392814272,), (1392814275,), (1392814277,), (1392814279,), (1392814283,), (1392814316,), (1392814319,), (1392814322,), (1392814325,), (1392814344,), (1392814345,), (1392814346,), (1392814348,), (1392814457,), (1392814459,), (1392814463,), (1392814467,), (1392814472,), (1392814492,), (1392814494,), (1392814497,), (1392814500,), (1392814502,), (1392814507,), (1392814534,), (1392814544,), (1392814548,), (1392814585,), (1392814587,), (1392814601,), (1392814602,), (1392814577,), (1392814579,), (1392814580,), (1392814583,), (1392814621,), (1392814623,), (1392814625,), (1392814627,), (1392814683,), (1392814684,), (1392814685,), (1392814688,), (1392814692,), (1392814718,), (1392814720,), (1392814721,), (1392814819,), (1392814822,), (1392814824,), (1392814826,), (1392814852,), (1392814853,), (1392814854,), (1392814857,), (1392814860,), (1392814906,), (1392814910,), (1392815023,), (1392815025,), (1392815026,), (1392815029,), (1392815033,), (1392815063,), (1392815065,), (1392815091,), (1392815118,), (1392815123,), (1392815127,), (1392815208,), (1392815212,), (1392815218,), (1392815222,), (1392815252,), (1392815253,), (1392815254,), (1392815256,), (1392815259,), (1392819731,), (1392817595,), (1392820023,), (1392820100,), (1392820788,), (1392821054,), (1392821253,), (1392821288,), (1392821329,), (1392821362,), (1392821381,), (1392821403,), (1392821408,), (1392821409,), (1392821411,), (1392821413,), (1392821457,), (1392821495,), (1392821498,), (1392821655,), (1392821658,), (1392821659,), (1392821662,), (1392821670,), (1392821680,), (1392821699,), (1392821700,), (1392821701,), (1392821704,), (1392821707,), (1392821710,), (1392821757,), (1392821752,), (1392821754,), (1392821808,), (1392821810,), (1392821812,), (1392821816,), (1392821820,), (1392821924,), (1392821926,), (1392821953,), (1392821955,), (1392821981,), (1392821984,), (1392821986,), (1392821988,), (1392821991,), (1392821997,), (1392822104,), (1392822105,), (1392822106,), (1392822108,), (1392822110,), (1392822177,), (1392822180,), (1392822183,), (1392822185,), (1392822189,), (1392822215,), (1392822217,), (1392822219,), (1392822220,), (1392822222,), (1392822223,), (1392822260,), (1392822262,), (1392822264,), (1392822266,), (1392822293,), (1392822294,), (1392822295,), (1392822297,), (1392822299,), (1392822323,), (1392822324,), (1392822444,), (1392822561,), (1392822555,), (1392822558,), (1392822598,), (1392822600,), (1392822603,), (1392822606,), (1392822609,), (1392822666,), (1392822676,), (1392822681,), (1392822682,), (1392822685,), (1392822687,), (1392822736,), (1392822822,), (1392822953,), (1392822954,), (1392822955,), (1392822971,), (1392822973,), (1392822976,), (1392822979,), (1392822983,), (1392822986,), (1392823013,), (1392823016,), (1392823020,), (1392823023,), (1392823027,), (1392823041,), (1392823043,), (1392823044,), (1392823084,), (1392823093,), (1392823103,), (1392823106,), (1392823110,), (1392823162,), (1392823163,), (1392823165,), (1392823200,), (1392823202,), (1392823203,), (1392823205,), (1392823209,), (1392823212,), (1392823226,), (1392823229,), (1392823232,), (1392823235,), (1392823239,), (1392823241,), (1392823326,), (1392823315,), (1392823321,), (1392823325,), (1392823351,), (1392823355,), (1392823358,), (1392823361,), (1392823364,), (1392823368,), (1392823498,), (1392823510,), (1392823521,), (1392823529,), (1392823539,), (1392823566,), (1392823569,), (1392823572,), (1392823578,), (1392823582,), (1392823587,), (1392823618,), (1392823622,), (1392823625,), (1392823644,), (1392823647,), (1392823650,), (1392823654,), (1392823658,), (1392823684,), (1392823686,), (1392823688,), (1392823693,), (1392823770,), (1392823773,), (1392823775,), (1392823807,), (1392823809,), (1392823812,), (1392823815,), (1392823820,), (1392823833,), (1392823834,), (1392823836,), (1392823842,), (1392823846,), (1392823862,), (1392823885,), (1392823890,), (1392823894,), (1392823897,), (1392823901,), (1392823918,), (1392823925,), (1392823934,), (1392824001,), (1392824003,), (1392824004,), (1392824005,), (1392824007,), (1392824009,), (1392824375,), (1392824379,), (1392824384,), (1392824399,), (1392824402,), (1392824403,), (1392824404,), (1392824461,), (1392824427,), (1392824440,), (1392824442,), (1392824453,), (1392824459,), (1392824495,), (1392824498,), (1392824501,), (1392824504,), (1392824521,), (1392824845,), (1392824891,), (1392824959,), (1392825003,), (1392825038,), (1392825070,), (1392825363,), (1392825396,), (1392825426,), (1392825441,), (1392825751,), (1392825783,), (1392825815,), (1392825847,), (1392826135,), (1392826177,), (1392826665,), (1392826697,), (1392826727,), (1392826743,), (1392827284,), (1392827348,), (1392827412,), (1392827937,), (1392827970,), (1392828503,), (1392828528,), (1392828913,), (1392828944,), (1392829316,), (1392829350,), (1392829432,), (1392829484,), (1392829518,), (1392829563,), (1392829924,), (1392829982,), (1392830024,), (1392830062,), (1392830110,), (1392830485,), (1392830642,), (1392830645,), (1392830681,), (1392830719,), (1392830801,), (1392831163,), (1392831201,), (1392831233,), (1392831682,), (1392831618,), (1392831650,), (1392831706,), (1392831773,), (1392831777,), (1392832245,), (1392832293,), (1392832357,), (1392832424,), (1392832938,), (1392833012,), (1392833076,), (1392833138,), (1392833391,), (1392833653,), (1392833815,), (1392833822,), (1392833824,), (1392833847,), (1392834462,), (1392834583,), (1392834691,), (1392834789,), (1392834874,), (1392835340,), (1392835386,), (1392835512,), (1392835553,), (1392835588,), (1392835622,), (1392835663,), (1392836312,), (1392836376,), (1392836448,), (1392836524,), (1392836592,), (1392837244,), (1392837280,), (1392837323,), (1392837808,), (1392837823,), (1392837826,), (1392837828,), (1392837831,), (1392837835,), (1392838607,), (1392838647,), (1392838739,), (1392838762,), (1392838763,), (1392838788,), (1392838866,), (1392839519,), (1392840258,), (1392840396,), (1392840433,), (1392840470,), (1392838364,), (1392838432,), (1392838501,), (1392838568,), (1392839331,), (1392839379,), (1392839417,), (1392839450,), (1392839486,), (1392839649,), (1392839650,), (1392839682,), (1392839684,), (1392839717,), (1392839720,), (1392839756,), (1392839763,), (1392839798,), (1392839815,), (1392839850,), (1392839858,), (1392839979,), (1392840036,), (1392840099,), (1392840160,), (1392840223,), (1392840617,), (1392840654,), (1392840673,), (1392840687,), (1392841168,), (1392841212,), (1392841235,), (1392841238,), (1392841289,), (1392841323,), (1392841648,), (1392841684,), (1392841714,), (1392841751,), (1392841783,), (1392842083,), (1392842085,), (1392842087,), (1392842423,), (1392842454,), (1392842457,), (1392842465,), (1392842474,), (1392842481,), (1392842512,), (1392842515,), (1392842518,), (1392842521,), (1392842545,), (1392842847,), (1392842883,), (1392842927,), (1392842961,), (1392842995,), (1392843032,), (1392843173,), (1392843214,), (1392843256,), (1392843288,), (1392843325,), (1392843449,), (1392843481,), (1392843515,), (1392843548,), (1392843661,), (1392843664,), (1392843666,), (1392843668,), (1392843674,), (1392843682,), (1392843998,), (1392844014,), (1392844016,), (1392844018,), (1392844181,), (1392844175,), (1392844177,), (1392844179,), (1392844246,), (1392844247,), (1392844248,), (1392844250,), (1392844254,), (1392844310,), (1392844314,), (1392844318,), (1392844322,), (1392844327,), (1392844332,), (1392844359,), (1392844360,), (1392844361,), (1392844363,), (1392844380,), (1392844387,), (1392844388,), (1392844389,), (1392844390,), (1392844392,), (1392844415,), (1392844417,), (1392844420,), (1392844423,), (1392844549,), (1392844563,), (1392844586,), (1392844599,), (1392844605,), (1392844626,), (1392844651,), (1392844653,), (1392844657,), (1392844659,), (1392844662,), (1392844665,), (1392844667,), (1392844672,), (1392844697,), (1392844700,), (1392844703,), (1392844705,), (1392844707,), (1392844734,), (1392844736,), (1392844737,), (1392844738,), (1392844740,), (1392844742,), (1392844901,), (1392844934,), (1392844968,), (1392845004,), (1392845434,), (1392845467,), (1392845500,), (1392845535,), (1392845572,), (1392845600,), (1392845715,), (1392845718,), (1392845720,), (1392845745,), (1392846228,), (1392846266,), (1392846302,), (1392846337,), (1392846375,), (1392846419,), (1392846645,), (1392846714,), (1392846795,), (1392847582,), (1392847853,), (1392848644,), (1392848646,), (1392848648,), (1392848650,), (1392847324,), (1392847356,), (1392847414,), (1392847484,), (1392848379,), (1392848420,), (1392848457,), (1392848492,), (1392848531,), (1392848569,), (1392848615,), (1392848620,), (1392848624,), (1392848628,), (1392848631,), (1392848634,), (1392848657,), (1392848661,), (1392848664,), (1392848678,), (1392848683,), (1392848742,), (1392848778,), (1392848814,), (1392848849,), (1392848881,), (1392849272,), (1392849308,), (1392849341,), (1392849373,), (1392849710,), (1392849786,), (1392849847,), (1392849927,), (1392849969,), (1392850016,), (1392850674,), (1392850735,), (1392850811,), (1392850874,), (1392850936,), (1392851546,), (1392851580,), (1392851594,), (1392851597,), (1392851601,), (1392851777,), (1392851842,), (1392851898,), (1392851961,), (1392851993,), (1392852358,), (1392852363,), (1392852805,), (1392853559,), (1392853592,), (1392853911,), (1392853956,), (1392853987,), (1392854582,), (1392855169,), (1392854452,), (1392854485,), (1392854517,), (1392854546,), (1392854989,), (1392855022,), (1392855056,), (1392855099,), (1392855122,), (1392855131,), (1392855161,), (1392855167,), (1392855185,), (1392855186,), (1392855189,), (1392855193,), (1392855196,), (1392855198,), (1392855432,), (1392855467,), (1392855502,), (1392855541,), (1392855576,), (1392855610,), (1392855742,), (1392855784,), (1392855820,), (1392856300,), (1392856391,), (1392856426,), (1392856657,), (1392858675,), (1392860653,), (1392860624,), (1392860634,), (1392860650,), (1392861013,), (1392861016,), (1392861043,), (1392861102,), (1392861163,), (1392861630,), (1392861671,), (1392861707,), (1392861742,), (1392861986,), (1392861992,), (1392862000,), (1392862040,), (1392862073,), (1392862260,), (1392862275,), (1392862285,), (1392862288,), (1392862293,), (1392862312,), (1392862384,), (1392862388,), (1392862392,), (1392862396,), (1392862537,), (1392862540,), (1392862545,), (1392862552,), (1392862555,), (1392862559,), (1392862588,), (1392862785,), (1392862790,), (1392862792,), (1392862855,), (1392862893,), (1392862933,), (1392862977,), (1392863018,), (1392863542,), (1392863359,), (1392863394,), (1392863429,), (1392863470,), (1392863505,), (1392863884,), (1392863945,), (1392864003,), (1392864036,), (1392864505,), (1392864540,), (1392864576,), (1392864611,), (1392864651,), (1392865147,), (1392865180,), (1392865211,), (1392865698,), (1392865749,), (1392865752,), (1392865802,), (1392865821,), (1392865841,), (1392865844,), (1392865877,), (1392865912,), (1392866361,), (1392866397,), (1392866432,), (1392866469,), (1392866505,), (1392866957,), (1392866991,), (1392867070,), (1392867075,), (1392867076,), (1392867077,), (1392867078,), (1392867344,), (1392867380,), (1392867416,), (1392867451,), (1392867646,), (1392867648,), (1392867679,), (1392867701,), (1392867709,), (1392867738,), (1392867742,), (1392867745,), (1392867748,), (1392867752,), (1392867819,), (1392867820,), (1392867822,), (1392867851,), (1392867854,), (1392867858,), (1392867862,), (1392867866,), (1392868237,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05112025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([28227840]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] map_info['map_portfolio_photo'] : {28227840: [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595]} final : True mtd_id 4302 list_pids : [1392821757, 1392821710, 1392821707, 1392821704, 1392821701, 1392821700, 1392821699, 1392821680, 1392821670, 1392821662, 1392821659, 1392821658, 1392821655, 1392821498, 1392821495, 1392821457, 1392821413, 1392821411, 1392821409, 1392821408, 1392821403, 1392821381, 1392821362, 1392821329, 1392821288, 1392821253, 1392821054, 1392820788, 1392820100, 1392820023, 1392817595] Looping around the photos to save general results len do output : 1 /28227840Didn'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, '4007824') ('4302', '28227840', '1392821757', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821710', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821707', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821704', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821701', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821700', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821699', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821680', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821670', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821662', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821659', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821658', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821655', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821498', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821495', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821457', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821413', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821411', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821409', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821408', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821403', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821381', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821362', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821329', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821288', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821253', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392821054', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820788', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820100', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392820023', None, None, None, None, None, '4007824') ('4302', None, None, None, None, None, None, None, '4007824') ('4302', '28227840', '1392817595', None, None, None, None, None, '4007824') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '28227840', 'None', None, None, None, None, '4007824'), ('4302', '28227840', '1392821757', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821710', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821707', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821704', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821701', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821700', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821699', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821680', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821670', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821662', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821659', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821658', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821655', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821498', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821495', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821457', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821413', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821411', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821409', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821408', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821403', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821381', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821362', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821329', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821288', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821253', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392821054', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820788', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820100', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392820023', None, None, None, None, None, '4007824'), ('4302', '28227840', '1392817595', None, None, None, None, None, '4007824')] time used for this insertion : 0.019041061401367188 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.2120139598846436 time spend to save output : 0.0193328857421875 total time spend for step 5 : 6.231346845626831 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 (4007824) 2.91user 2.05system 0:16.23elapsed 30%CPU (0avgtext+0avgdata 160164maxresident)k 1168inputs+23608outputs (10major+78455minor)pagefaults 0swaps