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 : 1237454 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 no input labels no input values UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3460707) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3460707) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503854 AND hide_status = 0 list_input_json: {} Current got : datou_id : 4302, datou_cur_ids : ['3460707'] with mtr_portfolio_ids : ['25503854'] and first list_photo_ids : [] new path : /proc/1237454/ Name: python3 Umask: 0002 State: R (running) Tgid: 1237454 Ngid: 0 Pid: 1237454 PPid: 1237453 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1237454 NSpid: 1237454 NSpgid: 1236166 NSsid: 1236166 VmPeak: 1106960 kB VmSize: 1106960 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99332 kB VmRSS: 99332 kB RssAnon: 59816 kB RssFile: 39516 kB RssShmem: 0 kB VmData: 865712 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 52 nonvoluntary_ctxt_switches: 38 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1237454', 'Ngid': '0', 'Pid': '1237454', 'PPid': '1237453', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1237454', 'NSpid': '1237454', 'NSpgid': '1236166', 'NSsid': '1236166', 'VmPeak': '1106960 kB', 'VmSize': '1106960 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99332 kB', 'VmRSS': '99332 kB', 'RssAnon': '59816 kB', 'RssFile': '39516 kB', 'RssShmem': '0 kB', 'VmData': '865712 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '52', 'nonvoluntary_ctxt_switches': '38'} ('datou_batch_current', '1237454', '1106960', '0', '1106960', '865712', '99332', b'', 'marlene', '3460707') 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 ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (25503854) 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 (3460707 ) ) 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 (25503854) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1374454171, 'portfolio_id': 25503854}, {'photo_id': 1374454148, 'portfolio_id': 25503854}, {'photo_id': 1374454144, 'portfolio_id': 25503854}, {'photo_id': 1374454140, 'portfolio_id': 25503854}, {'photo_id': 1374454139, 'portfolio_id': 25503854}, {'photo_id': 1374454137, 'portfolio_id': 25503854}, {'photo_id': 1374454134, 'portfolio_id': 25503854}, {'photo_id': 1374454112, 'portfolio_id': 25503854}, {'photo_id': 1374454094, 'portfolio_id': 25503854}, {'photo_id': 1374454090, 'portfolio_id': 25503854}, {'photo_id': 1374454088, 'portfolio_id': 25503854}, {'photo_id': 1374454086, 'portfolio_id': 25503854}, {'photo_id': 1374454084, 'portfolio_id': 25503854}, {'photo_id': 1374454082, 'portfolio_id': 25503854}, {'photo_id': 1374454068, 'portfolio_id': 25503854}, {'photo_id': 1374454064, 'portfolio_id': 25503854}, {'photo_id': 1374454061, 'portfolio_id': 25503854}, {'photo_id': 1374454059, 'portfolio_id': 25503854}, {'photo_id': 1374454057, 'portfolio_id': 25503854}, {'photo_id': 1374454055, 'portfolio_id': 25503854}, {'photo_id': 1374454040, 'portfolio_id': 25503854}, {'photo_id': 1374454038, 'portfolio_id': 25503854}, {'photo_id': 1374454036, 'portfolio_id': 25503854}, {'photo_id': 1374454035, 'portfolio_id': 25503854}, {'photo_id': 1374454034, 'portfolio_id': 25503854}, {'photo_id': 1374454032, 'portfolio_id': 25503854}] map_portfolio_id_photo_id: {25503854: [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032]} ##### 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.02253580093383789 #### 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 Wed Aug 6 14:37:00 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 (25503854) 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 : 25503854 get user id for portfolio 25503854 get sub ptf for main ptf 25503854, type 3726 and hashtags ['kraft', 'mal_croppe', 'autre_refus', 'flou', 'metal', 'plastique', 'environnement', 'Teint_Dans_La_Masse', 'papier', 'Carton_brun', 'Carton_gris', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503854 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','metal','plastique','environnement','Teint_Dans_La_Masse','papier','Carton_brun','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503854 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','metal','plastique','environnement','Teint_Dans_La_Masse','papier','Carton_brun','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 25503854, 'sub_port_id': 25503859, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199320, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 25503854, 'sub_port_id': 25503860, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199321, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'mal_croppe': {'main_port_id': 25503854, 'sub_port_id': 25503861, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199322, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'papier': {'main_port_id': 25503854, 'sub_port_id': 25503862, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199323, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'cartonnette': {'main_port_id': 25503854, 'sub_port_id': 25503863, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199324, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'Carton_brun': {'main_port_id': 25503854, 'sub_port_id': 25503864, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199325, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'Carton_gris': {'main_port_id': 25503854, 'sub_port_id': 25503865, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199326, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'autre_refus': {'main_port_id': 25503854, 'sub_port_id': 25503866, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199327, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'environnement': {'main_port_id': 25503854, 'sub_port_id': 25503867, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199328, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'kraft': {'main_port_id': 25503854, 'sub_port_id': 25503868, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199329, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'plastique': {'main_port_id': 25503854, 'sub_port_id': 25503869, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199330, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}, 'metal': {'main_port_id': 25503854, 'sub_port_id': 25503870, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199331, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503859 , 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=25503854 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 (25503859) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503860 , 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=25503854 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 (25503860) result : ((1375263124,), (1375263125,), (1375263126,), (1375263127,), (1375263128,), (1375263129,), (1375263130,), (1375263131,), (1375263132,), (1375263133,), (1375307309,), (1375307310,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503861 , 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=25503854 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 (25503861) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503862 , 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=25503854 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 (25503862) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503863 , 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=25503854 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 (25503863) result : ((1375263145,), (1375263146,), (1375263147,), (1375263148,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503864 , 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=25503854 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 (25503864) result : ((1375263149,), (1375263150,), (1375307313,), (1375307314,), (1375307315,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503865 , 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=25503854 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 (25503865) result : ((1375263138,), (1375263139,), (1375263140,), (1375263141,), (1375263142,), (1375263143,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503866 , 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=25503854 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 (25503866) result : ((1375263134,), (1375263135,), (1375263136,), (1375263137,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503867 , 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=25503854 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 (25503867) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503868 , 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=25503854 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 (25503868) result : ((1375263161,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503869 , 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=25503854 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 (25503869) result : ((1375263155,), (1375263156,), (1375263157,), (1375263158,), (1375263159,), (1375263160,), (1375307318,), (1375307319,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 25503870 , 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=25503854 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 (25503870) result : ((1375263163,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (25503854) result : ((1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503854 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','metal','plastique','environnement','Teint_Dans_La_Masse','papier','Carton_brun','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503854 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','mal_croppe','autre_refus','flou','metal','plastique','environnement','Teint_Dans_La_Masse','papier','Carton_brun','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 25503854, 'sub_port_id': 25503871, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199332, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 25503854, 'sub_port_id': 25503872, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199333, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'mal_croppe': {'main_port_id': 25503854, 'sub_port_id': 25503873, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199334, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'papier': {'main_port_id': 25503854, 'sub_port_id': 25503874, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199335, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'cartonnette': {'main_port_id': 25503854, 'sub_port_id': 25503875, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199336, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'Carton_brun': {'main_port_id': 25503854, 'sub_port_id': 25503876, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199337, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'Carton_gris': {'main_port_id': 25503854, 'sub_port_id': 25503877, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199338, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'autre_refus': {'main_port_id': 25503854, 'sub_port_id': 25503878, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199339, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'environnement': {'main_port_id': 25503854, 'sub_port_id': 25503879, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199340, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'kraft': {'main_port_id': 25503854, 'sub_port_id': 25503880, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199341, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'plastique': {'main_port_id': 25503854, 'sub_port_id': 25503881, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199342, 'last_updated_at': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_desc': datetime.datetime(2025, 7, 30, 19, 0, 32), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}, 'metal': {'main_port_id': 25503854, 'sub_port_id': 25503882, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17199343, 'last_updated_at': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 5, 13, 41, 30), 'last_updated_at_asc': datetime.datetime(2025, 7, 30, 19, 0, 32)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503871,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503859 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503872,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503860 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503873,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503861 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503874,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503862 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503875,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503863 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503876,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503864 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503877,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503865 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503878,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503866 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503879,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503867 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503880,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503868 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503881,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503869 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 25503882,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 25503870 lien utilise dans velours : https://www.fotonower.com/velours/25503871,25503872,25503873,25503874,25503875,25503876,25503877,25503878,25503879,25503880,25503881,25503882?tags=flou,Teint_Dans_La_Masse,mal_croppe,papier,cartonnette,Carton_brun,Carton_gris,autre_refus,environnement,kraft,plastique,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25503854]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] map_info['map_portfolio_photo'] : {25503854: [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032]} final : False mtd_id 4302 list_pids : [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] Looping around the photos to save general results len do output : 1 /25503854. 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, '3460707') ('4302', '25503854', '1374454171', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454148', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454144', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454140', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454139', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454137', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454134', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454112', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454094', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454090', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454088', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454086', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454084', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454082', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454068', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454064', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454061', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454059', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454057', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454055', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454040', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454038', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454036', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454035', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454034', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454032', None, None, None, None, None, '3460707') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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, '25503854', "{'flou': 25503859, 'Teint_Dans_La_Masse': 25503860, 'mal_croppe': 25503861, 'papier': 25503862, 'cartonnette': 25503863, 'Carton_brun': 25503864, 'Carton_gris': 25503865, 'autre_refus': 25503866, 'environnement': 25503867, 'kraft': 25503868, 'plastique': 25503869, 'metal': 25503870}", None, None, None, None, '3460707'), ('4302', '25503854', '1374454171', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454148', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454144', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454140', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454139', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454137', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454134', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454112', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454094', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454090', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454088', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454086', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454084', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454082', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454068', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454064', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454061', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454059', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454057', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454055', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454040', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454038', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454036', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454035', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454034', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454032', None, None, None, None, None, '3460707')] time used for this insertion : 0.020213842391967773 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.449777364730835 time spend to save output : 0.020667314529418945 total time spend for step 1 : 1.470444679260254 step2:final Wed Aug 6 14:37:01 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 (25503854) 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 25503854 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1374454040,1374454038,1374454036,1374454035,1374454034,1374454032,1374454068,1374454064,1374454061,1374454059,1374454057,1374454055,1374454094,1374454090,1374454088,1374454086,1374454084,1374454082,1374454112,1374454148,1374454144,1374454140,1374454139,1374454137,1374454134,1374454171); 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([25503854]) Inside saveOutput : final : False verbose : True original output for save of step final : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} new output for save of step final : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] map_info['map_portfolio_photo'] : {25503854: [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032]} final : False mtd_id 4302 list_pids : [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] Looping around the photos to save general results len do output : 26 /1374454171.Didn't retrieve data . /1374454148.Didn't retrieve data . /1374454144.Didn't retrieve data . /1374454140.Didn't retrieve data . /1374454139.Didn't retrieve data . /1374454137.Didn't retrieve data . /1374454134.Didn't retrieve data . /1374454112.Didn't retrieve data . /1374454094.Didn't retrieve data . /1374454090.Didn't retrieve data . /1374454088.Didn't retrieve data . /1374454086.Didn't retrieve data . /1374454084.Didn't retrieve data . /1374454082.Didn't retrieve data . /1374454068.Didn't retrieve data . /1374454064.Didn't retrieve data . /1374454061.Didn't retrieve data . /1374454059.Didn't retrieve data . /1374454057.Didn't retrieve data . /1374454055.Didn't retrieve data . /1374454040.Didn't retrieve data . /1374454038.Didn't retrieve data . /1374454036.Didn't retrieve data . /1374454035.Didn't retrieve data . /1374454034.Didn't retrieve data . /1374454032.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, '3460707') ('4302', '25503854', '1374454171', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454148', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454144', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454140', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454139', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454137', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454134', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454112', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454094', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454090', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454088', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454086', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454084', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454082', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454068', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454064', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454061', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454059', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454057', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454055', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454040', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454038', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454036', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454035', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454034', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454032', None, None, None, None, None, '3460707') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 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', '25503854', '1374454171', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454148', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454144', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454140', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454139', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454137', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454134', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454112', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454094', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454090', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454088', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454086', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454084', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454082', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454068', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454064', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454061', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454059', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454057', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454055', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454040', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454038', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454036', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454035', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454034', '0.03533223881049471', None, None, None, None, '3460707'), ('4302', '25503854', '1374454032', '0.03533223881049471', None, None, None, None, '3460707')] time used for this insertion : 0.01831817626953125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07344627380371094 time spend to save output : 0.01929306983947754 total time spend for step 2 : 0.09273934364318848 step3:velours_tree Wed Aug 6 14:37:01 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 : {25503854: [{'flou': 25503859, 'Teint_Dans_La_Masse': 25503860, 'mal_croppe': 25503861, 'papier': 25503862, 'cartonnette': 25503863, 'Carton_brun': 25503864, 'Carton_gris': 25503865, 'autre_refus': 25503866, 'environnement': 25503867, 'kraft': 25503868, 'plastique': 25503869, 'metal': 25503870}]} input_args_next_step : {25503854: ()} output_args : {25503854: [{'flou': 25503859, 'Teint_Dans_La_Masse': 25503860, 'mal_croppe': 25503861, 'papier': 25503862, 'cartonnette': 25503863, 'Carton_brun': 25503864, 'Carton_gris': 25503865, 'autre_refus': 25503866, 'environnement': 25503867, 'kraft': 25503868, 'plastique': 25503869, 'metal': 25503870}]} args : 25503854 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 : ({'flou': 25503859, 'Teint_Dans_La_Masse': 25503860, 'mal_croppe': 25503861, 'papier': 25503862, 'cartonnette': 25503863, 'Carton_brun': 25503864, 'Carton_gris': 25503865, 'autre_refus': 25503866, 'environnement': 25503867, 'kraft': 25503868, 'plastique': 25503869, 'metal': 25503870},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25503854) 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([25503854]) 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.3084256649017334 time spend to save output : 4.7206878662109375e-05 total time spend for step 3 : 0.3084728717803955 step4:send_mail_cod Wed Aug 6 14:37:01 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 : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} input_args_next_step : {1374454171: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454171 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454148 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454144 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454140 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454139 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454137 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454134 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454112 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454094 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454090 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454088 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454086 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454084 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454082 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454068 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454064 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454061 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454059 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454057 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454055 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454040 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454038 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454036 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454035 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454034 depend.output_id : 0 input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ()} output_args : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',)} args : 1374454032 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 : {25503854: [{'flou': 25503859, 'Teint_Dans_La_Masse': 25503860, 'mal_croppe': 25503861, 'papier': 25503862, 'cartonnette': 25503863, 'Carton_brun': 25503864, 'Carton_gris': 25503865, 'autre_refus': 25503866, 'environnement': 25503867, 'kraft': 25503868, 'plastique': 25503869, 'metal': 25503870}]} input_args_next_step : {1374454171: ('0.03533223881049471',), 1374454148: ('0.03533223881049471',), 1374454144: ('0.03533223881049471',), 1374454140: ('0.03533223881049471',), 1374454139: ('0.03533223881049471',), 1374454137: ('0.03533223881049471',), 1374454134: ('0.03533223881049471',), 1374454112: ('0.03533223881049471',), 1374454094: ('0.03533223881049471',), 1374454090: ('0.03533223881049471',), 1374454088: ('0.03533223881049471',), 1374454086: ('0.03533223881049471',), 1374454084: ('0.03533223881049471',), 1374454082: ('0.03533223881049471',), 1374454068: ('0.03533223881049471',), 1374454064: ('0.03533223881049471',), 1374454061: ('0.03533223881049471',), 1374454059: ('0.03533223881049471',), 1374454057: ('0.03533223881049471',), 1374454055: ('0.03533223881049471',), 1374454040: ('0.03533223881049471',), 1374454038: ('0.03533223881049471',), 1374454036: ('0.03533223881049471',), 1374454035: ('0.03533223881049471',), 1374454034: ('0.03533223881049471',), 1374454032: ('0.03533223881049471',), 25503854: ()} output_args : {25503854: [{'flou': 25503859, 'Teint_Dans_La_Masse': 25503860, 'mal_croppe': 25503861, 'papier': 25503862, 'cartonnette': 25503863, 'Carton_brun': 25503864, 'Carton_gris': 25503865, 'autre_refus': 25503866, 'environnement': 25503867, 'kraft': 25503868, 'plastique': 25503869, 'metal': 25503870}]} args : 25503854 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 :27, first value : ('0.03533223881049471',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25503854) 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 ph WHERE photo_id IN (1374454171,1374454148,1374454144,1374454140,1374454139,1374454137,1374454134,1374454112,1374454094,1374454090,1374454088,1374454086,1374454084,1374454082,1374454068,1374454064,1374454061,1374454059,1374454057,1374454055,1374454040,1374454038,1374454036,1374454035,1374454034,1374454032) Found this number of photos: 26 ##### Call download_photos : nb_thread : 5 begin to download photo : 1374454032 begin to download photo : 1374454055 begin to download photo : 1374454082 begin to download photo : 1374454112 begin to download photo : 1374454148 download finish for photo 1374454032 begin to download photo : 1374454034 download finish for photo 1374454112 begin to download photo : 1374454134 download finish for photo 1374454082 begin to download photo : 1374454084 download finish for photo 1374454055 begin to download photo : 1374454057 download finish for photo 1374454148 begin to download photo : 1374454171 download finish for photo 1374454134 begin to download photo : 1374454137 download finish for photo 1374454034 begin to download photo : 1374454035 download finish for photo 1374454057 begin to download photo : 1374454059 download finish for photo 1374454084 begin to download photo : 1374454086 download finish for photo 1374454171 download finish for photo 1374454137 begin to download photo : 1374454139 download finish for photo 1374454035 begin to download photo : 1374454036 download finish for photo 1374454059 begin to download photo : 1374454061 download finish for photo 1374454086 begin to download photo : 1374454088 download finish for photo 1374454139 begin to download photo : 1374454140 download finish for photo 1374454036 begin to download photo : 1374454038 download finish for photo 1374454061 begin to download photo : 1374454064 download finish for photo 1374454088 begin to download photo : 1374454090 download finish for photo 1374454064 begin to download photo : 1374454068 download finish for photo 1374454140 begin to download photo : 1374454144 download finish for photo 1374454038 begin to download photo : 1374454040 download finish for photo 1374454068 download finish for photo 1374454090 begin to download photo : 1374454094 download finish for photo 1374454040 download finish for photo 1374454144 download finish for photo 1374454094 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette255038591754483822/ imagette255038611754483822/ length of list_filenames : 26 ; length of list_pids : 26 ; length of list_args : 26 results_Auto_P25503854_06-08-2025_14_37_02.pdf 25503859 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503859 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255038591754483822 25503861 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503861 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette255038611754483822 25503863 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503863 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263145: '1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453016_0.png', 1375263146: '1754383887_3447808_1374454134_d496c0028c3994d4bab57f4a0ce4c6db_rle_crop_3903453106_0.png', 1375263147: '1754383887_3447808_1374454084_603d419b66e00fa25b913d0c9db87509_rle_crop_3903453178_0.png', 1375263148: '1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454138_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/277f3fcc2667cc67e6839eea9a5e0d3c_14523656.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/f0d595a3f87fc99aa5357559f472928c_90276327.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/edff24259c53567802f8e15d10080c7d_22057996.png change filename to text .imagette255038631754483822/ imagette255038631754483822/1754383887_3447808_1374454084_603d419b66e00fa25b913d0c9db87509_rle_crop_3903453178_0.png.png imagette255038631754483822/1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453016_0.png.png imagette255038631754483822/1754383887_3447808_1374454134_d496c0028c3994d4bab57f4a0ce4c6db_rle_crop_3903453106_0.png.png imagette255038631754483822/1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454138_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/02db4209b92f30cb685f0c54e5ded155_99045479.png imagette255038631754483822 25503866 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503866 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263134: '1754383887_3447808_1374454090_bee2a2cba2d244c8f369abaf03b437e1_rle_crop_3903453148_0.png', 1375263135: '1754383887_3447808_1374454082_5347a0ead026b640a8a4d16e5895ca55_rle_crop_3903453196_0.png', 1375263136: '1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454145_0.png', 1375263137: '1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454148_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/278197a05300d4cf7468582d43969b54_16003659.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/ebc38d4f12e07bb2e8618718d0b81185_13428.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/d255c0bba74df37d25c963ff287fe8bd_39759586.png change filename to text .imagette255038661754483823/ imagette255038661754483823/1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454145_0.png.png imagette255038661754483823/1754383887_3447808_1374454090_bee2a2cba2d244c8f369abaf03b437e1_rle_crop_3903453148_0.png.png imagette255038661754483823/1754383887_3447808_1374454082_5347a0ead026b640a8a4d16e5895ca55_rle_crop_3903453196_0.png.png imagette255038661754483823/1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454148_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/d04e35d2ea4409012ffa66acf594eecd_61167001.png imagette255038661754483823 25503868 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503868 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263161: '1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453012_0.png'} change filename to text .imagette255038681754483823/ imagette255038681754483823/1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453012_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/62636bda6c25ca867e08f7f2c34f0041_4808565.png imagette255038681754483823 25503869 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503869 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263155: '1754383887_3447808_1374454171_85a04a5ef217b3fbadecb5a78ef3ef19_rle_crop_3903452979_0.png', 1375263156: '1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452995_0.png', 1375263157: '1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452993_0.png', 1375263158: '1754383887_3447808_1374454112_d25c32967bd6ff2fb841918a85ff7792_rle_crop_3903453120_0.png', 1375263159: '1754383887_3447808_1374454088_04b8ab28d3f12a18e30cacaa19398a74_rle_crop_3903453158_0.png', 1375263160: '1754383887_3447808_1374454086_fbac23074272b372640145654ad76de6_rle_crop_3903453170_0.png', 1375307318: '1754394037_2589885_1374454036_61c59b165e6c1ab1225459bf8d9fcdc6_rle_crop_3903682832_0.png', 1375307319: '1754394037_2589885_1374454035_dae5228504b6140ee06d690bf77561d0_rle_crop_3903682843_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/a1d0d08cac1926705ca803941198928e_45530252.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/a74a298146ba0f82cc5c49481a4ce851_20629502.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/2db14727e3afadcce79f62adf0221f15_38534772.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/dd73bc2dcb8247f7504a1f11b12bae1f_61816646.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/891241e2c682d5666efab15f88903feb_50956077.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/467a0ced2b08980892c88d3b55fdca00_20446058.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/a64171642958dff015af1ba69ec0e78e_15160113.png change filename to text .imagette255038691754483823/ imagette255038691754483823/1754383887_3447808_1374454086_fbac23074272b372640145654ad76de6_rle_crop_3903453170_0.png.png imagette255038691754483823/1754383887_3447808_1374454112_d25c32967bd6ff2fb841918a85ff7792_rle_crop_3903453120_0.png.png imagette255038691754483823/1754383887_3447808_1374454171_85a04a5ef217b3fbadecb5a78ef3ef19_rle_crop_3903452979_0.png.png imagette255038691754483823/1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452993_0.png.png imagette255038691754483823/1754394037_2589885_1374454035_dae5228504b6140ee06d690bf77561d0_rle_crop_3903682843_0.png.png imagette255038691754483823/1754394037_2589885_1374454036_61c59b165e6c1ab1225459bf8d9fcdc6_rle_crop_3903682832_0.png.png imagette255038691754483823/1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452995_0.png.png imagette255038691754483823/1754383887_3447808_1374454088_04b8ab28d3f12a18e30cacaa19398a74_rle_crop_3903453158_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/5dc17a92c7c2f5941cc13e17039def4b_44473939.png imagette255038691754483823 25503870 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503870 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263163: '1754383887_3447808_1374454084_603d419b66e00fa25b913d0c9db87509_rle_crop_3903453182_0.png'} change filename to text .imagette255038701754483824/ imagette255038701754483824/1754383887_3447808_1374454084_603d419b66e00fa25b913d0c9db87509_rle_crop_3903453182_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/62864c45179daf58802582b56f85b24a_37768531.png imagette255038701754483824 25503860 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503860 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263124: '1754383887_3447808_1374454144_7f5aa5268e3c1029f8de22c00ded93cd_rle_crop_3903453007_0.png', 1375263125: '1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453021_0.png', 1375263126: '1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453020_0.png', 1375263127: '1754383887_3447808_1374454139_b9419bc5f1b5f9b33b6a88d682c6ea93_rle_crop_3903453085_0.png', 1375263128: '1754383887_3447808_1374454137_becb96536c8ba8a6cc3eaa4ba4c8d1f0_rle_crop_3903453098_0.png', 1375263129: '1754383887_3447808_1374454134_d496c0028c3994d4bab57f4a0ce4c6db_rle_crop_3903453108_0.png', 1375263130: '1754383887_3447808_1374454090_bee2a2cba2d244c8f369abaf03b437e1_rle_crop_3903453146_0.png', 1375263131: '1754383887_3447808_1374454090_bee2a2cba2d244c8f369abaf03b437e1_rle_crop_3903453144_0.png', 1375263132: '1754383887_3447808_1374454088_04b8ab28d3f12a18e30cacaa19398a74_rle_crop_3903453161_0.png', 1375263133: '1754383887_3447808_1374454068_7e5d1185726bb132db8fd836f2183ebb_rle_crop_3903453210_0.png', 1375307309: '1754394037_2589885_1374454034_17ce000ac73d75c135e03fd916b6d66e_rle_crop_3903682854_0.png', 1375307310: '1754394037_2589885_1374454034_17ce000ac73d75c135e03fd916b6d66e_rle_crop_3903682853_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/36841048a293257abf747b974e696ba7_26071691.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/55a4dff78998a5e00fc0a3840205f183_8936395.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/badf0d9b3e715a4b712035526ce45f56_13888608.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/ae8be2bff731f354e6e2ae6ac4f29cb6_33120547.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/95bd0bbd0f4434f088a082f7ef6b9686_905005.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/05c60f5899515ca2332700aa06c6d8e9_91386156.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/df26c69357c83d71a4395363d19d4e64_82873241.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/1115271a7675d47b9bc2496038387733_29176591.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/07985e16267b0a19ef991b9e49e24652_67984233.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/f5a3303dcadd6f241cc37f7525cdbbcc_84356608.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/adfefc793ba26ccc089e54eb5cc67cbc_45904658.png change filename to text .imagette255038601754483824/ imagette255038601754483824/1754383887_3447808_1374454137_becb96536c8ba8a6cc3eaa4ba4c8d1f0_rle_crop_3903453098_0.png.png imagette255038601754483824/1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453020_0.png.png imagette255038601754483824/1754383887_3447808_1374454088_04b8ab28d3f12a18e30cacaa19398a74_rle_crop_3903453161_0.png.png imagette255038601754483824/1754383887_3447808_1374454140_cb472fa12c12f1eafbc2c911d64f1412_rle_crop_3903453021_0.png.png imagette255038601754483824/1754383887_3447808_1374454139_b9419bc5f1b5f9b33b6a88d682c6ea93_rle_crop_3903453085_0.png.png imagette255038601754483824/1754383887_3447808_1374454068_7e5d1185726bb132db8fd836f2183ebb_rle_crop_3903453210_0.png.png imagette255038601754483824/1754383887_3447808_1374454090_bee2a2cba2d244c8f369abaf03b437e1_rle_crop_3903453144_0.png.png imagette255038601754483824/1754394037_2589885_1374454034_17ce000ac73d75c135e03fd916b6d66e_rle_crop_3903682853_0.png.png imagette255038601754483824/1754383887_3447808_1374454090_bee2a2cba2d244c8f369abaf03b437e1_rle_crop_3903453146_0.png.png imagette255038601754483824/1754383887_3447808_1374454144_7f5aa5268e3c1029f8de22c00ded93cd_rle_crop_3903453007_0.png.png imagette255038601754483824/1754383887_3447808_1374454134_d496c0028c3994d4bab57f4a0ce4c6db_rle_crop_3903453108_0.png.png imagette255038601754483824/1754394037_2589885_1374454034_17ce000ac73d75c135e03fd916b6d66e_rle_crop_3903682854_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/94302230eb795a713bc29618a00cc817_44084549.png imagette255038601754483824 25503864 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503864 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263149: '1754383887_3447808_1374454171_85a04a5ef217b3fbadecb5a78ef3ef19_rle_crop_3903452978_0.png', 1375263150: '1754383887_3447808_1374454134_d496c0028c3994d4bab57f4a0ce4c6db_rle_crop_3903453109_0.png', 1375307313: '1754394037_2589885_1374454040_b8548aff0343da709131ee77b2bc66e0_rle_crop_3903682811_0.png', 1375307314: '1754394037_2589885_1374454038_5487e086b0353d6a3f014a33ee4dc979_rle_crop_3903682823_0.png', 1375307315: '1754394037_2589885_1374454035_dae5228504b6140ee06d690bf77561d0_rle_crop_3903682841_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/704f757bc078237d714ddc2200789365_86595583.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/5f5d4d11caaa264702849286d31181c8_47649187.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/181100c75004b441bd0dedddb9915dc4_60880463.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/069e054aa8d82fc72f75c80d09cf00da_14472974.png change filename to text .imagette255038641754483826/ imagette255038641754483826/1754394037_2589885_1374454040_b8548aff0343da709131ee77b2bc66e0_rle_crop_3903682811_0.png.png imagette255038641754483826/1754383887_3447808_1374454171_85a04a5ef217b3fbadecb5a78ef3ef19_rle_crop_3903452978_0.png.png imagette255038641754483826/1754394037_2589885_1374454035_dae5228504b6140ee06d690bf77561d0_rle_crop_3903682841_0.png.png imagette255038641754483826/1754394037_2589885_1374454038_5487e086b0353d6a3f014a33ee4dc979_rle_crop_3903682823_0.png.png imagette255038641754483826/1754383887_3447808_1374454134_d496c0028c3994d4bab57f4a0ce4c6db_rle_crop_3903453109_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/085a8f993db73927e324096456c12ab3_66493675.png imagette255038641754483826 25503865 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503865 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1375263138: '1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452987_0.png', 1375263139: '1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452999_0.png', 1375263140: '1754383887_3447808_1374454144_7f5aa5268e3c1029f8de22c00ded93cd_rle_crop_3903453003_0.png', 1375263141: '1754383887_3447808_1374454139_b9419bc5f1b5f9b33b6a88d682c6ea93_rle_crop_3903453084_0.png', 1375263142: '1754383887_3447808_1374454082_5347a0ead026b640a8a4d16e5895ca55_rle_crop_3903453193_0.png', 1375263143: '1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454146_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/3ea909cc1d25fdebba12a2999a43446a_40322752.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/05fd8fcfe699365664f9c964e071600d_41322943.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/761f029373c32980fe33c4888fe2466d_8875479.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/0d25f55e40bec085b65e734900a1b9ab_64164643.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/c1e64fbf6dcfe4261344d742eaa8e2fd_94082971.png change filename to text .imagette255038651754483826/ imagette255038651754483826/1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452999_0.png.png imagette255038651754483826/1754383887_3447808_1374454148_1f276f3661ccd1fcc6efb114f487573a_rle_crop_3903452987_0.png.png imagette255038651754483826/1754383887_3447808_1374454082_5347a0ead026b640a8a4d16e5895ca55_rle_crop_3903453193_0.png.png imagette255038651754483826/1754383887_3447808_1374454144_7f5aa5268e3c1029f8de22c00ded93cd_rle_crop_3903453003_0.png.png imagette255038651754483826/1754383887_3447808_1374454139_b9419bc5f1b5f9b33b6a88d682c6ea93_rle_crop_3903453084_0.png.png imagette255038651754483826/1754383887_3447808_1374454055_fdee59de3d34976592f1796a82dcf29a_rle_crop_3903454146_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/5/3e765181e1d1fd8cc95b4ae1f4e1d25f_88623676.png imagette255038651754483826 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25503854 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25503871,25503872,25503873,25503874,25503875,25503876,25503877,25503878,25503879,25503880,25503881,25503882?tags=flou,Teint_Dans_La_Masse,mal_croppe,papier,cartonnette,Carton_brun,Carton_gris,autre_refus,environnement,kraft,plastique,metal your option no_mail is active, we will not send the real mail to your client args[1374454171] : ('0.03533223881049471',) no score found for photo 1374454171 We are sending mail with results at report@fotonower.com args[1374454148] : ('0.03533223881049471',) no score found for photo 1374454148 We are sending mail with results at report@fotonower.com args[1374454144] : ('0.03533223881049471',) no score found for photo 1374454144 We are sending mail with results at report@fotonower.com args[1374454140] : ('0.03533223881049471',) no score found for photo 1374454140 We are sending mail with results at report@fotonower.com args[1374454139] : ('0.03533223881049471',) no score found for photo 1374454139 We are sending mail with results at report@fotonower.com args[1374454137] : ('0.03533223881049471',) no score found for photo 1374454137 We are sending mail with results at report@fotonower.com args[1374454134] : ('0.03533223881049471',) no score found for photo 1374454134 We are sending mail with results at report@fotonower.com args[1374454112] : ('0.03533223881049471',) no score found for photo 1374454112 We are sending mail with results at report@fotonower.com args[1374454094] : ('0.03533223881049471',) no score found for photo 1374454094 We are sending mail with results at report@fotonower.com args[1374454090] : ('0.03533223881049471',) no score found for photo 1374454090 We are sending mail with results at report@fotonower.com args[1374454088] : ('0.03533223881049471',) no score found for photo 1374454088 We are sending mail with results at report@fotonower.com args[1374454086] : ('0.03533223881049471',) no score found for photo 1374454086 We are sending mail with results at report@fotonower.com args[1374454084] : ('0.03533223881049471',) no score found for photo 1374454084 We are sending mail with results at report@fotonower.com args[1374454082] : ('0.03533223881049471',) no score found for photo 1374454082 We are sending mail with results at report@fotonower.com args[1374454068] : ('0.03533223881049471',) no score found for photo 1374454068 We are sending mail with results at report@fotonower.com args[1374454064] : ('0.03533223881049471',) no score found for photo 1374454064 We are sending mail with results at report@fotonower.com args[1374454061] : ('0.03533223881049471',) no score found for photo 1374454061 We are sending mail with results at report@fotonower.com args[1374454059] : ('0.03533223881049471',) no score found for photo 1374454059 We are sending mail with results at report@fotonower.com args[1374454057] : ('0.03533223881049471',) no score found for photo 1374454057 We are sending mail with results at report@fotonower.com args[1374454055] : ('0.03533223881049471',) no score found for photo 1374454055 We are sending mail with results at report@fotonower.com args[1374454040] : ('0.03533223881049471',) no score found for photo 1374454040 We are sending mail with results at report@fotonower.com args[1374454038] : ('0.03533223881049471',) no score found for photo 1374454038 We are sending mail with results at report@fotonower.com args[1374454036] : ('0.03533223881049471',) no score found for photo 1374454036 We are sending mail with results at report@fotonower.com args[1374454035] : ('0.03533223881049471',) no score found for photo 1374454035 We are sending mail with results at report@fotonower.com args[1374454034] : ('0.03533223881049471',) no score found for photo 1374454034 We are sending mail with results at report@fotonower.com args[1374454032] : ('0.03533223881049471',) no score found for photo 1374454032 We are sending mail with results at report@fotonower.com refus_total : 0.03533223881049471 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503854 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_P25503854_06-08-2025_14_37_02.pdf results_Auto_P25503854_06-08-2025_14_37_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503854_06-08-2025_14_37_02.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','25503854','results_Auto_P25503854_06-08-2025_14_37_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503854_06-08-2025_14_37_02.pdf','pdf','','0.31','0.03533223881049471') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25503854]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] map_info['map_portfolio_photo'] : {25503854: [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032]} final : False mtd_id 4302 list_pids : [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] 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, '3460707') ('4302', '25503854', '1374454171', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454148', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454144', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454140', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454139', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454137', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454134', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454112', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454094', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454090', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454088', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454086', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454084', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454082', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454068', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454064', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454061', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454059', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454057', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454055', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454040', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454038', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454036', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454035', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454034', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454032', None, None, None, None, None, '3460707') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 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', '25503854', '1374454171', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454148', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454144', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454140', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454139', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454137', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454134', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454112', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454094', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454090', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454088', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454086', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454084', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454082', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454068', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454064', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454061', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454059', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454057', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454055', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454040', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454038', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454036', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454035', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454034', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454032', None, None, None, None, None, '3460707')] time used for this insertion : 0.014513254165649414 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.0258259773254395 time spend to save output : 0.014961481094360352 total time spend for step 4 : 7.0407874584198 step5:split_time_score Wed Aug 6 14:37:08 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 : ['25503854'] 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 : [('25503854',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (25503854) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1374454148: {'path': 'temp/1754483821_1237454_1374454148_1f276f3661ccd1fcc6efb114f487573a.jpg', 'extension': 'jpg'}, 1374454171: {'path': 'temp/1754483821_1237454_1374454171_85a04a5ef217b3fbadecb5a78ef3ef19.jpg', 'extension': 'jpg'}, 1374454055: {'path': 'temp/1754483821_1237454_1374454055_fdee59de3d34976592f1796a82dcf29a.jpg', 'extension': 'jpg'}, 1374454057: {'path': 'temp/1754483821_1237454_1374454057_da3171af5052ee3eec35ab598dd799d3.jpg', 'extension': 'jpg'}, 1374454059: {'path': 'temp/1754483821_1237454_1374454059_b2437763dfdaf740df6e307e227a2172.jpg', 'extension': 'jpg'}, 1374454061: {'path': 'temp/1754483821_1237454_1374454061_ff898a8a32ef8fedada089706391f1ec.jpg', 'extension': 'jpg'}, 1374454064: {'path': 'temp/1754483821_1237454_1374454064_5f923ba8cb0767b0cf7622e78ede883c.jpg', 'extension': 'jpg'}, 1374454068: {'path': 'temp/1754483821_1237454_1374454068_7e5d1185726bb132db8fd836f2183ebb.jpg', 'extension': 'jpg'}, 1374454032: {'path': 'temp/1754483821_1237454_1374454032_67b0f8b760f8babf065bca307dfa6657.jpg', 'extension': 'jpg'}, 1374454034: {'path': 'temp/1754483821_1237454_1374454034_17ce000ac73d75c135e03fd916b6d66e.jpg', 'extension': 'jpg'}, 1374454035: {'path': 'temp/1754483821_1237454_1374454035_dae5228504b6140ee06d690bf77561d0.jpg', 'extension': 'jpg'}, 1374454036: {'path': 'temp/1754483821_1237454_1374454036_61c59b165e6c1ab1225459bf8d9fcdc6.jpg', 'extension': 'jpg'}, 1374454038: {'path': 'temp/1754483821_1237454_1374454038_5487e086b0353d6a3f014a33ee4dc979.jpg', 'extension': 'jpg'}, 1374454040: {'path': 'temp/1754483821_1237454_1374454040_b8548aff0343da709131ee77b2bc66e0.jpg', 'extension': 'jpg'}, 1374454112: {'path': 'temp/1754483821_1237454_1374454112_d25c32967bd6ff2fb841918a85ff7792.jpg', 'extension': 'jpg'}, 1374454134: {'path': 'temp/1754483821_1237454_1374454134_d496c0028c3994d4bab57f4a0ce4c6db.jpg', 'extension': 'jpg'}, 1374454137: {'path': 'temp/1754483821_1237454_1374454137_becb96536c8ba8a6cc3eaa4ba4c8d1f0.jpg', 'extension': 'jpg'}, 1374454139: {'path': 'temp/1754483821_1237454_1374454139_b9419bc5f1b5f9b33b6a88d682c6ea93.jpg', 'extension': 'jpg'}, 1374454140: {'path': 'temp/1754483821_1237454_1374454140_cb472fa12c12f1eafbc2c911d64f1412.jpg', 'extension': 'jpg'}, 1374454144: {'path': 'temp/1754483821_1237454_1374454144_7f5aa5268e3c1029f8de22c00ded93cd.jpg', 'extension': 'jpg'}, 1374454082: {'path': 'temp/1754483821_1237454_1374454082_5347a0ead026b640a8a4d16e5895ca55.jpg', 'extension': 'jpg'}, 1374454084: {'path': 'temp/1754483821_1237454_1374454084_603d419b66e00fa25b913d0c9db87509.jpg', 'extension': 'jpg'}, 1374454086: {'path': 'temp/1754483821_1237454_1374454086_fbac23074272b372640145654ad76de6.jpg', 'extension': 'jpg'}, 1374454088: {'path': 'temp/1754483821_1237454_1374454088_04b8ab28d3f12a18e30cacaa19398a74.jpg', 'extension': 'jpg'}, 1374454090: {'path': 'temp/1754483821_1237454_1374454090_bee2a2cba2d244c8f369abaf03b437e1.jpg', 'extension': 'jpg'}, 1374454094: {'path': 'temp/1754483821_1237454_1374454094_40e5dcc4595cdc0ec9fc15e307243ec6.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=970 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 = 25503854; (('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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 25503854 group by h (('14', 26),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25503854 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 (25503854) 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 (25503854) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 30072025 25503854 Nombre de photos uploadées : 26 / 23040 (0%) 30072025 25503854 Nombre de photos taguées (types de déchets): 0 / 26 (0%) 30072025 25503854 Nombre de photos taguées (volume) : 0 / 26 (0%) [{'photo_id': 1374454040, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/30/b8548aff0343da709131ee77b2bc66e0.jpg', 'username': None, 'uploaded_at': 1753877762, 'text': 'image_30072025_14_15_04_10150.jpg'}, {'photo_id': 1374454038, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/30/5487e086b0353d6a3f014a33ee4dc979.jpg', 'username': None, 'uploaded_at': 1753877762, 'text': 'image_30072025_14_15_14_10139.jpg'}, {'photo_id': 1374454036, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/30/61c59b165e6c1ab1225459bf8d9fcdc6.jpg', 'username': None, 'uploaded_at': 1753877762, 'text': 'image_30072025_14_15_24_10135.jpg'}, {'photo_id': 1374454035, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/30/dae5228504b6140ee06d690bf77561d0.jpg', 'username': None, 'uploaded_at': 1753877762, 'text': 'image_30072025_14_15_34_10135.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001299142837524414 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 25503854, '2025-07-30' ) 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-07-30' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2027315,970,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21137189865112305 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= 2027315 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25479976, 'dashboard_result_id': 13401976, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25479976_31-07-2025_05_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25479977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25479978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25479979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25479980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25479981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25479982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25479983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25479984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25479985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25479986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25479987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25479988, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25480144, 'dashboard_result_id': 13401977, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480144_31-07-2025_05_35_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480189, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25480540, 'dashboard_result_id': 13401978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480540_31-07-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480563, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25480974, 'dashboard_result_id': 13401979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480974_31-07-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480990, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25481445, 'dashboard_result_id': 13401980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25481445_31-07-2025_05_36_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25481489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25481490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25481491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25481492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25481493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25481494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25481495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25481496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25481497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25481498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25481499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25481500, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25482072, 'dashboard_result_id': 13401981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482072_31-07-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482084, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25482427, 'dashboard_result_id': 13401982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482427_31-07-2025_05_38_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482449, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25482774, 'dashboard_result_id': 13401983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482774_31-07-2025_05_38_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482810, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25483286, 'dashboard_result_id': 13401984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483286_31-07-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25483293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483294, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25483295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483301, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25483646, 'dashboard_result_id': 13401985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483646_31-07-2025_05_40_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25483651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25483661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483663, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25483956, 'dashboard_result_id': 13401986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483956_31-07-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25483957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25483966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483968, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25484328, 'dashboard_result_id': 13401987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484328_31-07-2025_05_41_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25484333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25484334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25484335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25484336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25484337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25484338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25484339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25484340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25484341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25484342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25484343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25484344, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25484572, 'dashboard_result_id': 13401988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484572_31-07-2025_05_42_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25484582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25484583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25484584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25484585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25484586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25484587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25484588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25484589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25484590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25484591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25484592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25484593, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25485118, 'dashboard_result_id': 13401989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485118_31-07-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25485136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485138, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25485550, 'dashboard_result_id': 13401990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485550_31-07-2025_05_43_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25485559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485570, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25485885, 'dashboard_result_id': 13401991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485885_31-07-2025_05_43_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25485894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485905, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25486150, 'dashboard_result_id': 13401992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486150_31-07-2025_05_44_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486180, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25486575, 'dashboard_result_id': 13401993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486575_31-07-2025_05_45_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486595, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25486903, 'dashboard_result_id': 13401994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486903_31-07-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486939, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25487222, 'dashboard_result_id': 13401995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487222_31-07-2025_05_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25487231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25487232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25487233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25487234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25487235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25487236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25487237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25487238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25487239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25487240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25487241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25487242, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25487542, 'dashboard_result_id': 13401996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487542_31-07-2025_05_47_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25487586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25487587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25487588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25487589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25487590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25487591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25487592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25487593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25487594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25487595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25487596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25487597, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25488105, 'dashboard_result_id': 13401997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488105_31-07-2025_05_48_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488120, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25488405, 'dashboard_result_id': 13401998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488405_31-07-2025_05_48_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488429, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25488777, 'dashboard_result_id': 13401999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488777_31-07-2025_05_49_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488792, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25489181, 'dashboard_result_id': 13402000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489181_31-07-2025_05_50_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25489190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489197, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25489527, 'dashboard_result_id': 13402001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489527_31-07-2025_05_51_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25489535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489539, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25489884, 'dashboard_result_id': 13402002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489884_31-07-2025_05_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25489888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489899, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25490190, 'dashboard_result_id': 13402003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490190_31-07-2025_05_52_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25490191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25490192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25490193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25490194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25490195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25490196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25490197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25490198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25490199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25490200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25490201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25490202, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25490549, 'dashboard_result_id': 13402004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490549_31-07-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25490565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25490566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25490567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25490568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25490569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25490570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25490571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25490572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25490573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25490574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25490575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25490576, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25490989, 'dashboard_result_id': 13402005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490989_31-07-2025_05_53_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25491015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491026, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25491261, 'dashboard_result_id': 13402006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491261_31-07-2025_05_54_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491277, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25491582, 'dashboard_result_id': 13402007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491582_31-07-2025_05_55_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491619, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25491851, 'dashboard_result_id': 13402008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491851_31-07-2025_05_55_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491888, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25492444, 'dashboard_result_id': 13402009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492444_31-07-2025_05_56_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25492445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25492446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25492447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25492448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25492449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25492450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25492451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25492452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25492453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25492454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25492455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25492456, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25492753, 'dashboard_result_id': 13402010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492753_31-07-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25492778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25492779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25492780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25492781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25492782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25492783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25492784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25492785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25492786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25492787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25492788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25492789, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25493139, 'dashboard_result_id': 13402011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493139_31-07-2025_05_57_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25493196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25493197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25493198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25493199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25493200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25493201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25493202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25493203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25493204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25493205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25493206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25493207, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25493772, 'dashboard_result_id': 13402012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493772_31-07-2025_05_58_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25493813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25493814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25493815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25493816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25493817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25493818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25493819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25493820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25493821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25493822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25493823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25493824, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25494415, 'dashboard_result_id': 13402013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494415_31-07-2025_05_58_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25494420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25494421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25494422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25494423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25494424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25494425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25494426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25494427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25494428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25494429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25494430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25494431, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25494860, 'dashboard_result_id': 13402014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494860_31-07-2025_05_59_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25494895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25494896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25494897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25494898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25494899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25494900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25494901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25494902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25494903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25494904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25494905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25494906, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25495225, 'dashboard_result_id': 13402015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495225_31-07-2025_06_00_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25495234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25495235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25495236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25495237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25495238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25495239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25495240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25495241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25495242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25495243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25495244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25495245, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25495527, 'dashboard_result_id': 13402016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495527_31-07-2025_06_01_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25495535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25495536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25495537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25495538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25495539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25495540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25495541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25495542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25495543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25495544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25495546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25495547, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25496084, 'dashboard_result_id': 13402017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496084_31-07-2025_06_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25496096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25496097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25496098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25496099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25496100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25496101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25496102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25496103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25496104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25496105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25496106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25496107, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25496492, 'dashboard_result_id': 13402018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496492_31-07-2025_06_02_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25496501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25496502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25496503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25496504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25496505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25496506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25496507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25496508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25496509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25496510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25496511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25496512, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25497074, 'dashboard_result_id': 13402019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497074_31-07-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25497081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25497082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25497083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25497084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25497085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25497086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25497087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25497088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25497089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25497090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25497091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25497092, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25497600, 'dashboard_result_id': 13402020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497600_31-07-2025_06_03_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25497624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25497625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25497626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25497627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25497628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25497629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25497630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25497631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25497632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25497633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25497634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25497635, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25498050, 'dashboard_result_id': 13402021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498050_31-07-2025_06_04_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498086, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25498088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498096, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25498466, 'dashboard_result_id': 13402022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498466_31-07-2025_06_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25498474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498485, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25498913, 'dashboard_result_id': 13402023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498913_31-07-2025_06_05_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25498914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498925, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25499245, 'dashboard_result_id': 13402024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499245_31-07-2025_06_06_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25499250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25499251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25499252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25499253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25499254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25499255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25499256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25499257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25499258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25499259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25499260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25499261, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25499748, 'dashboard_result_id': 13402025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499748_31-07-2025_06_07_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25499753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25499754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25499755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25499756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25499757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25499758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25499759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25499760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25499761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25499762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25499763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25499764, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25500085, 'dashboard_result_id': 13402026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500085_31-07-2025_06_07_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25500090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25500091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25500092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25500093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25500094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25500095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25500096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25500097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25500098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25500099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25500100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25500101, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25500588, 'dashboard_result_id': 13402027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500588_31-07-2025_06_08_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25500622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25500623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25500624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25500625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25500626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25500627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25500628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25500629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25500630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25500631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25500632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25500633, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25501121, 'dashboard_result_id': 13402028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501121_31-07-2025_06_08_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501137, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25501495, 'dashboard_result_id': 13402029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501495_31-07-2025_06_09_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501532, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25501929, 'dashboard_result_id': 13402030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501929_31-07-2025_06_10_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501950, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25503849, 'dashboard_result_id': 13402031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503849_06-08-2025_14_35_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503951, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25503851, 'dashboard_result_id': 13402032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503851_06-08-2025_14_36_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503899, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25503854, 'dashboard_result_id': 13402033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503854_01-08-2025_14_09_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25503859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503870, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25502324, 'dashboard_result_id': 13402034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502324_31-07-2025_06_12_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502338, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25502499, 'dashboard_result_id': 13402035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502499_31-07-2025_06_13_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502515, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25502883, 'dashboard_result_id': 13402036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502883_31-07-2025_06_14_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502905, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25503394, 'dashboard_result_id': 13402037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503394_31-07-2025_06_14_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503412, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25504117, 'dashboard_result_id': 13402038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504117_31-07-2025_06_15_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25504142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25504144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25504146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25504147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25504149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25504151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25504152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25504154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25504156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25504157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25504159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25504160, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25504736, 'dashboard_result_id': 13402039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504736_31-07-2025_06_16_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25504740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25504741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25504742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25504743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25504744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25504745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25504746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25504747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25504748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25504749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25504750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25504751, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25505231, 'dashboard_result_id': 13402040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505231_31-07-2025_06_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25505241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25505242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25505244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25505245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25505246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25505247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25505248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25505249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25505250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25505251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25505252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25505253, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25505904, 'dashboard_result_id': 13402041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505904_31-07-2025_06_17_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25505913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25505914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25505915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25505916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25505917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25505918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25505919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25505920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25505921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25505922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25505923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25505924, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25506510, 'dashboard_result_id': 13402042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506510_31-07-2025_06_18_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25506514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25506515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25506516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25506517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25506518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25506519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25506520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25506521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25506522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25506523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25506524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25506525, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25506875, 'dashboard_result_id': 13402043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506875_31-07-2025_06_18_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25506906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25506908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25506909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25506910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25506911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25506912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25506913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25506914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25506915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25506916, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25506917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25506918, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25507395, 'dashboard_result_id': 13402044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507395_31-07-2025_06_19_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25507406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25507407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25507408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25507409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25507410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25507411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25507412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25507413, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25507414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25507415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25507416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25507417, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25507912, 'dashboard_result_id': 13402045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507912_31-07-2025_06_20_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25507934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25507935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25507936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25507937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25507938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25507939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25507940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25507941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25507942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25507943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25507944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25507945, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25508494, 'dashboard_result_id': 13402046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25508494_31-07-2025_06_20_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25508505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25508506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25508507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25508508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25508509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25508510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25508511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25508512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25508513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25508514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25508515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25508516, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25509085, 'dashboard_result_id': 13402047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509085_31-07-2025_06_21_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25509092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25509093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25509094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25509095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25509096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25509097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25509098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25509099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25509100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25509101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25509102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25509103, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25509585, 'dashboard_result_id': 13402048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509585_31-07-2025_06_22_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25509633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25509634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25509635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25509636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25509637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25509638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25509639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25509640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25509641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25509642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25509643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25509644, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25510266, 'dashboard_result_id': 13402049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510266_31-07-2025_06_22_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25510330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25510331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25510332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25510333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25510334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25510335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25510336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25510337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25510338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25510339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25510340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25510341, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25510764, 'dashboard_result_id': 13402050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510764_31-07-2025_06_23_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25510784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25510785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25510786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25510787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25510788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25510789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25510790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25510791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25510792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25510793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25510794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25510795, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25511411, 'dashboard_result_id': 13402051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511411_31-07-2025_06_24_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25511415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25511416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25511417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25511418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25511419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25511420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25511421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25511422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25511423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25511424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25511425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25511426, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25511920, 'dashboard_result_id': 13402052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511920_31-07-2025_06_24_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25511944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25511945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25511947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25511948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25511949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25511950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25511951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25511952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25511954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25511955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25511956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25511957, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25512669, 'dashboard_result_id': 13402053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25512669_31-07-2025_06_25_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25512708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25512709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25512710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25512711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25512712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25512713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25512714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25512715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25512716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25512717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25512718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25512719, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25513277, 'dashboard_result_id': 13402054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25513277_31-07-2025_06_26_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25513281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25513282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25513283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25513284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25513285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25513286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25513287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25513288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25513289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25513290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25513291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25513292, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25514073, 'dashboard_result_id': 13402055, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514073_31-07-2025_06_26_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25514080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25514081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25514083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25514084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25514085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25514086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25514087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25514088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25514089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25514090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25514091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25514092, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25514741, 'dashboard_result_id': 13402056, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514741_31-07-2025_06_27_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25514774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25514775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25514776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25514778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25514780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25514782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25514784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25514787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25514789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25514791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25514793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25514796, 'pht': 3726}}"}, {'dashboat_entry_day': 2027315, 'dashboard_run_id': 2044285, 'mtr_portfolio_id': 25515520, 'dashboard_result_id': 13402057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25515520_31-07-2025_06_28_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25515527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25515528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25515529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25515530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25515531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25515532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25515533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25515534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25515535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25515536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25515537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25515538, '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 = 25479976 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405019, 'mtr_portfolio_id': 25479976, 'created_at': datetime.datetime(2025, 7, 31, 5, 34, 58), 'result': '0.03451935459707663', 'result_long': None, 'result_double': None}] Qualite : 0.03451935459707663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25479976 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25479976_31-07-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25479976 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25479976_31-07-2025_05_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25479977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25479978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25479979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25479980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25479981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25479982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25479983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25479984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25479985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25479986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25479987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25479988, 'pht': 3726}}" where mtr_portfolio_id = 25479976 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25479976 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401976, 0.03451935459707663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25479976_31-07-2025_05_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25479977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25479978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25479979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25479980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25479981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25479982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25479983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25479984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25479985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25479986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25479987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25479988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25480144 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405020, 'mtr_portfolio_id': 25480144, 'created_at': datetime.datetime(2025, 7, 31, 5, 35, 28), 'result': '0.03664504757201986', 'result_long': None, 'result_double': None}] Qualite : 0.03664504757201986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25480144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480144_31-07-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25480144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480144_31-07-2025_05_35_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480189, 'pht': 3726}}" where mtr_portfolio_id = 25480144 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25480144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401977, 0.03664504757201986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480144_31-07-2025_05_35_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480181, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25480540 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405021, 'mtr_portfolio_id': 25480540, 'created_at': datetime.datetime(2025, 7, 31, 5, 35, 29), 'result': '0.03073406846853507', 'result_long': None, 'result_double': None}] Qualite : 0.03073406846853507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25480540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480540_31-07-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25480540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480540_31-07-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480563, 'pht': 3726}}" where mtr_portfolio_id = 25480540 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25480540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401978, 0.03073406846853507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480540_31-07-2025_05_35_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480563, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25480974 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405022, 'mtr_portfolio_id': 25480974, 'created_at': datetime.datetime(2025, 7, 31, 5, 36, 1), 'result': '0.03237570023229501', 'result_long': None, 'result_double': None}] Qualite : 0.03237570023229501 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25480974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480974_31-07-2025_05_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25480974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480974_31-07-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480990, 'pht': 3726}}" where mtr_portfolio_id = 25480974 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25480974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401979, 0.03237570023229501, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25480974_31-07-2025_05_36_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25480979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25480980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25480981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25480982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25480983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25480984, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25480985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25480986, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25480987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25480988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25480989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25480990, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25481445 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405023, 'mtr_portfolio_id': 25481445, 'created_at': datetime.datetime(2025, 7, 31, 5, 36, 31), 'result': '0.02869571822244944', 'result_long': None, 'result_double': None}] Qualite : 0.02869571822244944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25481445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25481445_31-07-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25481445 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25481445_31-07-2025_05_36_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25481489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25481490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25481491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25481492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25481493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25481494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25481495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25481496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25481497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25481498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25481499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25481500, 'pht': 3726}}" where mtr_portfolio_id = 25481445 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25481445 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401980, 0.02869571822244944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25481445_31-07-2025_05_36_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25481489, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25481490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25481491, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25481492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25481493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25481494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25481495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25481496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25481497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25481498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25481499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25481500, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25482072 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405024, 'mtr_portfolio_id': 25482072, 'created_at': datetime.datetime(2025, 7, 31, 5, 37, 30), 'result': '0.02461677058410563', 'result_long': None, 'result_double': None}] Qualite : 0.02461677058410563 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25482072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482072_31-07-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25482072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482072_31-07-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482084, 'pht': 3726}}" where mtr_portfolio_id = 25482072 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25482072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401981, 0.02461677058410563, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482072_31-07-2025_05_37_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482084, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25482427 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405025, 'mtr_portfolio_id': 25482427, 'created_at': datetime.datetime(2025, 7, 31, 5, 37, 57), 'result': '0.027443203188583346', 'result_long': None, 'result_double': None}] Qualite : 0.027443203188583346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25482427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482427_31-07-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25482427 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482427_31-07-2025_05_38_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482449, 'pht': 3726}}" where mtr_portfolio_id = 25482427 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25482427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401982, 0.027443203188583346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482427_31-07-2025_05_38_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482449, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25482774 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405026, 'mtr_portfolio_id': 25482774, 'created_at': datetime.datetime(2025, 7, 31, 5, 38, 30), 'result': '0.035568930806638456', 'result_long': None, 'result_double': None}] Qualite : 0.035568930806638456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25482774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482774_31-07-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25482774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482774_31-07-2025_05_38_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482810, 'pht': 3726}}" where mtr_portfolio_id = 25482774 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25482774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401983, 0.035568930806638456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25482774_31-07-2025_05_38_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25482799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25482800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25482801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25482802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25482803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25482804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25482805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25482806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25482807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25482808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25482809, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25482810, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25483286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405027, 'mtr_portfolio_id': 25483286, 'created_at': datetime.datetime(2025, 7, 31, 5, 39, 30), 'result': '0.06036606587230913', 'result_long': None, 'result_double': None}] Qualite : 0.06036606587230913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25483286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483286_31-07-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25483286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483286_31-07-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25483293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483294, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25483295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483301, 'pht': 3726}}" where mtr_portfolio_id = 25483286 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25483286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401984, 0.06036606587230913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483286_31-07-2025_05_39_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25483293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483294, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25483295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483298, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483299, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25483646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405028, 'mtr_portfolio_id': 25483646, 'created_at': datetime.datetime(2025, 7, 31, 5, 39, 57), 'result': '0.0673795810394603', 'result_long': None, 'result_double': None}] Qualite : 0.0673795810394603 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25483646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483646_31-07-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25483646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483646_31-07-2025_05_40_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25483651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25483661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483663, 'pht': 3726}}" where mtr_portfolio_id = 25483646 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25483646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401985, 0.0673795810394603, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483646_31-07-2025_05_40_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25483651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25483661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483663, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25483956 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405029, 'mtr_portfolio_id': 25483956, 'created_at': datetime.datetime(2025, 7, 31, 5, 40, 30), 'result': '0.041671998847643325', 'result_long': None, 'result_double': None}] Qualite : 0.041671998847643325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25483956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483956_31-07-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25483956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483956_31-07-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25483957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25483966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483968, 'pht': 3726}}" where mtr_portfolio_id = 25483956 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25483956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401986, 0.041671998847643325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25483956_31-07-2025_05_40_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25483957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25483958, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25483959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25483960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25483961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25483962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25483963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25483964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25483965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25483966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25483967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25483968, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25484328 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405030, 'mtr_portfolio_id': 25484328, 'created_at': datetime.datetime(2025, 7, 31, 5, 41, 29), 'result': '0.04847739858172795', 'result_long': None, 'result_double': None}] Qualite : 0.04847739858172795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25484328 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484328_31-07-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25484328 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484328_31-07-2025_05_41_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25484333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25484334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25484335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25484336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25484337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25484338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25484339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25484340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25484341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25484342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25484343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25484344, 'pht': 3726}}" where mtr_portfolio_id = 25484328 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25484328 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401987, 0.04847739858172795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484328_31-07-2025_05_41_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25484333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25484334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25484335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25484336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25484337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25484338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25484339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25484340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25484341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25484342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25484343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25484344, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25484572 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405031, 'mtr_portfolio_id': 25484572, 'created_at': datetime.datetime(2025, 7, 31, 5, 41, 57), 'result': '0.026403362924540007', 'result_long': None, 'result_double': None}] Qualite : 0.026403362924540007 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25484572 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484572_31-07-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25484572 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484572_31-07-2025_05_42_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25484582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25484583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25484584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25484585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25484586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25484587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25484588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25484589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25484590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25484591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25484592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25484593, 'pht': 3726}}" where mtr_portfolio_id = 25484572 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25484572 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401988, 0.026403362924540007, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25484572_31-07-2025_05_42_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25484582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25484583, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25484584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25484585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25484586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25484587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25484588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25484589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25484590, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25484591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25484592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25484593, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25485118 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405032, 'mtr_portfolio_id': 25485118, 'created_at': datetime.datetime(2025, 7, 31, 5, 42, 27), 'result': '0.04199806887953368', 'result_long': None, 'result_double': None}] Qualite : 0.04199806887953368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25485118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485118_31-07-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25485118 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485118_31-07-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25485136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485138, 'pht': 3726}}" where mtr_portfolio_id = 25485118 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25485118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401989, 0.04199806887953368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485118_31-07-2025_05_42_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485127, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25485136, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485138, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25485550 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405033, 'mtr_portfolio_id': 25485550, 'created_at': datetime.datetime(2025, 7, 31, 5, 43, 27), 'result': '0.00940761595292549', 'result_long': None, 'result_double': None}] Qualite : 0.00940761595292549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25485550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485550_31-07-2025_05_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25485550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485550_31-07-2025_05_43_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25485559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485570, 'pht': 3726}}" where mtr_portfolio_id = 25485550 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25485550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401990, 0.00940761595292549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485550_31-07-2025_05_43_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25485559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485560, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485570, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25485885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405034, 'mtr_portfolio_id': 25485885, 'created_at': datetime.datetime(2025, 7, 31, 5, 43, 56), 'result': '0.0737239971511342', 'result_long': None, 'result_double': None}] Qualite : 0.0737239971511342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25485885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485885_31-07-2025_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25485885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485885_31-07-2025_05_43_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25485894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485905, 'pht': 3726}}" where mtr_portfolio_id = 25485885 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25485885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401991, 0.0737239971511342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25485885_31-07-2025_05_43_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25485894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25485895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25485896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25485897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25485898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25485899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25485900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25485901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25485902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25485903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25485904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25485905, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25486150 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405035, 'mtr_portfolio_id': 25486150, 'created_at': datetime.datetime(2025, 7, 31, 5, 44, 29), 'result': '0.06050800799818245', 'result_long': None, 'result_double': None}] Qualite : 0.06050800799818245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25486150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486150_31-07-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25486150 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486150_31-07-2025_05_44_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486180, 'pht': 3726}}" where mtr_portfolio_id = 25486150 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25486150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401992, 0.06050800799818245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486150_31-07-2025_05_44_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486176, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486180, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25486575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405036, 'mtr_portfolio_id': 25486575, 'created_at': datetime.datetime(2025, 7, 31, 5, 45, 30), 'result': '0.01992595296241453', 'result_long': None, 'result_double': None}] Qualite : 0.01992595296241453 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25486575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486575_31-07-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25486575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486575_31-07-2025_05_45_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486595, 'pht': 3726}}" where mtr_portfolio_id = 25486575 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25486575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401993, 0.01992595296241453, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486575_31-07-2025_05_45_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486584, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486595, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25486903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405037, 'mtr_portfolio_id': 25486903, 'created_at': datetime.datetime(2025, 7, 31, 5, 46), 'result': '0.02937322358798463', 'result_long': None, 'result_double': None}] Qualite : 0.02937322358798463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25486903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486903_31-07-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25486903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486903_31-07-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486939, 'pht': 3726}}" where mtr_portfolio_id = 25486903 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25486903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401994, 0.02937322358798463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25486903_31-07-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25486928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25486929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25486930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25486931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25486932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25486933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25486934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25486935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25486936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25486937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25486938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25486939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25487222 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405038, 'mtr_portfolio_id': 25487222, 'created_at': datetime.datetime(2025, 7, 31, 5, 46, 57), 'result': '0.1079298888596298', 'result_long': None, 'result_double': None}] Qualite : 0.1079298888596298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25487222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487222_31-07-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25487222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487222_31-07-2025_05_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25487231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25487232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25487233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25487234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25487235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25487236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25487237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25487238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25487239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25487240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25487241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25487242, 'pht': 3726}}" where mtr_portfolio_id = 25487222 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25487222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401995, 0.1079298888596298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487222_31-07-2025_05_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25487231, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25487232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25487233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25487234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25487235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25487236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25487237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25487238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25487239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25487240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25487241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25487242, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25487542 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405039, 'mtr_portfolio_id': 25487542, 'created_at': datetime.datetime(2025, 7, 31, 5, 47, 30), 'result': '0.04919211086913888', 'result_long': None, 'result_double': None}] Qualite : 0.04919211086913888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25487542 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487542_31-07-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25487542 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487542_31-07-2025_05_47_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25487586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25487587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25487588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25487589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25487590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25487591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25487592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25487593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25487594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25487595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25487596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25487597, 'pht': 3726}}" where mtr_portfolio_id = 25487542 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25487542 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401996, 0.04919211086913888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25487542_31-07-2025_05_47_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25487586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25487587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25487588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25487589, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25487590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25487591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25487592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25487593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25487594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25487595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25487596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25487597, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25488105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405040, 'mtr_portfolio_id': 25488105, 'created_at': datetime.datetime(2025, 7, 31, 5, 47, 59), 'result': '0.049854037341182884', 'result_long': None, 'result_double': None}] Qualite : 0.049854037341182884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25488105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488105_31-07-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25488105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488105_31-07-2025_05_48_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488120, 'pht': 3726}}" where mtr_portfolio_id = 25488105 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25488105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401997, 0.049854037341182884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488105_31-07-2025_05_48_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488109, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488120, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25488405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405041, 'mtr_portfolio_id': 25488405, 'created_at': datetime.datetime(2025, 7, 31, 5, 48, 29), 'result': '0.044917811328024415', 'result_long': None, 'result_double': None}] Qualite : 0.044917811328024415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25488405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488405_31-07-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25488405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488405_31-07-2025_05_48_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488429, 'pht': 3726}}" where mtr_portfolio_id = 25488405 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25488405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401998, 0.044917811328024415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488405_31-07-2025_05_48_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488408, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488416, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488427, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488429, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25488777 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405042, 'mtr_portfolio_id': 25488777, 'created_at': datetime.datetime(2025, 7, 31, 5, 49, 29), 'result': '0.05471844655962157', 'result_long': None, 'result_double': None}] Qualite : 0.05471844655962157 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25488777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488777_31-07-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25488777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488777_31-07-2025_05_49_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488792, 'pht': 3726}}" where mtr_portfolio_id = 25488777 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25488777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13401999, 0.05471844655962157, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25488777_31-07-2025_05_49_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25488781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25488782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25488783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25488784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25488785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25488786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25488787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25488788, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25488789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25488790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25488791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25488792, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25489181 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405043, 'mtr_portfolio_id': 25489181, 'created_at': datetime.datetime(2025, 7, 31, 5, 50, 1), 'result': '0.05758788626820189', 'result_long': None, 'result_double': None}] Qualite : 0.05758788626820189 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25489181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489181_31-07-2025_05_50_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25489181 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489181_31-07-2025_05_50_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25489190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489197, 'pht': 3726}}" where mtr_portfolio_id = 25489181 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25489181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402000, 0.05758788626820189, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489181_31-07-2025_05_50_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25489190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489193, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489194, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489195, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25489527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405044, 'mtr_portfolio_id': 25489527, 'created_at': datetime.datetime(2025, 7, 31, 5, 50, 59), 'result': '0.054396609540746044', 'result_long': None, 'result_double': None}] Qualite : 0.054396609540746044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25489527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489527_31-07-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25489527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489527_31-07-2025_05_51_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25489535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489539, 'pht': 3726}}" where mtr_portfolio_id = 25489527 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25489527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402001, 0.054396609540746044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489527_31-07-2025_05_51_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25489535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25489884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405045, 'mtr_portfolio_id': 25489884, 'created_at': datetime.datetime(2025, 7, 31, 5, 51, 27), 'result': '0.056941359067099254', 'result_long': None, 'result_double': None}] Qualite : 0.056941359067099254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25489884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489884_31-07-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25489884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489884_31-07-2025_05_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25489888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489899, 'pht': 3726}}" where mtr_portfolio_id = 25489884 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25489884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402002, 0.056941359067099254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25489884_31-07-2025_05_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25489888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25489889, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25489890, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25489891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25489892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25489893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25489894, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25489895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25489896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25489897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25489898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25489899, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25490190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405046, 'mtr_portfolio_id': 25490190, 'created_at': datetime.datetime(2025, 7, 31, 5, 52), 'result': '0.0643545875975931', 'result_long': None, 'result_double': None}] Qualite : 0.0643545875975931 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25490190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490190_31-07-2025_05_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25490190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490190_31-07-2025_05_52_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25490191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25490192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25490193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25490194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25490195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25490196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25490197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25490198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25490199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25490200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25490201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25490202, 'pht': 3726}}" where mtr_portfolio_id = 25490190 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25490190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402003, 0.0643545875975931, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490190_31-07-2025_05_52_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25490191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25490192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25490193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25490194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25490195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25490196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25490197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25490198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25490199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25490200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25490201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25490202, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25490549 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405047, 'mtr_portfolio_id': 25490549, 'created_at': datetime.datetime(2025, 7, 31, 5, 52, 29), 'result': '0.03652431629761124', 'result_long': None, 'result_double': None}] Qualite : 0.03652431629761124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25490549 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490549_31-07-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25490549 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490549_31-07-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25490565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25490566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25490567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25490568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25490569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25490570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25490571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25490572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25490573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25490574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25490575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25490576, 'pht': 3726}}" where mtr_portfolio_id = 25490549 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25490549 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402004, 0.03652431629761124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490549_31-07-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25490565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25490566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25490567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25490568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25490569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25490570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25490571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25490572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25490573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25490574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25490575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25490576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25490989 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405048, 'mtr_portfolio_id': 25490989, 'created_at': datetime.datetime(2025, 7, 31, 5, 53, 28), 'result': '0.0806551513580045', 'result_long': None, 'result_double': None}] Qualite : 0.0806551513580045 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25490989 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490989_31-07-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25490989 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490989_31-07-2025_05_53_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25491015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491026, 'pht': 3726}}" where mtr_portfolio_id = 25490989 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25490989 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402005, 0.0806551513580045, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25490989_31-07-2025_05_53_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25491015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25491261 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405049, 'mtr_portfolio_id': 25491261, 'created_at': datetime.datetime(2025, 7, 31, 5, 54), 'result': '0.035097252461192656', 'result_long': None, 'result_double': None}] Qualite : 0.035097252461192656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25491261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491261_31-07-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25491261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491261_31-07-2025_05_54_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491277, 'pht': 3726}}" where mtr_portfolio_id = 25491261 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25491261 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402006, 0.035097252461192656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491261_31-07-2025_05_54_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491269, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491277, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25491582 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405050, 'mtr_portfolio_id': 25491582, 'created_at': datetime.datetime(2025, 7, 31, 5, 55), 'result': '0.04070773962066809', 'result_long': None, 'result_double': None}] Qualite : 0.04070773962066809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25491582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491582_31-07-2025_05_55_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25491582 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491582_31-07-2025_05_55_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491619, 'pht': 3726}}" where mtr_portfolio_id = 25491582 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25491582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402007, 0.04070773962066809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491582_31-07-2025_05_55_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491608, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491613, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491616, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491619, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25491851 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405051, 'mtr_portfolio_id': 25491851, 'created_at': datetime.datetime(2025, 7, 31, 5, 55, 28), 'result': '0.0679768808898512', 'result_long': None, 'result_double': None}] Qualite : 0.0679768808898512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25491851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491851_31-07-2025_05_55_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25491851 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491851_31-07-2025_05_55_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491888, 'pht': 3726}}" where mtr_portfolio_id = 25491851 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25491851 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402008, 0.0679768808898512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25491851_31-07-2025_05_55_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25491877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25491878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25491879, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25491880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25491881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25491882, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25491883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25491884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25491885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25491886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25491887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25491888, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25492444 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405052, 'mtr_portfolio_id': 25492444, 'created_at': datetime.datetime(2025, 7, 31, 5, 55, 59), 'result': '0.056528845871306674', 'result_long': None, 'result_double': None}] Qualite : 0.056528845871306674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25492444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492444_31-07-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25492444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492444_31-07-2025_05_56_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25492445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25492446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25492447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25492448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25492449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25492450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25492451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25492452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25492453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25492454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25492455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25492456, 'pht': 3726}}" where mtr_portfolio_id = 25492444 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25492444 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402009, 0.056528845871306674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492444_31-07-2025_05_56_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25492445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25492446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25492447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25492448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25492449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25492450, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25492451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25492452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25492453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25492454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25492455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25492456, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25492753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405053, 'mtr_portfolio_id': 25492753, 'created_at': datetime.datetime(2025, 7, 31, 5, 57, 1), 'result': '0.04589044448302215', 'result_long': None, 'result_double': None}] Qualite : 0.04589044448302215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25492753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492753_31-07-2025_05_57_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25492753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492753_31-07-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25492778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25492779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25492780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25492781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25492782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25492783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25492784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25492785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25492786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25492787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25492788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25492789, 'pht': 3726}}" where mtr_portfolio_id = 25492753 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25492753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402010, 0.04589044448302215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25492753_31-07-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25492778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25492779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25492780, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25492781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25492782, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25492783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25492784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25492785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25492786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25492787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25492788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25492789, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25493139 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405054, 'mtr_portfolio_id': 25493139, 'created_at': datetime.datetime(2025, 7, 31, 5, 57, 29), 'result': '0.06809515004921457', 'result_long': None, 'result_double': None}] Qualite : 0.06809515004921457 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25493139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493139_31-07-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25493139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493139_31-07-2025_05_57_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25493196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25493197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25493198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25493199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25493200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25493201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25493202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25493203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25493204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25493205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25493206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25493207, 'pht': 3726}}" where mtr_portfolio_id = 25493139 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25493139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402011, 0.06809515004921457, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493139_31-07-2025_05_57_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25493196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25493197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25493198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25493199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25493200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25493201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25493202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25493203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25493204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25493205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25493206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25493207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25493772 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405055, 'mtr_portfolio_id': 25493772, 'created_at': datetime.datetime(2025, 7, 31, 5, 57, 58), 'result': '0.0369458157067834', 'result_long': None, 'result_double': None}] Qualite : 0.0369458157067834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25493772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493772_31-07-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25493772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493772_31-07-2025_05_58_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25493813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25493814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25493815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25493816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25493817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25493818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25493819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25493820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25493821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25493822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25493823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25493824, 'pht': 3726}}" where mtr_portfolio_id = 25493772 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25493772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402012, 0.0369458157067834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25493772_31-07-2025_05_58_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25493813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25493814, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25493815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25493816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25493817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25493818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25493819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25493820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25493821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25493822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25493823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25493824, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25494415 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405056, 'mtr_portfolio_id': 25494415, 'created_at': datetime.datetime(2025, 7, 31, 5, 58, 29), 'result': '0.05488141336042701', 'result_long': None, 'result_double': None}] Qualite : 0.05488141336042701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25494415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494415_31-07-2025_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25494415 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494415_31-07-2025_05_58_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25494420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25494421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25494422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25494423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25494424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25494425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25494426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25494427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25494428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25494429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25494430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25494431, 'pht': 3726}}" where mtr_portfolio_id = 25494415 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25494415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402013, 0.05488141336042701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494415_31-07-2025_05_58_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25494420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25494421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25494422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25494423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25494424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25494425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25494426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25494427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25494428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25494429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25494430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25494431, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25494860 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405057, 'mtr_portfolio_id': 25494860, 'created_at': datetime.datetime(2025, 7, 31, 5, 59, 29), 'result': '0.06120390349266633', 'result_long': None, 'result_double': None}] Qualite : 0.06120390349266633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25494860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494860_31-07-2025_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25494860 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494860_31-07-2025_05_59_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25494895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25494896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25494897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25494898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25494899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25494900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25494901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25494902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25494903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25494904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25494905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25494906, 'pht': 3726}}" where mtr_portfolio_id = 25494860 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25494860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402014, 0.06120390349266633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25494860_31-07-2025_05_59_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25494895, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25494896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25494897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25494898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25494899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25494900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25494901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25494902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25494903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25494904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25494905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25494906, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25495225 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405058, 'mtr_portfolio_id': 25495225, 'created_at': datetime.datetime(2025, 7, 31, 6, 0, 32), 'result': '0.034639762607519976', 'result_long': None, 'result_double': None}] Qualite : 0.034639762607519976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25495225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495225_31-07-2025_06_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25495225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495225_31-07-2025_06_00_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25495234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25495235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25495236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25495237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25495238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25495239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25495240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25495241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25495242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25495243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25495244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25495245, 'pht': 3726}}" where mtr_portfolio_id = 25495225 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25495225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402015, 0.034639762607519976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495225_31-07-2025_06_00_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25495234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25495235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25495236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25495237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25495238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25495239, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25495240, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25495241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25495242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25495243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25495244, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25495245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25495527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405059, 'mtr_portfolio_id': 25495527, 'created_at': datetime.datetime(2025, 7, 31, 6, 0, 59), 'result': '0.06045769247571679', 'result_long': None, 'result_double': None}] Qualite : 0.06045769247571679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25495527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495527_31-07-2025_06_01_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25495527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495527_31-07-2025_06_01_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25495535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25495536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25495537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25495538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25495539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25495540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25495541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25495542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25495543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25495544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25495546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25495547, 'pht': 3726}}" where mtr_portfolio_id = 25495527 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25495527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402016, 0.06045769247571679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25495527_31-07-2025_06_01_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25495535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25495536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25495537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25495538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25495539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25495540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25495541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25495542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25495543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25495544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25495546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25495547, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25496084 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405060, 'mtr_portfolio_id': 25496084, 'created_at': datetime.datetime(2025, 7, 31, 6, 1, 29), 'result': '0.06363854858802956', 'result_long': None, 'result_double': None}] Qualite : 0.06363854858802956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25496084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496084_31-07-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25496084 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496084_31-07-2025_06_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25496096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25496097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25496098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25496099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25496100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25496101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25496102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25496103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25496104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25496105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25496106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25496107, 'pht': 3726}}" where mtr_portfolio_id = 25496084 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25496084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402017, 0.06363854858802956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496084_31-07-2025_06_01_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25496096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25496097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25496098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25496099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25496100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25496101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25496102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25496103, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25496104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25496105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25496106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25496107, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25496492 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405061, 'mtr_portfolio_id': 25496492, 'created_at': datetime.datetime(2025, 7, 31, 6, 2, 1), 'result': '0.04422153115368195', 'result_long': None, 'result_double': None}] Qualite : 0.04422153115368195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25496492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496492_31-07-2025_06_02_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25496492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496492_31-07-2025_06_02_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25496501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25496502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25496503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25496504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25496505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25496506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25496507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25496508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25496509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25496510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25496511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25496512, 'pht': 3726}}" where mtr_portfolio_id = 25496492 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25496492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402018, 0.04422153115368195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25496492_31-07-2025_06_02_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25496501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25496502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25496503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25496504, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25496505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25496506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25496507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25496508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25496509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25496510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25496511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25496512, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25497074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405062, 'mtr_portfolio_id': 25497074, 'created_at': datetime.datetime(2025, 7, 31, 6, 2, 27), 'result': '0.04123463393089832', 'result_long': None, 'result_double': None}] Qualite : 0.04123463393089832 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25497074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497074_31-07-2025_06_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25497074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497074_31-07-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25497081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25497082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25497083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25497084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25497085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25497086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25497087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25497088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25497089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25497090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25497091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25497092, 'pht': 3726}}" where mtr_portfolio_id = 25497074 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25497074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402019, 0.04123463393089832, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497074_31-07-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25497081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25497082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25497083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25497084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25497085, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25497086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25497087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25497088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25497089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25497090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25497091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25497092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25497600 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405063, 'mtr_portfolio_id': 25497600, 'created_at': datetime.datetime(2025, 7, 31, 6, 3, 31), 'result': '0.02726892614926778', 'result_long': None, 'result_double': None}] Qualite : 0.02726892614926778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25497600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497600_31-07-2025_06_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25497600 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497600_31-07-2025_06_03_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25497624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25497625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25497626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25497627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25497628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25497629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25497630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25497631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25497632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25497633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25497634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25497635, 'pht': 3726}}" where mtr_portfolio_id = 25497600 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25497600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402020, 0.02726892614926778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25497600_31-07-2025_06_03_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25497624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25497625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25497626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25497627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25497628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25497629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25497630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25497631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25497632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25497633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25497634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25497635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25498050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405064, 'mtr_portfolio_id': 25498050, 'created_at': datetime.datetime(2025, 7, 31, 6, 4, 1), 'result': '0.053977759929700796', 'result_long': None, 'result_double': None}] Qualite : 0.053977759929700796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25498050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498050_31-07-2025_06_04_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25498050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498050_31-07-2025_06_04_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498086, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25498088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498096, 'pht': 3726}}" where mtr_portfolio_id = 25498050 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25498050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402021, 0.053977759929700796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498050_31-07-2025_06_04_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498086, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25498088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25498466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405065, 'mtr_portfolio_id': 25498466, 'created_at': datetime.datetime(2025, 7, 31, 6, 4, 29), 'result': '0.04390388516549084', 'result_long': None, 'result_double': None}] Qualite : 0.04390388516549084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25498466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498466_31-07-2025_06_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25498466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498466_31-07-2025_06_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25498474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498485, 'pht': 3726}}" where mtr_portfolio_id = 25498466 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25498466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402022, 0.04390388516549084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498466_31-07-2025_06_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25498474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498484, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25498913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405066, 'mtr_portfolio_id': 25498913, 'created_at': datetime.datetime(2025, 7, 31, 6, 5, 28), 'result': '0.047273078363761295', 'result_long': None, 'result_double': None}] Qualite : 0.047273078363761295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25498913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498913_31-07-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25498913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498913_31-07-2025_06_05_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25498914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498925, 'pht': 3726}}" where mtr_portfolio_id = 25498913 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25498913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402023, 0.047273078363761295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25498913_31-07-2025_06_05_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25498914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25498915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25498916, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25498917, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25498918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25498919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25498920, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25498921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25498922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25498923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25498924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25498925, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25499245 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405067, 'mtr_portfolio_id': 25499245, 'created_at': datetime.datetime(2025, 7, 31, 6, 5, 58), 'result': '0.040858480396807284', 'result_long': None, 'result_double': None}] Qualite : 0.040858480396807284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25499245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499245_31-07-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25499245 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499245_31-07-2025_06_06_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25499250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25499251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25499252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25499253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25499254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25499255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25499256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25499257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25499258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25499259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25499260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25499261, 'pht': 3726}}" where mtr_portfolio_id = 25499245 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25499245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402024, 0.040858480396807284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499245_31-07-2025_06_06_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25499250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25499251, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25499252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25499253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25499254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25499255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25499256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25499257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25499258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25499259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25499260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25499261, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25499748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405068, 'mtr_portfolio_id': 25499748, 'created_at': datetime.datetime(2025, 7, 31, 6, 6, 57), 'result': '0.026247349110322622', 'result_long': None, 'result_double': None}] Qualite : 0.026247349110322622 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25499748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499748_31-07-2025_06_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25499748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499748_31-07-2025_06_07_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25499753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25499754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25499755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25499756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25499757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25499758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25499759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25499760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25499761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25499762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25499763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25499764, 'pht': 3726}}" where mtr_portfolio_id = 25499748 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25499748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402025, 0.026247349110322622, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25499748_31-07-2025_06_07_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25499753, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25499754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25499755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25499756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25499757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25499758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25499759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25499760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25499761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25499762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25499763, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25499764, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25500085 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405069, 'mtr_portfolio_id': 25500085, 'created_at': datetime.datetime(2025, 7, 31, 6, 7, 28), 'result': '0.0215850471198538', 'result_long': None, 'result_double': None}] Qualite : 0.0215850471198538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25500085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500085_31-07-2025_06_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25500085 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500085_31-07-2025_06_07_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25500090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25500091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25500092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25500093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25500094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25500095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25500096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25500097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25500098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25500099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25500100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25500101, 'pht': 3726}}" where mtr_portfolio_id = 25500085 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25500085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402026, 0.0215850471198538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500085_31-07-2025_06_07_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25500090, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25500091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25500092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25500093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25500094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25500095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25500096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25500097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25500098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25500099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25500100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25500101, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25500588 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405070, 'mtr_portfolio_id': 25500588, 'created_at': datetime.datetime(2025, 7, 31, 6, 7, 59), 'result': '0.005499136361053082', 'result_long': None, 'result_double': None}] Qualite : 0.005499136361053082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25500588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500588_31-07-2025_06_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25500588 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500588_31-07-2025_06_08_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25500622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25500623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25500624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25500625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25500626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25500627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25500628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25500629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25500630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25500631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25500632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25500633, 'pht': 3726}}" where mtr_portfolio_id = 25500588 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25500588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402027, 0.005499136361053082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25500588_31-07-2025_06_08_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25500622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25500623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25500624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25500625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25500626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25500627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25500628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25500629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25500630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25500631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25500632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25500633, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25501121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405071, 'mtr_portfolio_id': 25501121, 'created_at': datetime.datetime(2025, 7, 31, 6, 8, 30), 'result': '0.04353987178763499', 'result_long': None, 'result_double': None}] Qualite : 0.04353987178763499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25501121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501121_31-07-2025_06_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25501121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501121_31-07-2025_06_08_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501137, 'pht': 3726}}" where mtr_portfolio_id = 25501121 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25501121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402028, 0.04353987178763499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501121_31-07-2025_06_08_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501134, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501137, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25501495 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405072, 'mtr_portfolio_id': 25501495, 'created_at': datetime.datetime(2025, 7, 31, 6, 9, 28), 'result': '0.03920411198249358', 'result_long': None, 'result_double': None}] Qualite : 0.03920411198249358 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25501495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501495_31-07-2025_06_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25501495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501495_31-07-2025_06_09_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501532, 'pht': 3726}}" where mtr_portfolio_id = 25501495 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25501495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402029, 0.03920411198249358, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501495_31-07-2025_06_09_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501521, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25501929 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405073, 'mtr_portfolio_id': 25501929, 'created_at': datetime.datetime(2025, 7, 31, 6, 9, 58), 'result': '0.07014941634343705', 'result_long': None, 'result_double': None}] Qualite : 0.07014941634343705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25501929 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501929_31-07-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25501929 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501929_31-07-2025_06_10_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501950, 'pht': 3726}}" where mtr_portfolio_id = 25501929 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25501929 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402030, 0.07014941634343705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25501929_31-07-2025_06_10_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25501939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25501940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25501941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25501942, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25501943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25501944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25501945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25501946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25501947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25501948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25501949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25501950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25503849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3460705, 'mtr_portfolio_id': 25503849, 'created_at': datetime.datetime(2025, 8, 6, 14, 35, 28), 'result': '0.04561879950414767', 'result_long': None, 'result_double': None}] Qualite : 0.04561879950414767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25503849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503849_06-08-2025_14_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25503849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503849_06-08-2025_14_35_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503951, 'pht': 3726}}" where mtr_portfolio_id = 25503849 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402031, 0.04561879950414767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503849_06-08-2025_14_35_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503943, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25503851 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3460706, 'mtr_portfolio_id': 25503851, 'created_at': datetime.datetime(2025, 8, 6, 14, 35, 58), 'result': '0.06623136171246', 'result_long': None, 'result_double': None}] Qualite : 0.06623136171246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25503851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503851_06-08-2025_14_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25503851 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503851_06-08-2025_14_36_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503899, 'pht': 3726}}" where mtr_portfolio_id = 25503851 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503851 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402032, 0.06623136171246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503851_06-08-2025_14_36_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503888, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503891, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503894, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503895, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503899, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25503854 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3460707, 'mtr_portfolio_id': 25503854, 'created_at': datetime.datetime(2025, 8, 6, 14, 37, 1), 'result': '0.03533223881049471', 'result_long': None, 'result_double': None}] Qualite : 0.03533223881049471 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25503854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503854_06-08-2025_14_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25503854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503854_06-08-2025_14_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25503859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503870, 'pht': 3726}}" where mtr_portfolio_id = 25503854 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402033, 0.03533223881049471, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503854_06-08-2025_14_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 25503859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503860, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503864, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503870, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25502324 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405077, 'mtr_portfolio_id': 25502324, 'created_at': datetime.datetime(2025, 7, 31, 6, 12, 30), 'result': '0.04465446365909758', 'result_long': None, 'result_double': None}] Qualite : 0.04465446365909758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25502324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502324_31-07-2025_06_12_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25502324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502324_31-07-2025_06_12_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502338, 'pht': 3726}}" where mtr_portfolio_id = 25502324 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25502324 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402034, 0.04465446365909758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502324_31-07-2025_06_12_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502327, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502332, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502338, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25502499 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405078, 'mtr_portfolio_id': 25502499, 'created_at': datetime.datetime(2025, 7, 31, 6, 13, 30), 'result': '0.05265448585140577', 'result_long': None, 'result_double': None}] Qualite : 0.05265448585140577 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25502499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502499_31-07-2025_06_13_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25502499 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502499_31-07-2025_06_13_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502515, 'pht': 3726}}" where mtr_portfolio_id = 25502499 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25502499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402035, 0.05265448585140577, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502499_31-07-2025_06_13_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502506, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502511, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502515, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25502883 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405079, 'mtr_portfolio_id': 25502883, 'created_at': datetime.datetime(2025, 7, 31, 6, 13, 58), 'result': '0.028493313390914276', 'result_long': None, 'result_double': None}] Qualite : 0.028493313390914276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25502883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502883_31-07-2025_06_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25502883 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502883_31-07-2025_06_14_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502905, 'pht': 3726}}" where mtr_portfolio_id = 25502883 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25502883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402036, 0.028493313390914276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25502883_31-07-2025_06_14_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25502893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25502894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25502895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25502896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25502897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25502898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25502899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25502900, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25502901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25502902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25502904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25502905, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25503394 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405080, 'mtr_portfolio_id': 25503394, 'created_at': datetime.datetime(2025, 7, 31, 6, 14, 30), 'result': '0.030119479916807648', 'result_long': None, 'result_double': None}] Qualite : 0.030119479916807648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25503394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503394_31-07-2025_06_14_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25503394 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503394_31-07-2025_06_14_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503412, 'pht': 3726}}" where mtr_portfolio_id = 25503394 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25503394 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402037, 0.030119479916807648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25503394_31-07-2025_06_14_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25503401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25503402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25503403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25503404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25503405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25503406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25503407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25503408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25503409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25503410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25503411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25503412, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25504117 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405081, 'mtr_portfolio_id': 25504117, 'created_at': datetime.datetime(2025, 7, 31, 6, 15, 28), 'result': '0.05728165802604735', 'result_long': None, 'result_double': None}] Qualite : 0.05728165802604735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25504117 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504117_31-07-2025_06_15_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25504117 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504117_31-07-2025_06_15_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25504142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25504144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25504146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25504147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25504149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25504151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25504152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25504154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25504156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25504157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25504159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25504160, 'pht': 3726}}" where mtr_portfolio_id = 25504117 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25504117 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402038, 0.05728165802604735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504117_31-07-2025_06_15_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25504142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25504144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25504146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25504147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25504149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25504151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25504152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25504154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25504156, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25504157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25504159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25504160, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25504736 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405082, 'mtr_portfolio_id': 25504736, 'created_at': datetime.datetime(2025, 7, 31, 6, 15, 57), 'result': '0.03712975117620471', 'result_long': None, 'result_double': None}] Qualite : 0.03712975117620471 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25504736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504736_31-07-2025_06_16_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25504736 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504736_31-07-2025_06_16_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25504740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25504741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25504742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25504743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25504744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25504745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25504746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25504747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25504748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25504749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25504750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25504751, 'pht': 3726}}" where mtr_portfolio_id = 25504736 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25504736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402039, 0.03712975117620471, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25504736_31-07-2025_06_16_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25504740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25504741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25504742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25504743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25504744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25504745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25504746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25504747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25504748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25504749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25504750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25504751, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25505231 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405083, 'mtr_portfolio_id': 25505231, 'created_at': datetime.datetime(2025, 7, 31, 6, 16, 28), 'result': '0.037927609074042794', 'result_long': None, 'result_double': None}] Qualite : 0.037927609074042794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25505231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505231_31-07-2025_06_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25505231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505231_31-07-2025_06_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25505241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25505242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25505244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25505245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25505246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25505247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25505248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25505249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25505250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25505251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25505252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25505253, 'pht': 3726}}" where mtr_portfolio_id = 25505231 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25505231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402040, 0.037927609074042794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505231_31-07-2025_06_16_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25505241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25505242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25505244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25505245, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25505246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25505247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25505248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25505249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25505250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25505251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25505252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25505253, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25505904 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405084, 'mtr_portfolio_id': 25505904, 'created_at': datetime.datetime(2025, 7, 31, 6, 17, 31), 'result': '0.04031934288675579', 'result_long': None, 'result_double': None}] Qualite : 0.04031934288675579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25505904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505904_31-07-2025_06_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25505904 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505904_31-07-2025_06_17_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25505913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25505914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25505915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25505916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25505917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25505918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25505919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25505920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25505921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25505922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25505923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25505924, 'pht': 3726}}" where mtr_portfolio_id = 25505904 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25505904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402041, 0.04031934288675579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25505904_31-07-2025_06_17_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25505913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25505914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25505915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25505916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25505917, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25505918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25505919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25505920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25505921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25505922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25505923, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25505924, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25506510 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405085, 'mtr_portfolio_id': 25506510, 'created_at': datetime.datetime(2025, 7, 31, 6, 17, 59), 'result': '0.044476881387288905', 'result_long': None, 'result_double': None}] Qualite : 0.044476881387288905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25506510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506510_31-07-2025_06_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25506510 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506510_31-07-2025_06_18_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25506514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25506515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25506516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25506517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25506518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25506519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25506520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25506521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25506522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25506523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25506524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25506525, 'pht': 3726}}" where mtr_portfolio_id = 25506510 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25506510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402042, 0.044476881387288905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506510_31-07-2025_06_18_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25506514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25506515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25506516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25506517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25506518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25506519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25506520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25506521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25506522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25506523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25506524, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25506525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25506875 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405086, 'mtr_portfolio_id': 25506875, 'created_at': datetime.datetime(2025, 7, 31, 6, 18, 30), 'result': '0.05129805050105511', 'result_long': None, 'result_double': None}] Qualite : 0.05129805050105511 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25506875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506875_31-07-2025_06_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25506875 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506875_31-07-2025_06_18_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25506906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25506908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25506909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25506910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25506911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25506912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25506913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25506914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25506915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25506916, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25506917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25506918, 'pht': 3726}}" where mtr_portfolio_id = 25506875 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25506875 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402043, 0.05129805050105511, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25506875_31-07-2025_06_18_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25506906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25506908, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25506909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25506910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25506911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25506912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25506913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25506914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25506915, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25506916, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25506917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25506918, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25507395 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405087, 'mtr_portfolio_id': 25507395, 'created_at': datetime.datetime(2025, 7, 31, 6, 19, 30), 'result': '0.029634526375853718', 'result_long': None, 'result_double': None}] Qualite : 0.029634526375853718 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25507395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507395_31-07-2025_06_19_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25507395 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507395_31-07-2025_06_19_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25507406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25507407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25507408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25507409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25507410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25507411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25507412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25507413, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25507414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25507415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25507416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25507417, 'pht': 3726}}" where mtr_portfolio_id = 25507395 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25507395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402044, 0.029634526375853718, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507395_31-07-2025_06_19_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25507406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25507407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25507408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25507409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25507410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25507411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25507412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25507413, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25507414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25507415, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25507416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25507417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25507912 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405088, 'mtr_portfolio_id': 25507912, 'created_at': datetime.datetime(2025, 7, 31, 6, 19, 57), 'result': '0.032946334711617856', 'result_long': None, 'result_double': None}] Qualite : 0.032946334711617856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25507912 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507912_31-07-2025_06_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25507912 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507912_31-07-2025_06_20_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25507934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25507935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25507936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25507937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25507938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25507939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25507940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25507941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25507942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25507943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25507944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25507945, 'pht': 3726}}" where mtr_portfolio_id = 25507912 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25507912 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402045, 0.032946334711617856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25507912_31-07-2025_06_20_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25507934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25507935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25507936, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25507937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25507938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25507939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25507940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25507941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25507942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25507943, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25507944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25507945, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25508494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405089, 'mtr_portfolio_id': 25508494, 'created_at': datetime.datetime(2025, 7, 31, 6, 20, 30), 'result': '0.030148223728353647', 'result_long': None, 'result_double': None}] Qualite : 0.030148223728353647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25508494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25508494_31-07-2025_06_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25508494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25508494_31-07-2025_06_20_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25508505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25508506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25508507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25508508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25508509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25508510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25508511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25508512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25508513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25508514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25508515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25508516, 'pht': 3726}}" where mtr_portfolio_id = 25508494 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25508494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402046, 0.030148223728353647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25508494_31-07-2025_06_20_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25508505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25508506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25508507, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25508508, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25508509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25508510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25508511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25508512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25508513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25508514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25508515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25508516, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25509085 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405090, 'mtr_portfolio_id': 25509085, 'created_at': datetime.datetime(2025, 7, 31, 6, 21, 29), 'result': '0.025518710241205157', 'result_long': None, 'result_double': None}] Qualite : 0.025518710241205157 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25509085 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509085_31-07-2025_06_21_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25509085 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509085_31-07-2025_06_21_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25509092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25509093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25509094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25509095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25509096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25509097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25509098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25509099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25509100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25509101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25509102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25509103, 'pht': 3726}}" where mtr_portfolio_id = 25509085 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25509085 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402047, 0.025518710241205157, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509085_31-07-2025_06_21_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25509092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25509093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25509094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25509095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25509096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25509097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25509098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25509099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25509100, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25509101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25509102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25509103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25509585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405091, 'mtr_portfolio_id': 25509585, 'created_at': datetime.datetime(2025, 7, 31, 6, 21, 57), 'result': '0.10334902495610852', 'result_long': None, 'result_double': None}] Qualite : 0.10334902495610852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25509585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509585_31-07-2025_06_22_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25509585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509585_31-07-2025_06_22_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25509633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25509634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25509635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25509636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25509637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25509638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25509639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25509640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25509641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25509642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25509643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25509644, 'pht': 3726}}" where mtr_portfolio_id = 25509585 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25509585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402048, 0.10334902495610852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25509585_31-07-2025_06_22_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25509633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25509634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25509635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25509636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25509637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25509638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25509639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25509640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25509641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25509642, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25509643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25509644, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25510266 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405092, 'mtr_portfolio_id': 25510266, 'created_at': datetime.datetime(2025, 7, 31, 6, 22, 28), 'result': '0.07128495137118593', 'result_long': None, 'result_double': None}] Qualite : 0.07128495137118593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25510266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510266_31-07-2025_06_22_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25510266 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510266_31-07-2025_06_22_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25510330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25510331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25510332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25510333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25510334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25510335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25510336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25510337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25510338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25510339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25510340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25510341, 'pht': 3726}}" where mtr_portfolio_id = 25510266 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25510266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402049, 0.07128495137118593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510266_31-07-2025_06_22_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25510330, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25510331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25510332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25510333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25510334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25510335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25510336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25510337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25510338, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25510339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25510340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25510341, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25510764 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405093, 'mtr_portfolio_id': 25510764, 'created_at': datetime.datetime(2025, 7, 31, 6, 23, 30), 'result': '0.009702447207401746', 'result_long': None, 'result_double': None}] Qualite : 0.009702447207401746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25510764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510764_31-07-2025_06_23_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25510764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510764_31-07-2025_06_23_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25510784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25510785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25510786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25510787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25510788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25510789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25510790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25510791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25510792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25510793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25510794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25510795, 'pht': 3726}}" where mtr_portfolio_id = 25510764 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25510764 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402050, 0.009702447207401746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25510764_31-07-2025_06_23_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25510784, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25510785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25510786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25510787, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25510788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25510789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25510790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25510791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25510792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25510793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25510794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25510795, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25511411 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405094, 'mtr_portfolio_id': 25511411, 'created_at': datetime.datetime(2025, 7, 31, 6, 23, 59), 'result': '0.0618386015457138', 'result_long': None, 'result_double': None}] Qualite : 0.0618386015457138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25511411 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511411_31-07-2025_06_24_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25511411 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511411_31-07-2025_06_24_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25511415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25511416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25511417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25511418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25511419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25511420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25511421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25511422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25511423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25511424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25511425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25511426, 'pht': 3726}}" where mtr_portfolio_id = 25511411 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25511411 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402051, 0.0618386015457138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511411_31-07-2025_06_24_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25511415, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25511416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25511417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25511418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25511419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25511420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25511421, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25511422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25511423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25511424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25511425, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25511426, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25511920 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405095, 'mtr_portfolio_id': 25511920, 'created_at': datetime.datetime(2025, 7, 31, 6, 24, 29), 'result': '0.07383501505622213', 'result_long': None, 'result_double': None}] Qualite : 0.07383501505622213 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25511920 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511920_31-07-2025_06_24_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25511920 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511920_31-07-2025_06_24_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25511944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25511945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25511947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25511948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25511949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25511950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25511951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25511952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25511954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25511955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25511956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25511957, 'pht': 3726}}" where mtr_portfolio_id = 25511920 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25511920 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402052, 0.07383501505622213, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25511920_31-07-2025_06_24_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25511944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25511945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25511947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25511948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25511949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25511950, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25511951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25511952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25511954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25511955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25511956, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25511957, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25512669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405096, 'mtr_portfolio_id': 25512669, 'created_at': datetime.datetime(2025, 7, 31, 6, 25, 28), 'result': '0.020392691114839098', 'result_long': None, 'result_double': None}] Qualite : 0.020392691114839098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25512669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25512669_31-07-2025_06_25_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25512669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25512669_31-07-2025_06_25_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25512708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25512709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25512710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25512711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25512712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25512713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25512714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25512715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25512716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25512717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25512718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25512719, 'pht': 3726}}" where mtr_portfolio_id = 25512669 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25512669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402053, 0.020392691114839098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25512669_31-07-2025_06_25_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 25512708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25512709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25512710, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25512711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25512712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25512713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25512714, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25512715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25512716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25512717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25512718, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25512719, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25513277 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405097, 'mtr_portfolio_id': 25513277, 'created_at': datetime.datetime(2025, 7, 31, 6, 26), 'result': '0.06097250916234619', 'result_long': None, 'result_double': None}] Qualite : 0.06097250916234619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25513277 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25513277_31-07-2025_06_26_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25513277 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25513277_31-07-2025_06_26_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25513281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25513282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25513283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25513284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25513285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25513286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25513287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25513288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25513289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25513290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25513291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25513292, 'pht': 3726}}" where mtr_portfolio_id = 25513277 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25513277 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402054, 0.06097250916234619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25513277_31-07-2025_06_26_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25513281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25513282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25513283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25513284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25513285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25513286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25513287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25513288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25513289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25513290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25513291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25513292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25514073 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405098, 'mtr_portfolio_id': 25514073, 'created_at': datetime.datetime(2025, 7, 31, 6, 26, 28), 'result': '0.02863279700683114', 'result_long': None, 'result_double': None}] Qualite : 0.02863279700683114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25514073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514073_31-07-2025_06_26_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25514073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514073_31-07-2025_06_26_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25514080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25514081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25514083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25514084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25514085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25514086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25514087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25514088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25514089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25514090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25514091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25514092, 'pht': 3726}}" where mtr_portfolio_id = 25514073 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25514073 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402055, 0.02863279700683114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514073_31-07-2025_06_26_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25514080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25514081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25514083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25514084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25514085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25514086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25514087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25514088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25514089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25514090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25514091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25514092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25514741 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405099, 'mtr_portfolio_id': 25514741, 'created_at': datetime.datetime(2025, 7, 31, 6, 27, 29), 'result': '0.030613192818878626', 'result_long': None, 'result_double': None}] Qualite : 0.030613192818878626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25514741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514741_31-07-2025_06_27_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25514741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514741_31-07-2025_06_27_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25514774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25514775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25514776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25514778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25514780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25514782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25514784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25514787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25514789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25514791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25514793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25514796, 'pht': 3726}}" where mtr_portfolio_id = 25514741 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25514741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402056, 0.030613192818878626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25514741_31-07-2025_06_27_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 25514774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25514775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25514776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25514778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25514780, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25514782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25514784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25514787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25514789, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25514791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25514793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25514796, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 25515520 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3405100, 'mtr_portfolio_id': 25515520, 'created_at': datetime.datetime(2025, 7, 31, 6, 27, 58), 'result': '0.03402306588864098', 'result_long': None, 'result_double': None}] Qualite : 0.03402306588864098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 25515520 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25515520_31-07-2025_06_28_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25515520 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25515520_31-07-2025_06_28_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25515527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25515528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25515529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25515530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25515531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25515532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25515533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25515534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25515535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25515536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25515537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25515538, 'pht': 3726}}" where mtr_portfolio_id = 25515520 and dashboard_run_id = 2044285 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25515520 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (13402057, 0.03402306588864098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25515520_31-07-2025_06_28_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 25515527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 25515528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 25515529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 25515530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 25515531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 25515532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 25515533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 25515534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 25515535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 25515536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 25515537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 25515538, '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 (25479976,25480144,25480540,25480974,25481445,25482072,25482427,25482774,25483286,25483646,25483956,25484328,25484572,25485118,25485550,25485885,25486150,25486575,25486903,25487222,25487542,25488105,25488405,25488777,25489181,25489527,25489884,25490190,25490549,25490989,25491261,25491582,25491851,25492444,25492753,25493139,25493772,25494415,25494860,25495225,25495527,25496084,25496492,25497074,25497600,25498050,25498466,25498913,25499245,25499748,25500085,25500588,25501121,25501495,25501929,25503849,25503851,25503854,25502324,25502499,25502883,25503394,25504117,25504736,25505231,25505904,25506510,25506875,25507395,25507912,25508494,25509085,25509585,25510266,25510764,25511411,25511920,25512669,25513277,25514073,25514741,25515520) result : ((1374372764,), (1374372795,), (1374372823,), (1374372841,), (1374372865,), (1374373025,), (1374373026,), (1374373027,), (1374373028,), (1374373029,), (1374373031,), (1374373050,), (1374373051,), (1374373052,), (1374373053,), (1374373055,), (1374373057,), (1374373069,), (1374373070,), (1374373071,), (1374373072,), (1374373073,), (1374373075,), (1374373102,), (1374373108,), (1374373109,), (1374373110,), (1374373112,), (1374373114,), (1374373138,), (1374373140,), (1374373142,), (1374373145,), (1374373149,), (1374373151,), (1374373154,), (1374373156,), (1374373157,), (1374373158,), (1374373159,), (1374373162,), (1374373166,), (1374373176,), (1374373177,), (1374373178,), (1374373179,), (1374373181,), (1374373182,), (1374373221,), (1374373240,), (1374373241,), (1374373243,), (1374373245,), (1374373248,), (1374373252,), (1374373332,), (1374373334,), (1374373335,), (1374373350,), (1374373364,), (1374373366,), (1374373391,), (1374373397,), (1374373403,), (1374373404,), (1374373405,), (1374373408,), (1374373417,), (1374373418,), (1374373419,), (1374373420,), (1374373422,), (1374373424,), (1374373448,), (1374373452,), (1374373453,), (1374373454,), (1374373455,), (1374373457,), (1374373479,), (1374373480,), (1374373482,), (1374373483,), (1374373484,), (1374373486,), (1374373502,), (1374373508,), (1374373515,), (1374373516,), (1374373518,), (1374373519,), (1374373535,), (1374373537,), (1374373538,), (1374373539,), (1374373540,), (1374373542,), (1374373562,), (1374373567,), (1374373568,), (1374373569,), (1374373571,), (1374373574,), (1374373591,), (1374373627,), (1374373628,), (1374373629,), (1374373630,), (1374373633,), (1374373635,), (1374373641,), (1374373642,), (1374373643,), (1374373644,), (1374373646,), (1374373647,), (1374373665,), (1374373671,), (1374373678,), (1374373679,), (1374373680,), (1374373682,), (1374373693,), (1374373694,), (1374373695,), (1374373696,), (1374373698,), (1374373700,), (1374373710,), (1374373718,), (1374373724,), (1374373725,), (1374373727,), (1374373728,), (1374373752,), (1374373753,), (1374373754,), (1374373755,), (1374373757,), (1374373759,), (1374373771,), (1374373781,), (1374373782,), (1374373783,), (1374373785,), (1374373787,), (1374373794,), (1374373795,), (1374373796,), (1374373797,), (1374373798,), (1374373800,), (1374373826,), (1374373828,), (1374373829,), (1374373831,), (1374373834,), (1374373837,), (1374373843,), (1374373844,), (1374373845,), (1374373846,), (1374373848,), (1374373850,), (1374373898,), (1374373910,), (1374373912,), (1374373914,), (1374373915,), (1374373917,), (1374373919,), (1374373928,), (1374373930,), (1374373932,), (1374373933,), (1374373935,), (1374373937,), (1374373944,), (1374373955,), (1374373966,), (1374373967,), (1374373968,), (1374373971,), (1374373984,), (1374373994,), (1374373996,), (1374373997,), (1374373998,), (1374374000,), (1374374010,), (1374374012,), (1374374013,), (1374374014,), (1374374015,), (1374374017,), (1374374039,), (1374374045,), (1374374047,), (1374374048,), (1374374049,), (1374374051,), (1374374061,), (1374374068,), (1374374075,), (1374374077,), (1374374079,), (1374374082,), (1374374104,), (1374374105,), (1374374106,), (1374374108,), (1374374111,), (1374374115,), (1374374123,), (1374374130,), (1374374162,), (1374374169,), (1374374171,), (1374374172,), (1374374174,), (1374374177,), (1374374197,), (1374374222,), (1374374231,), (1374374232,), (1374374234,), (1374374235,), (1374374237,), (1374374249,), (1374374250,), (1374374252,), (1374374253,), (1374374254,), (1374374256,), (1374374283,), (1374374284,), (1374374286,), (1374374288,), (1374374291,), (1374374300,), (1374374320,), (1374374327,), (1374374328,), (1374374329,), (1374374331,), (1374374332,), (1374374356,), (1374374363,), (1374374364,), (1374374365,), (1374374367,), (1374374370,), (1374374378,), (1374374379,), (1374374380,), (1374374381,), (1374374383,), (1374374385,), (1374374400,), (1374374407,), (1374374408,), (1374374409,), (1374374411,), (1374374414,), (1374374469,), (1374374502,), (1374374508,), (1374374511,), (1374374512,), (1374374515,), (1374374518,), (1374374530,), (1374374540,), (1374374546,), (1374374547,), (1374374549,), (1374374551,), (1374374572,), (1374374581,), (1374374582,), (1374374583,), (1374374584,), (1374374586,), (1374374607,), (1374374616,), (1374374618,), (1374374619,), (1374374621,), (1374374624,), (1374374634,), (1374374635,), (1374374636,), (1374374637,), (1374374639,), (1374374642,), (1374374669,), (1374374670,), (1374374671,), (1374374672,), (1374374674,), (1374374676,), (1374374688,), (1374374689,), (1374374699,), (1374374724,), (1374374748,), (1374374775,), (1374375287,), (1374375321,), (1374375366,), (1374375412,), (1374375464,), (1374375515,), (1374376023,), (1374376385,), (1374376395,), (1374376422,), (1374376434,), (1374376435,), (1374376436,), (1374376460,), (1374376464,), (1374376465,), (1374376466,), (1374376468,), (1374376471,), (1374376491,), (1374376492,), (1374376493,), (1374376494,), (1374376496,), (1374376499,), (1374376506,), (1374376507,), (1374376508,), (1374376509,), (1374376511,), (1374376514,), (1374376532,), (1374376533,), (1374376534,), (1374376535,), (1374376537,), (1374376538,), (1374376576,), (1374376582,), (1374376583,), (1374376584,), (1374376586,), (1374376589,), (1374376597,), (1374376604,), (1374376610,), (1374376611,), (1374376613,), (1374376616,), (1374376643,), (1374376661,), (1374376666,), (1374376667,), (1374376668,), (1374376670,), (1374376672,), (1374376727,), (1374376742,), (1374376752,), (1374376757,), (1374376758,), (1374376760,), (1374376763,), (1374376778,), (1374376787,), (1374376788,), (1374376789,), (1374376790,), (1374376793,), (1374376802,), (1374376813,), (1374376819,), (1374376820,), (1374376821,), (1374376824,), (1374376837,), (1374376845,), (1374376856,), (1374376857,), (1374376858,), (1374376860,), (1374376885,), (1374376891,), (1374376892,), (1374376893,), (1374376895,), (1374376898,), (1374376926,), (1374376927,), (1374376928,), (1374376929,), (1374376931,), (1374376933,), (1374376951,), (1374376957,), (1374376958,), (1374376959,), (1374376961,), (1374376964,), (1374376980,), (1374376983,), (1374376984,), (1374376985,), (1374376986,), (1374376988,), (1374377005,), (1374377017,), (1374377018,), (1374377019,), (1374377021,), (1374377023,), (1374377029,), (1374377050,), (1374377058,), (1374377063,), (1374377064,), (1374377065,), (1374377067,), (1374377086,), (1374377092,), (1374377093,), (1374377094,), (1374377095,), (1374377097,), (1374377110,), (1374377120,), (1374377121,), (1374377122,), (1374377123,), (1374377125,), (1374377142,), (1374377148,), (1374377149,), (1374377150,), (1374377151,), (1374377154,), (1374377174,), (1374377175,), (1374377176,), (1374377177,), (1374377179,), (1374377181,), (1374377199,), (1374377207,), (1374377208,), (1374377209,), (1374377211,), (1374377213,), (1374377230,), (1374377235,), (1374377236,), (1374377237,), (1374377239,), (1374377242,), (1374377252,), (1374377253,), (1374377254,), (1374377255,), (1374377257,), (1374377258,), (1374377271,), (1374377272,), (1374377274,), (1374377275,), (1374377277,), (1374377280,), (1374377323,), (1374377331,), (1374377332,), (1374377333,), (1374377337,), (1374377346,), (1374377347,), (1374377359,), (1374377360,), (1374377361,), (1374377362,), (1374377363,), (1374377365,), (1374377378,), (1374377379,), (1374377380,), (1374377381,), (1374377382,), (1374377383,), (1374377403,), (1374377409,), (1374377410,), (1374377411,), (1374377413,), (1374377415,), (1374377425,), (1374377426,), (1374377427,), (1374377428,), (1374377429,), (1374377432,), (1374377453,), (1374377454,), (1374377455,), (1374377456,), (1374377457,), (1374377460,), (1374377483,), (1374377491,), (1374377501,), (1374377507,), (1374377508,), (1374377509,), (1374377511,), (1374377517,), (1374377518,), (1374377527,), (1374377532,), (1374377533,), (1374377535,), (1374377550,), (1374377574,), (1374377581,), (1374377587,), (1374377588,), (1374377589,), (1374377591,), (1374377599,), (1374377600,), (1374377609,), (1374377615,), (1374377616,), (1374377618,), (1374377625,), (1374377632,), (1374377638,), (1374377639,), (1374377641,), (1374377643,), (1374377649,), (1374377650,), (1374377651,), (1374377653,), (1374377655,), (1374377657,), (1374377664,), (1374377665,), (1374377674,), (1374377678,), (1374377680,), (1374377682,), (1374377722,), (1374377724,), (1374377725,), (1374377726,), (1374377728,), (1374377730,), (1374377738,), (1374377745,), (1374377747,), (1374377748,), (1374377749,), (1374377751,), (1374377753,), (1374377768,), (1374377774,), (1374377775,), (1374377776,), (1374377777,), (1374377778,), (1374377797,), (1374377827,), (1374377833,), (1374377834,), (1374377835,), (1374377837,), (1374377839,), (1374377848,), (1374377870,), (1374377871,), (1374377872,), (1374377874,), (1374377876,), (1374377878,), (1374377896,), (1374377897,), (1374377898,), (1374377899,), (1374377901,), (1374377903,), (1374377910,), (1374377911,), (1374377912,), (1374377913,), (1374377915,), (1374377917,), (1374377926,), (1374377927,), (1374377944,), (1374377966,), (1374377989,), (1374378012,), (1374378259,), (1374378261,), (1374378262,), (1374378279,), (1374378304,), (1374378327,), (1374379312,), (1374379727,), (1374379757,), (1374379758,), (1374379759,), (1374379761,), (1374379763,), (1374379766,), (1374379776,), (1374379810,), (1374379816,), (1374379819,), (1374379820,), (1374379822,), (1374379824,), (1374379833,), (1374379940,), (1374379961,), (1374379988,), (1374380011,), (1374380039,), (1374380063,), (1374380231,), (1374380233,), (1374380234,), (1374380235,), (1374380237,), (1374380239,), (1374380253,), (1374380261,), (1374380265,), (1374380266,), (1374380268,), (1374380271,), (1374380283,), (1374380284,), (1374380285,), (1374380286,), (1374380287,), (1374380289,), (1374380306,), (1374380315,), (1374380318,), (1374380319,), (1374380321,), (1374380323,), (1374380336,), (1374380350,), (1374380357,), (1374380363,), (1374380372,), (1374380376,), (1374380377,), (1374380381,), (1374380382,), (1374380383,), (1374380384,), (1374380385,), (1374380387,), (1374380404,), (1374380409,), (1374380410,), (1374380417,), (1374380419,), (1374380422,), (1374380434,), (1374380435,), (1374380436,), (1374380438,), (1374380440,), (1374380442,), (1374389470,), (1374380452,), (1374380459,), (1374380465,), (1374380467,), (1374380469,), (1374380472,), (1374380506,), (1374380525,), (1374380534,), (1374380539,), (1374380540,), (1374380542,), (1374380545,), (1374380559,), (1374380560,), (1374380561,), (1374380562,), (1374380564,), (1374380567,), (1374380581,), (1374380582,), (1374380583,), (1374380584,), (1374380586,), (1374380589,), (1374380601,), (1374380622,), (1374380623,), (1374380624,), (1374380625,), (1374380627,), (1374380630,), (1374380649,), (1374380686,), (1374380687,), (1374380688,), (1374380689,), (1374380691,), (1374380694,), (1374380705,), (1374380706,), (1374380707,), (1374380708,), (1374380709,), (1374380711,), (1374380727,), (1374380728,), (1374380734,), (1374380735,), (1374380737,), (1374380740,), (1374380743,), (1374380744,), (1374380745,), (1374380746,), (1374380747,), (1374380749,), (1374380766,), (1374380769,), (1374380770,), (1374380771,), (1374380773,), (1374380776,), (1374380786,), (1374380792,), (1374380799,), (1374380800,), (1374380802,), (1374380803,), (1374380811,), (1374380819,), (1374380823,), (1374380824,), (1374380826,), (1374380830,), (1374380845,), (1374380877,), (1374380886,), (1374380891,), (1374380895,), (1374380896,), (1374380898,), (1374380910,), (1374380915,), (1374380916,), (1374380917,), (1374380918,), (1374380920,), (1374380933,), (1374380934,), (1374380935,), (1374380936,), (1374380938,), (1374380940,), (1374380950,), (1374380951,), (1374380952,), (1374380953,), (1374380955,), (1374380957,), (1374380972,), (1374380974,), (1374380975,), (1374380976,), (1374380978,), (1374380981,), (1374381008,), (1374381009,), (1374381010,), (1374381011,), (1374381013,), (1374381014,), (1374381029,), (1374381030,), (1374381031,), (1374381032,), (1374381034,), (1374381036,), (1374381052,), (1374381055,), (1374381056,), (1374381057,), (1374381058,), (1374381060,), (1374381070,), (1374381071,), (1374381072,), (1374381073,), (1374381075,), (1374381077,), (1374381086,), (1374381106,), (1374381107,), (1374381108,), (1374381109,), (1374381110,), (1374381111,), (1374381116,), (1374381124,), (1374381133,), (1374381136,), (1374381138,), (1374381141,), (1374381146,), (1374381154,), (1374381163,), (1374381164,), (1374381165,), (1374381167,), (1374381180,), (1374381181,), (1374381182,), (1374381184,), (1374381186,), (1374381188,), (1374381210,), (1374381216,), (1374381217,), (1374381218,), (1374381219,), (1374381221,), (1374381251,), (1374381258,), (1374381261,), (1374381262,), (1374381263,), (1374381264,), (1374381275,), (1374381276,), (1374381278,), (1374381280,), (1374381282,), (1374381285,), (1374381292,), (1374381293,), (1374381295,), (1374381297,), (1374381299,), (1374381301,), (1374381309,), (1374381319,), (1374381329,), (1374381337,), (1374381338,), (1374381339,), (1374381359,), (1374381393,), (1374381402,), (1374381404,), (1374381405,), (1374381406,), (1374381408,), (1374381424,), (1374381426,), (1374381428,), (1374381429,), (1374381430,), (1374381431,), (1374381450,), (1374381458,), (1374381460,), (1374381461,), (1374381462,), (1374381463,), (1374381478,), (1374381484,), (1374381486,), (1374381487,), (1374381488,), (1374381489,), (1374381502,), (1374381504,), (1374381505,), (1374381506,), (1374381507,), (1374381508,), (1374381546,), (1374381547,), (1374381548,), (1374381549,), (1374381550,), (1374381551,), (1374381558,), (1374381559,), (1374381560,), (1374381561,), (1374381563,), (1374381565,), (1374382034,), (1374382106,), (1374382175,), (1374382245,), (1374382325,), (1374382397,), (1374382995,), (1374382997,), (1374383000,), (1374383039,), (1374383086,), (1374383143,), (1374383518,), (1374383532,), (1374383553,), (1374383554,), (1374383555,), (1374383556,), (1374383557,), (1374383558,), (1374383571,), (1374383572,), (1374383573,), (1374383574,), (1374383575,), (1374383579,), (1374383600,), (1374383601,), (1374383602,), (1374383603,), (1374383604,), (1374383606,), (1374383635,), (1374383637,), (1374383639,), (1374383641,), (1374383644,), (1374383647,), (1374383663,), (1374383666,), (1374383668,), (1374383670,), (1374383672,), (1374383674,), (1374383692,), (1374383708,), (1374383710,), (1374383711,), (1374383712,), (1374383714,), (1374383717,), (1374383737,), (1374383756,), (1374383757,), (1374383758,), (1374383759,), (1374383760,), (1374383762,), (1374383777,), (1374383778,), (1374383779,), (1374383780,), (1374383782,), (1374383785,), (1374383798,), (1374383799,), (1374383800,), (1374383801,), (1374383802,), (1374383804,), (1374383820,), (1374383821,), (1374383823,), (1374383824,), (1374383825,), (1374383828,), (1374383838,), (1374383839,), (1374383840,), (1374383841,), (1374383843,), (1374383844,), (1374383856,), (1374383857,), (1374383858,), (1374383859,), (1374383861,), (1374383863,), (1374383877,), (1374383879,), (1374383880,), (1374383881,), (1374383883,), (1374383885,), (1374383891,), (1374383902,), (1374383911,), (1374383919,), (1374383920,), (1374383922,), (1374383924,), (1374383946,), (1374383980,), (1374383992,), (1374383997,), (1374383998,), (1374384000,), (1374384002,), (1374384017,), (1374384027,), (1374384032,), (1374384038,), (1374384039,), (1374384041,), (1374384053,), (1374384054,), (1374384055,), (1374384056,), (1374384057,), (1374384060,), (1374384076,), (1374384077,), (1374384078,), (1374384079,), (1374384081,), (1374384082,), (1374384103,), (1374384104,), (1374384105,), (1374384106,), (1374384108,), (1374384111,), (1374384142,), (1374384163,), (1374384170,), (1374384175,), (1374384176,), (1374384178,), (1374384180,), (1374384199,), (1374384207,), (1374384214,), (1374384215,), (1374384217,), (1374384219,), (1374384238,), (1374384248,), (1374384254,), (1374384255,), (1374384258,), (1374384261,), (1374384287,), (1374384309,), (1374384319,), (1374384325,), (1374384326,), (1374384327,), (1374384329,), (1374384341,), (1374384342,), (1374384343,), (1374384344,), (1374384345,), (1374384348,), (1374384363,), (1374384364,), (1374384365,), (1374384366,), (1374384368,), (1374384372,), (1374384379,), (1374384407,), (1374384409,), (1374384419,), (1374384422,), (1374384424,), (1374384425,), (1374384455,), (1374384456,), (1374384457,), (1374384458,), (1374384460,), (1374384462,), (1374384480,), (1374384483,), (1374384484,), (1374384485,), (1374384487,), (1374384490,), (1374384498,), (1374384505,), (1374384506,), (1374384507,), (1374384509,), (1374384511,), (1374384521,), (1374384527,), (1374384528,), (1374384529,), (1374384530,), (1374384532,), (1374384554,), (1374384555,), (1374384556,), (1374384557,), (1374384558,), (1374384560,), (1374384578,), (1374384585,), (1374384593,), (1374384597,), (1374384601,), (1374384605,), (1374384609,), (1374384612,), (1374384619,), (1374384620,), (1374384621,), (1374384624,), (1374384627,), (1374384641,), (1374384652,), (1374384653,), (1374384654,), (1374384655,), (1374384656,), (1374384659,), (1374384668,), (1374384669,), (1374384670,), (1374384671,), (1374384672,), (1374384674,), (1374384689,), (1374384690,), (1374384691,), (1374384692,), (1374384694,), (1374384696,), (1374384715,), (1374384717,), (1374384718,), (1374384719,), (1374384721,), (1374384723,), (1374384731,), (1374384732,), (1374384733,), (1374384734,), (1374384736,), (1374384738,), (1374384753,), (1374384794,), (1374384795,), (1374384796,), (1374384797,), (1374384799,), (1374384802,), (1374384809,), (1374384814,), (1374384815,), (1374384816,), (1374384817,), (1374384819,), (1374384822,), (1374384831,), (1374384849,), (1374384851,), (1374384855,), (1374384856,), (1374384857,), (1374384861,), (1374384878,), (1374384893,), (1374384894,), (1374384895,), (1374384896,), (1374384898,), (1374384900,), (1374385440,), (1374385481,), (1374385527,), (1374385561,), (1374385584,), (1374385607,), (1374386116,), (1374386597,), (1374386599,), (1374386600,), (1374386619,), (1374386640,), (1374386663,), (1374386845,), (1374386846,), (1374386847,), (1374386849,), (1374386851,), (1374386854,), (1374386870,), (1374386872,), (1374386873,), (1374386874,), (1374386875,), (1374386876,), (1374386886,), (1374386888,), (1374386889,), (1374386895,), (1374386896,), (1374386899,), (1374386924,), (1374386926,), (1374386928,), (1374386929,), (1374386930,), (1374386932,), (1374386967,), (1374386969,), (1374386971,), (1374386973,), (1374386976,), (1374386980,), (1374387001,), (1374387002,), (1374387003,), (1374387004,), (1374387005,), (1374387006,), (1374387017,), (1374387066,), (1374387067,), (1374387068,), (1374387069,), (1374387079,), (1374387088,), (1374387117,), (1374387137,), (1374387142,), (1374387143,), (1374387144,), (1374387146,), (1374387149,), (1374387161,), (1374387162,), (1374387163,), (1374387164,), (1374387173,), (1374387174,), (1374387187,), (1374387189,), (1374387191,), (1374387193,), (1374387199,), (1374387214,), (1374387226,), (1374387228,), (1374387230,), (1374387231,), (1374387232,), (1374387234,), (1374387249,), (1374387250,), (1374387258,), (1374387268,), (1374387269,), (1374387271,), (1374387300,), (1374387301,), (1374387302,), (1374387303,), (1374387305,), (1374387306,), (1374387322,), (1374387324,), (1374387326,), (1374387329,), (1374387332,), (1374387336,), (1374387351,), (1374387359,), (1374387360,), (1374387361,), (1374387363,), (1374387365,), (1374387393,), (1374387411,), (1374387430,), (1374387432,), (1374387434,), (1374387435,), (1374387436,), (1374387453,), (1374387483,), (1374387484,), (1374387485,), (1374387491,), (1374387500,), (1374387501,), (1374387514,), (1374387522,), (1374387527,), (1374387528,), (1374387529,), (1374387531,), (1374387549,), (1374387567,), (1374387568,), (1374387586,), (1374387591,), (1374387592,), (1374387594,), (1374387608,), (1374387609,), (1374387610,), (1374387611,), (1374387613,), (1374387614,), (1374387625,), (1374387636,), (1374387646,), (1374387648,), (1374387651,), (1374387654,), (1374387670,), (1374387671,), (1374387672,), (1374387673,), (1374387674,), (1374387677,), (1374387691,), (1374387692,), (1374387705,), (1374387707,), (1374387708,), (1374387709,), (1374387782,), (1374389441,), (1374434811,), (1374387799,), (1374387808,), (1374387821,), (1374387822,), (1374387823,), (1374387825,), (1374387835,), (1374387838,), (1374387845,), (1374387846,), (1374387848,), (1374387849,), (1374387864,), (1374387866,), (1374387868,), (1374387870,), (1374387873,), (1374387878,), (1374387884,), (1374387885,), (1374387887,), (1374387890,), (1374387893,), (1374387896,), (1374387911,), (1374387913,), (1374387914,), (1374387915,), (1374387916,), (1374387919,), (1374387930,), (1374387932,), (1374387933,), (1374387934,), (1374387935,), (1374387937,), (1374387961,), (1374387963,), (1374387964,), (1374387965,), (1374387967,), (1374387969,), (1374387981,), (1374387983,), (1374387984,), (1374387985,), (1374387986,), (1374387987,), (1374388002,), (1374388009,), (1374388010,), (1374388011,), (1374388013,), (1374388016,), (1374388037,), (1374388056,), (1374388057,), (1374388058,), (1374388059,), (1374388061,), (1374388063,), (1374388079,), (1374388096,), (1374388099,), (1374388101,), (1374388103,), (1374388105,), (1374388107,), (1374388122,), (1374388144,), (1374388145,), (1374388146,), (1374388152,), (1374388155,), (1374388158,), (1374388171,), (1374388173,), (1374388175,), (1374388176,), (1374388177,), (1374388180,), (1374388194,), (1374388196,), (1374388197,), (1374388198,), (1374388200,), (1374388203,), (1374388219,), (1374388244,), (1374388245,), (1374388249,), (1374388260,), (1374388262,), (1374388264,), (1374388317,), (1374388335,), (1374388336,), (1374388337,), (1374388338,), (1374388347,), (1374388356,), (1374388376,), (1374388377,), (1374388381,), (1374388388,), (1374388390,), (1374388403,), (1374388423,), (1374388424,), (1374388425,), (1374388427,), (1374388437,), (1374388439,), (1374388454,), (1374388456,), (1374388458,), (1374388460,), (1374388462,), (1374388465,), (1374388486,), (1374388487,), (1374388488,), (1374388489,), (1374388491,), (1374388494,), (1374388508,), (1374388509,), (1374388510,), (1374388511,), (1374388517,), (1374388542,), (1374388798,), (1374388820,), (1374388844,), (1374388867,), (1374388889,), (1374388911,), (1374389405,), (1374389931,), (1374390485,), (1374390508,), (1374390519,), (1374390526,), (1374390528,), (1374390538,), (1374390661,), (1374390687,), (1374390721,), (1374390736,), (1374390743,), (1374390749,), (1374390810,), (1374390811,), (1374390812,), (1374390813,), (1374390815,), (1374390817,), (1374390829,), (1374390831,), (1374390832,), (1374390839,), (1374390845,), (1374390864,), (1374390876,), (1374390879,), (1374390886,), (1374390889,), (1374390908,), (1374390912,), (1374390955,), (1374390956,), (1374390957,), (1374390958,), (1374390960,), (1374390963,), (1374390983,), (1374390984,), (1374390985,), (1374390986,), (1374390988,), (1374390990,), (1374391009,), (1374391010,), (1374391011,), (1374391019,), (1374391020,), (1374391034,), (1374391061,), (1374391070,), (1374391072,), (1374391073,), (1374391074,), (1374391076,), (1374391128,), (1374391157,), (1374391159,), (1374391169,), (1374391179,), (1374391180,), (1374391183,), (1374391209,), (1374391249,), (1374391250,), (1374391261,), (1374391263,), (1374391265,), (1374391267,), (1374391285,), (1374434770,), (1374391305,), (1374391307,), (1374391314,), (1374391315,), (1374391316,), (1374391318,), (1374391322,), (1374391327,), (1374391328,), (1374391329,), (1374391331,), (1374391332,), (1374391344,), (1374391347,), (1374391355,), (1374391356,), (1374391358,), (1374391361,), (1374391371,), (1374391390,), (1374391391,), (1374391392,), (1374391399,), (1374391406,), (1374391413,), (1374391432,), (1374391439,), (1374391440,), (1374391441,), (1374391442,), (1374391444,), (1374391479,), (1374391499,), (1374391501,), (1374391502,), (1374391503,), (1374391505,), (1374391506,), (1374391523,), (1374391525,), (1374391532,), (1374391539,), (1374391547,), (1374391550,), (1374391558,), (1374391559,), (1374391560,), (1374391561,), (1374391563,), (1374391566,), (1374391585,), (1374391593,), (1374391598,), (1374391602,), (1374391604,), (1374391606,), (1374391613,), (1374391615,), (1374391616,), (1374391617,), (1374391618,), (1374391620,), (1374391636,), (1374391641,), (1374391643,), (1374391645,), (1374391646,), (1374391648,), (1374391664,), (1374391665,), (1374391666,), (1374391667,), (1374391669,), (1374391672,), (1374391682,), (1374391686,), (1374391694,), (1374391695,), (1374391697,), (1374391701,), (1374391739,), (1374391740,), (1374391741,), (1374391742,), (1374391743,), (1374391745,), (1374391762,), (1374391788,), (1374391789,), (1374391790,), (1374391791,), (1374391810,), (1374391820,), (1374391838,), (1374391840,), (1374391842,), (1374391843,), (1374391845,), (1374391847,), (1374391863,), (1374391883,), (1374391884,), (1374391885,), (1374391886,), (1374391888,), (1374391890,), (1374391903,), (1374391904,), (1374391905,), (1374391906,), (1374391907,), (1374391910,), (1374391931,), (1374391936,), (1374391941,), (1374391942,), (1374391945,), (1374391948,), (1374391960,), (1374391962,), (1374391963,), (1374391964,), (1374391965,), (1374391967,), (1374391984,), (1374391989,), (1374391994,), (1374391999,), (1374392001,), (1374392004,), (1374392061,), (1374392095,), (1374392096,), (1374392103,), (1374392108,), (1374392110,), (1374392114,), (1374392129,), (1374392133,), (1374392134,), (1374392135,), (1374392137,), (1374392139,), (1374392156,), (1374392159,), (1374392161,), (1374392162,), (1374392163,), (1374392166,), (1374392176,), (1374392178,), (1374392179,), (1374392180,), (1374392183,), (1374392185,), (1374392206,), (1374392212,), (1374392220,), (1374392222,), (1374392224,), (1374392226,), (1374392235,), (1374392236,), (1374392237,), (1374392238,), (1374392240,), (1374392242,), (1374392249,), (1374392257,), (1374392264,), (1374392265,), (1374392267,), (1374392269,), (1374392282,), (1374392289,), (1374392295,), (1374392297,), (1374392298,), (1374392300,), (1374392308,), (1374392309,), (1374392312,), (1374392313,), (1374392319,), (1374392320,), (1374392384,), (1374392407,), (1374392408,), (1374392416,), (1374392417,), (1374392419,), (1374392420,), (1374392439,), (1374392462,), (1374392478,), (1374392479,), (1374392480,), (1374392481,), (1374392483,), (1374392486,), (1374392494,), (1374392495,), (1374392496,), (1374392497,), (1374392499,), (1374392502,), (1374392525,), (1374392791,), (1374392819,), (1374392845,), (1374392867,), (1374392890,), (1374392914,), (1374393078,), (1374393079,), (1374393082,), (1374393084,), (1374393087,), (1374393090,), (1374393144,), (1374393481,), (1374393503,), (1374393529,), (1374393552,), (1374393602,), (1374393628,), (1374393759,), (1374393760,), (1374393767,), (1374393775,), (1374393780,), (1374393810,), (1374394275,), (1374394498,), (1374394522,), (1374394530,), (1374394531,), (1374394532,), (1374394551,), (1374394599,), (1374394608,), (1374394612,), (1374394619,), (1374394625,), (1374394628,), (1374394634,), (1374394636,), (1374394637,), (1374394638,), (1374394640,), (1374394643,), (1374394655,), (1374394659,), (1374394665,), (1374394667,), (1374394668,), (1374394670,), (1374394679,), (1374394686,), (1374394691,), (1374394692,), (1374394695,), (1374394698,), (1374394712,), (1374394714,), (1374394715,), (1374394716,), (1374394718,), (1374394720,), (1374394776,), (1374394777,), (1374394778,), (1374394779,), (1374394780,), (1374394782,), (1374394797,), (1374394815,), (1374394817,), (1374394818,), (1374394819,), (1374394821,), (1374394823,), (1374394832,), (1374394833,), (1374394843,), (1374394844,), (1374394845,), (1374394849,), (1374394863,), (1374394864,), (1374394866,), (1374394867,), (1374394868,), (1374394870,), (1374394888,), (1374394893,), (1374394899,), (1374394900,), (1374394901,), (1374394904,), (1374394925,), (1374394928,), (1374394932,), (1374394935,), (1374394940,), (1374394943,), (1374394947,), (1374394949,), (1374394950,), (1374394951,), (1374394953,), (1374394970,), (1374394986,), (1374394993,), (1374395000,), (1374395001,), (1374395002,), (1374395004,), (1374395059,), (1374395080,), (1374395086,), (1374395094,), (1374395096,), (1374395098,), (1374395101,), (1374395110,), (1374395111,), (1374395112,), (1374395113,), (1374395115,), (1374395116,), (1374395123,), (1374395135,), (1374395141,), (1374395142,), (1374395144,), (1374395147,), (1374395166,), (1374395197,), (1374395218,), (1374395219,), (1374395220,), (1374395221,), (1374395223,), (1374395226,), (1374395241,), (1374395253,), (1374395258,), (1374395259,), (1374395261,), (1374395263,), (1374395271,), (1374395272,), (1374395273,), (1374395274,), (1374395275,), (1374395277,), (1374395290,), (1374395291,), (1374395292,), (1374395293,), (1374395296,), (1374395298,), (1374395370,), (1374395387,), (1374395388,), (1374395389,), (1374395390,), (1374395392,), (1374395396,), (1374395410,), (1374395411,), (1374395412,), (1374395413,), (1374395414,), (1374395416,), (1374395427,), (1374395429,), (1374395431,), (1374395432,), (1374395433,), (1374395436,), (1374395453,), (1374395454,), (1374395462,), (1374395467,), (1374395468,), (1374395470,), (1374395490,), (1374395500,), (1374395503,), (1374395504,), (1374395505,), (1374395507,), (1374395525,), (1374395527,), (1374395529,), (1374395530,), (1374395532,), (1374395534,), (1374395549,), (1374395555,), (1374395561,), (1374395564,), (1374395567,), (1374395570,), (1374395586,), (1374395593,), (1374395598,), (1374395599,), (1374395601,), (1374395603,), (1374395612,), (1374395615,), (1374395620,), (1374395627,), (1374395629,), (1374395633,), (1374395642,), (1374395671,), (1374395674,), (1374395675,), (1374395676,), (1374395677,), (1374395678,), (1374395686,), (1374395687,), (1374395694,), (1374395699,), (1374395700,), (1374395702,), (1374395724,), (1374395729,), (1374395730,), (1374395731,), (1374395733,), (1374395737,), (1374395751,), (1374395753,), (1374395754,), (1374395755,), (1374395757,), (1374395761,), (1374395777,), (1374395778,), (1374395781,), (1374395787,), (1374395789,), (1374395791,), (1374395803,), (1374395807,), (1374395813,), (1374395814,), (1374395815,), (1374395817,), (1374395838,), (1374395857,), (1374395858,), (1374395859,), (1374395860,), (1374395861,), (1374395863,), (1374395881,), (1374395883,), (1374395888,), (1374395891,), (1374395892,), (1374395894,), (1374395914,), (1374395960,), (1374395961,), (1374395964,), (1374395967,), (1374395968,), (1374395971,), (1374395991,), (1374396011,), (1374396013,), (1374396017,), (1374396022,), (1374396023,), (1374396026,), (1374396049,), (1374396051,), (1374396053,), (1374396054,), (1374396056,), (1374396058,), (1374396077,), (1374396079,), (1374396081,), (1374396083,), (1374396086,), (1374396089,), (1374396107,), (1374396110,), (1374396111,), (1374396112,), (1374396113,), (1374396115,), (1374396139,), (1374396141,), (1374396142,), (1374396144,), (1374396147,), (1374396151,), (1374397168,), (1374397198,), (1374397224,), (1374397248,), (1374397274,), (1374397297,), (1374397767,), (1374398282,), (1374398305,), (1374398329,), (1374398355,), (1374398359,), (1374398362,), (1374398549,), (1374398592,), (1374398643,), (1374398687,), (1374398723,), (1374398739,), (1374398908,), (1374398919,), (1374398921,), (1374398923,), (1374398946,), (1374398971,), (1374399022,), (1374399024,), (1374399025,), (1374399026,), (1374399028,), (1374399030,), (1374399050,), (1374399051,), (1374399054,), (1374399055,), (1374399057,), (1374399061,), (1374399097,), (1374399125,), (1374399128,), (1374399131,), (1374399132,), (1374399134,), (1374399136,), (1374399155,), (1374399179,), (1374399182,), (1374399184,), (1374399185,), (1374399186,), (1374399188,), (1374399204,), (1374399250,), (1374399252,), (1374399254,), (1374399256,), (1374399258,), (1374399261,), (1374399282,), (1374399285,), (1374399287,), (1374399288,), (1374399289,), (1374399291,), (1374399309,), (1374399311,), (1374399313,), (1374399315,), (1374399317,), (1374399321,), (1374399342,), (1374399377,), (1374399379,), (1374399381,), (1374399383,), (1374399386,), (1374399389,), (1374399421,), (1374399423,), (1374399424,), (1374399425,), (1374399426,), (1374399429,), (1374399462,), (1374399499,), (1374399504,), (1374399506,), (1374399507,), (1374399508,), (1374399511,), (1374399528,), (1374399531,), (1374399533,), (1374399535,), (1374399537,), (1374399541,), (1374399552,), (1374399591,), (1374399593,), (1374399604,), (1374399611,), (1374399613,), (1374399617,), (1374399640,), (1374399649,), (1374399655,), (1374399663,), (1374399665,), (1374399667,), (1374399693,), (1374399694,), (1374399695,), (1374399696,), (1374399698,), (1374399702,), (1374399725,), (1374399726,), (1374399727,), (1374399728,), (1374399730,), (1374399731,), (1374399753,), (1374399755,), (1374399756,), (1374399757,), (1374399758,), (1374399761,), (1374399783,), (1374399827,), (1374399833,), (1374399838,), (1374399840,), (1374399841,), (1374399843,), (1374399860,), (1374399861,), (1374399862,), (1374399863,), (1374399864,), (1374399866,), (1374399889,), (1374399892,), (1374399894,), (1374399895,), (1374399896,), (1374399900,), (1374399928,), (1374399953,), (1374399954,), (1374399955,), (1374399956,), (1374399957,), (1374399959,), (1374399969,), (1374399970,), (1374399971,), (1374399972,), (1374399974,), (1374399978,), (1374399984,), (1374399986,), (1374399990,), (1374399998,), (1374400003,), (1374400007,), (1374400030,), (1374400062,), (1374400064,), (1374400069,), (1374400070,), (1374400071,), (1374400073,), (1374400111,), (1374400112,), (1374400113,), (1374400114,), (1374400115,), (1374400118,), (1374400143,), (1374400144,), (1374400145,), (1374400146,), (1374400147,), (1374400149,), (1374400168,), (1374400170,), (1374400174,), (1374400182,), (1374400189,), (1374400191,), (1374400209,), (1374400211,), (1374400217,), (1374400218,), (1374400219,), (1374400222,), (1374400238,), (1374400262,), (1374400264,), (1374400267,), (1374400272,), (1374400276,), (1374400279,), (1374400304,), (1374400307,), (1374400315,), (1374400316,), (1374400318,), (1374400321,), (1374400339,), (1374400340,), (1374400341,), (1374400342,), (1374400343,), (1374400346,), (1374400361,), (1374400398,), (1374400399,), (1374400405,), (1374400412,), (1374400420,), (1374400423,), (1374400444,), (1374400448,), (1374400455,), (1374400456,), (1374400457,), (1374400461,), (1374400481,), (1374400482,), (1374400483,), (1374400484,), (1374400486,), (1374400490,), (1374400515,), (1374400517,), (1374400518,), (1374400519,), (1374400520,), (1374400524,), (1374400541,), (1374400544,), (1374400546,), (1374400548,), (1374400549,), (1374400551,), (1374400578,), (1374400601,), (1374400610,), (1374400611,), (1374400613,), (1374400614,), (1374400616,), (1374400630,), (1374400632,), (1374400634,), (1374400635,), (1374400637,), (1374400640,), (1374400659,), (1374400661,), (1374400663,), (1374400664,), (1374400666,), (1374400669,), (1374400689,), (1374400701,), (1374400704,), (1374400705,), (1374400706,), (1374400709,), (1374400725,), (1374400727,), (1374400730,), (1374400732,), (1374400733,), (1374400736,), (1374400758,), (1374400780,), (1374400782,), (1374400784,), (1374400785,), (1374400786,), (1374400789,), (1374401522,), (1374401523,), (1374401573,), (1374401578,), (1374401639,), (1374401651,), (1374401709,), (1374401724,), (1374401770,), (1374401786,), (1374401819,), (1374401835,), (1374402060,), (1374402857,), (1374402903,), (1374402950,), (1374403021,), (1374403092,), (1374403165,), (1374403437,), (1374403486,), (1374403512,), (1374403542,), (1374403565,), (1374403589,), (1374403995,), (1374404040,), (1374404087,), (1374404133,), (1374404184,), (1374404223,), (1374404472,), (1374404524,), (1374404552,), (1374404577,), (1374404580,), (1374404595,), (1374404790,), (1374404813,), (1374404827,), (1374404829,), (1374404832,), (1374404833,), (1374404851,), (1374404874,), (1374404875,), (1374404876,), (1374404877,), (1374404879,), (1374404882,), (1374404903,), (1374404905,), (1374404906,), (1374404907,), (1374404908,), (1374404910,), (1374404933,), (1374404939,), (1374404948,), (1374404952,), (1374404955,), (1374404958,), (1374404975,), (1374404980,), (1374404990,), (1374404991,), (1374404993,), (1374404995,), (1374405041,), (1374405079,), (1374405108,), (1374405109,), (1374405110,), (1374405111,), (1374405112,), (1374405114,), (1374405128,), (1374405135,), (1374405141,), (1374405142,), (1374405144,), (1374405148,), (1374405171,), (1374405175,), (1374405178,), (1374405179,), (1374405181,), (1374405185,), (1374405198,), (1374405199,), (1374405200,), (1374405201,), (1374405202,), (1374405204,), (1374405232,), (1374405233,), (1374405234,), (1374405235,), (1374405236,), (1374405238,), (1374405264,), (1374405303,), (1374405352,), (1374405353,), (1374405354,), (1374405355,), (1374405356,), (1374405358,), (1374405388,), (1374405415,), (1374405421,), (1374405423,), (1374405425,), (1374405428,), (1374405431,), (1374405458,), (1374405461,), (1374405463,), (1374405465,), (1374405467,), (1374405470,), (1374405488,), (1374405494,), (1374405496,), (1374405498,), (1374405500,), (1374405503,), (1374405528,), (1374405530,), (1374405532,), (1374405534,), (1374405537,), (1374405538,), (1374405574,), (1374405576,), (1374405577,), (1374405578,), (1374405579,), (1374405581,), (1374405601,), (1374405602,), (1374405603,), (1374405604,), (1374405605,), (1374405607,), (1374405636,), (1374405640,), (1374405657,), (1374405658,), (1374405660,), (1374405664,), (1374405676,), (1374405679,), (1374405680,), (1374405681,), (1374405684,), (1374405686,), (1374405718,), (1374405733,), (1374405735,), (1374405737,), (1374405738,), (1374405739,), (1374405743,), (1374405757,), (1374405759,), (1374405761,), (1374405762,), (1374405764,), (1374405766,), (1374405783,), (1374405784,), (1374405785,), (1374405786,), (1374405788,), (1374405792,), (1374405803,), (1374405804,), (1374405805,), (1374405806,), (1374405807,), (1374405809,), (1374405836,), (1374405837,), (1374405838,), (1374405839,), (1374405841,), (1374405845,), (1374405952,), (1374406316,), (1374406342,), (1374406366,), (1374406389,), (1374406412,), (1374406437,), (1374406720,), (1374406744,), (1374406768,), (1374406793,), (1374406816,), (1374406842,), (1374406951,), (1374406960,), (1374406964,), (1374406965,), (1374406966,), (1374406968,), (1374407024,), (1374407052,), (1374407094,), (1374407120,), (1374407145,), (1374407168,), (1374407438,), (1374407528,), (1374407560,), (1374407588,), (1374407612,), (1374407637,), (1374407665,), (1374407859,), (1374407886,), (1374407912,), (1374407935,), (1374407962,), (1374407996,), (1374408580,), (1374434721,), (1374409146,), (1374409182,), (1374409217,), (1374409242,), (1374409265,), (1374409290,), (1374409622,), (1374409658,), (1374409690,), (1374409713,), (1374409719,), (1374409721,), (1374409738,), (1374409739,), (1374409740,), (1374409741,), (1374409743,), (1374409745,), (1374409996,), (1374410043,), (1374410096,), (1374410141,), (1374410189,), (1374410237,), (1374410500,), (1374410523,), (1374410548,), (1374410560,), (1374410564,), (1374410567,), (1374411090,), (1374411482,), (1374411506,), (1374411554,), (1374411582,), (1374411607,), (1374411632,), (1374411793,), (1374411795,), (1374411797,), (1374411798,), (1374411799,), (1374411820,), (1374412047,), (1374412050,), (1374412052,), (1374412075,), (1374412103,), (1374412117,), (1374412165,), (1374412169,), (1374412170,), (1374412171,), (1374412172,), (1374412174,), (1374412190,), (1374412192,), (1374412194,), (1374412196,), (1374412197,), (1374412199,), (1374412221,), (1374412451,), (1374412475,), (1374412501,), (1374412526,), (1374412551,), (1374412575,), (1374413343,), (1374413717,), (1374414186,), (1374414211,), (1374414240,), (1374414275,), (1374414324,), (1374414370,), (1374414777,), (1374414804,), (1374414824,), (1374414882,), (1374414924,), (1374414961,), (1374415156,), (1374415164,), (1374415169,), (1374415172,), (1374415176,), (1374415181,), (1374415191,), (1374415421,), (1374415429,), (1374415430,), (1374415439,), (1374415469,), (1374415477,), (1374415526,), (1374415527,), (1374415528,), (1374415529,), (1374415532,), (1374415535,), (1374415551,), (1374415552,), (1374415553,), (1374415554,), (1374415555,), (1374415557,), (1374415572,), (1374415574,), (1374415575,), (1374415576,), (1374415577,), (1374415579,), (1374415602,), (1374415609,), (1374415610,), (1374415611,), (1374415612,), (1374415614,), (1374415649,), (1374415688,), (1374415696,), (1374415697,), (1374415698,), (1374415700,), (1374415703,), (1374415723,), (1374415735,), (1374415740,), (1374415741,), (1374415742,), (1374415744,), (1374416020,), (1374416090,), (1374416160,), (1374416227,), (1374416290,), (1374416356,), (1374416922,), (1374416972,), (1374417021,), (1374417070,), (1374417122,), (1374417171,), (1374417602,), (1374417634,), (1374417659,), (1374417684,), (1374417710,), (1374417741,), (1374418197,), (1374418226,), (1374418231,), (1374418232,), (1374418274,), (1374418306,), (1374418462,), (1374418499,), (1374418531,), (1374418556,), (1374418580,), (1374418608,), (1374418937,), (1374418960,), (1374419000,), (1374419045,), (1374419094,), (1374419120,), (1374419328,), (1374419329,), (1374419330,), (1374419331,), (1374419333,), (1374419337,), (1374419604,), (1374419758,), (1374419795,), (1374419831,), (1374419857,), (1374419883,), (1374419909,), (1374419970,), (1374419973,), (1374419976,), (1374419978,), (1374419981,), (1374419985,), (1374420027,), (1374420042,), (1374420060,), (1374420064,), (1374420066,), (1374420069,), (1374420140,), (1374420154,), (1374420163,), (1374420165,), (1374420167,), (1374420170,), (1374420188,), (1374420191,), (1374420194,), (1374420196,), (1374420198,), (1374420202,), (1374420226,), (1374420242,), (1374420250,), (1374420251,), (1374420252,), (1374420254,), (1374420275,), (1374420286,), (1374420293,), (1374420294,), (1374420295,), (1374420297,), (1374420310,), (1374420322,), (1374420330,), (1374420334,), (1374420336,), (1374420338,), (1374420352,), (1374420364,), (1374420372,), (1374420379,), (1374420381,), (1374420384,), (1374420424,), (1374420436,), (1374420438,), (1374420440,), (1374420441,), (1374420442,), (1374420444,), (1374420451,), (1374420466,), (1374420496,), (1374420505,), (1374420509,), (1374420510,), (1374420512,), (1374420514,), (1374420532,), (1374420540,), (1374420546,), (1374420549,), (1374420552,), (1374420555,), (1374420564,), (1374420568,), (1374420583,), (1374420591,), (1374420595,), (1374420597,), (1374420611,), (1374420614,), (1374420629,), (1374420639,), (1374420640,), (1374420642,), (1374420666,), (1374420671,), (1374420672,), (1374420673,), (1374420674,), (1374420676,), (1374420690,), (1374420714,), (1374420727,), (1374420733,), (1374420734,), (1374420736,), (1374420738,), (1374420785,), (1374420786,), (1374420787,), (1374420788,), (1374420789,), (1374420791,), (1374420811,), (1374420853,), (1374420884,), (1374420885,), (1374420886,), (1374420887,), (1374420888,), (1374420890,), (1374420953,), (1374420960,), (1374420963,), (1374420964,), (1374420965,), (1374420969,), (1374421138,), (1374421139,), (1374421148,), (1374421155,), (1374421168,), (1374421193,), (1374421263,), (1374421265,), (1374421267,), (1374421268,), (1374421287,), (1374421312,), (1374421379,), (1374421383,), (1374421389,), (1374421395,), (1374421414,), (1374421436,), (1374421622,), (1374421654,), (1374421683,), (1374421708,), (1374421732,), (1374421757,), (1374422021,), (1374422047,), (1374422076,), (1374422101,), (1374422136,), (1374422187,), (1374422736,), (1374422949,), (1374423130,), (1374423158,), (1374423183,), (1374423207,), (1374423232,), (1374423258,), (1374423462,), (1374423467,), (1374423469,), (1374423470,), (1374423471,), (1374423473,), (1374423637,), (1374423662,), (1374423680,), (1374423681,), (1374423682,), (1374423684,), (1374423738,), (1374423765,), (1374423789,), (1374423813,), (1374423837,), (1374423863,), (1374424034,), (1374424035,), (1374424036,), (1374424037,), (1374424038,), (1374424040,), (1374424061,), (1374424062,), (1374424064,), (1374424066,), (1374424068,), (1374424070,), (1374424414,), (1374424442,), (1374424473,), (1374424499,), (1374424524,), (1374424558,), (1374424923,), (1374424978,), (1374425040,), (1374425093,), (1374425141,), (1374425183,), (1374425837,), (1374426319,), (1374426356,), (1374426403,), (1374426442,), (1374426473,), (1374426497,), (1374426712,), (1374426715,), (1374426718,), (1374426719,), (1374426721,), (1374426726,), (1374426741,), (1374426754,), (1374426764,), (1374426766,), (1374426767,), (1374426770,), (1374426860,), (1374426862,), (1374426864,), (1374426866,), (1374426867,), (1374426870,), (1374426983,), (1374426995,), (1374426997,), (1374426998,), (1374427001,), (1374427005,), (1374427027,), (1374427030,), (1374427032,), (1374427033,), (1374427035,), (1374427038,), (1374427311,), (1374427349,), (1374427389,), (1374427399,), (1374427407,), (1374427412,), (1374427483,), (1374427511,), (1374427552,), (1374427558,), (1374427570,), (1374427574,), (1374427611,), (1374427877,), (1374427878,), (1374427879,), (1374427880,), (1374427881,), (1374427893,), (1374428017,), (1374428046,), (1374428048,), (1374428049,), (1374428050,), (1374428052,), (1374428054,), (1374428083,), (1374428102,), (1374428109,), (1374428111,), (1374428112,), (1374428117,), (1374428137,), (1374428152,), (1374428177,), (1374428183,), (1374428187,), (1374428196,), (1374428197,), (1374428200,), (1374428218,), (1374428220,), (1374428234,), (1374428239,), (1374428241,), (1374428244,), (1374428273,), (1374428276,), (1374428300,), (1374428326,), (1374428350,), (1374428377,), (1374428553,), (1374428571,), (1374428579,), (1374428585,), (1374428587,), (1374428588,), (1374428591,), (1374428606,), (1374428608,), (1374428610,), (1374428612,), (1374428613,), (1374428616,), (1374428635,), (1374428650,), (1374428674,), (1374428699,), (1374428722,), (1374428746,), (1374429006,), (1374429033,), (1374429058,), (1374429082,), (1374429105,), (1374429130,), (1374429375,), (1374429402,), (1374429425,), (1374429450,), (1374429474,), (1374429501,), (1374429606,), (1374429609,), (1374429611,), (1374429612,), (1374429614,), (1374429617,), (1374429853,), (1374429881,), (1374429905,), (1374429907,), (1374429911,), (1374429937,), (1374429955,), (1374429963,), (1374429992,), (1374430015,), (1374430038,), (1374430065,), (1374430206,), (1374430212,), (1374430220,), (1374430225,), (1374430227,), (1374430230,), (1374434667,), (1374430445,), (1374430540,), (1374430542,), (1374430544,), (1374430545,), (1374430547,), (1374430550,), (1374430560,), (1374430579,), (1374430580,), (1374430582,), (1374430588,), (1374430595,), (1374430599,), (1374430613,), (1374430615,), (1374430620,), (1374430624,), (1374430629,), (1374430633,), (1374430638,), (1374430934,), (1374430960,), (1374430983,), (1374431030,), (1374431056,), (1374431083,), (1374431223,), (1374431285,), (1374431312,), (1374431331,), (1374431334,), (1374431366,), (1374431576,), (1374431598,), (1374431606,), (1374431607,), (1374431608,), (1374431610,), (1374431639,), (1374431641,), (1374431643,), (1374431645,), (1374431648,), (1374431649,), (1374431677,), (1374431678,), (1374431679,), (1374431680,), (1374431682,), (1374431685,), (1374431723,), (1374432043,), (1374432044,), (1374432045,), (1374432108,), (1374432164,), (1374432182,), (1374432214,), (1374432253,), (1374432278,), (1374432303,), (1374432313,), (1374432315,), (1374432460,), (1374432486,), (1374432515,), (1374432538,), (1374432562,), (1374432564,), (1374434611,), (1374432702,), (1374432706,), (1374432708,), (1374432709,), (1374432711,), (1374432735,), (1374432788,), (1374432790,), (1374432792,), (1374432793,), (1374432796,), (1374432820,), (1374433000,), (1374433025,), (1374433046,), (1374433052,), (1374433063,), (1374433068,), (1374433121,), (1374433123,), (1374433125,), (1374433126,), (1374433127,), (1374433129,), (1374433186,), (1374433190,), (1374433198,), (1374433202,), (1374433220,), (1374433242,), (1374433491,), (1374433646,), (1374433648,), (1374433650,), (1374433651,), (1374433652,), (1374433654,), (1374433673,), (1374433674,), (1374433675,), (1374433677,), (1374433700,), (1374433725,), (1374433895,), (1374433921,), (1374433936,), (1374433937,), (1374433946,), (1374433973,), (1374434008,), (1374434009,), (1374434010,), (1374434011,), (1374434013,), (1374434017,), (1374434034,), (1374434035,), (1374434036,), (1374434037,), (1374434039,), (1374434041,), (1374434065,), (1374434087,), (1374434095,), (1374434096,), (1374434098,), (1374434100,), (1374434104,), (1374434560,), (1374435202,), (1374435323,), (1374435396,), (1374435420,), (1374435443,), (1374435470,), (1374435495,), (1374435519,), (1374435667,), (1374435703,), (1374435716,), (1374435717,), (1374435718,), (1374435747,), (1374435864,), (1374435866,), (1374435868,), (1374435869,), (1374435870,), (1374435871,), (1374436024,), (1374436054,), (1374436083,), (1374436106,), (1374436133,), (1374436152,), (1374436248,), (1374436256,), (1374436258,), (1374436260,), (1374436261,), (1374436264,), (1374436280,), (1374436281,), (1374436283,), (1374436285,), (1374436288,), (1374436291,), (1374436303,), (1374436307,), (1374436309,), (1374436310,), (1374436312,), (1374436315,), (1374436331,), (1374436339,), (1374436342,), (1374436343,), (1374436345,), (1374436348,), (1374436390,), (1374436410,), (1374436414,), (1374436416,), (1374436418,), (1374436419,), (1374436422,), (1374436443,), (1374436444,), (1374436445,), (1374436446,), (1374436447,), (1374436449,), (1374436468,), (1374436469,), (1374436470,), (1374436471,), (1374436472,), (1374436476,), (1374436505,), (1374436535,), (1374436539,), (1374436540,), (1374436541,), (1374436542,), (1374436544,), (1374436583,), (1374436586,), (1374436587,), (1374436588,), (1374436589,), (1374436591,), (1374436609,), (1374436610,), (1374436611,), (1374436612,), (1374436614,), (1374436617,), (1374436635,), (1374436641,), (1374436643,), (1374436644,), (1374436645,), (1374436647,), (1374436659,), (1374436663,), (1374436664,), (1374436665,), (1374436668,), (1374436672,), (1374436732,), (1374436750,), (1374436751,), (1374436752,), (1374436753,), (1374436754,), (1374436756,), (1374436771,), (1374436772,), (1374436773,), (1374436774,), (1374436775,), (1374436777,), (1374436795,), (1374436798,), (1374436808,), (1374436812,), (1374436813,), (1374436815,), (1374436838,), (1374436861,), (1374436862,), (1374436863,), (1374436864,), (1374436866,), (1374436870,), (1374436887,), (1374436888,), (1374436892,), (1374436898,), (1374436899,), (1374436901,), (1374436918,), (1374436926,), (1374436928,), (1374436929,), (1374436931,), (1374436933,), (1374436952,), (1374436953,), (1374436954,), (1374436955,), (1374436956,), (1374436958,), (1374436982,), (1374436985,), (1374436987,), (1374436988,), (1374436990,), (1374436992,), (1374437007,), (1374437028,), (1374437029,), (1374437030,), (1374437031,), (1374437033,), (1374437036,), (1374437061,), (1374437086,), (1374437088,), (1374437090,), (1374437091,), (1374437092,), (1374437094,), (1374437117,), (1374437120,), (1374437123,), (1374437125,), (1374437128,), (1374437139,), (1374437169,), (1374437175,), (1374437182,), (1374437183,), (1374437185,), (1374437187,), (1374437201,), (1374437204,), (1374437207,), (1374437208,), (1374437209,), (1374437216,), (1374437242,), (1374437247,), (1374437249,), (1374437250,), (1374437251,), (1374437253,), (1374437266,), (1374437291,), (1374437298,), (1374437300,), (1374437301,), (1374437302,), (1374437304,), (1374437327,), (1374437368,), (1374437374,), (1374437378,), (1374437380,), (1374437382,), (1374437386,), (1374437563,), (1374437591,), (1374437610,), (1374437612,), (1374437614,), (1374437618,), (1374437637,), (1374437640,), (1374437643,), (1374437645,), (1374437647,), (1374437650,), (1374437669,), (1374437677,), (1374437684,), (1374437685,), (1374437687,), (1374437690,), (1374437709,), (1374437712,), (1374437714,), (1374437716,), (1374437719,), (1374437721,), (1374437762,), (1374437790,), (1374437793,), (1374437794,), (1374437795,), (1374437796,), (1374437798,), (1374437928,), (1374437963,), (1374437988,), (1374438013,), (1374438037,), (1374438062,), (1374438162,), (1374438168,), (1374438170,), (1374438172,), (1374438174,), (1374438177,), (1374438198,), (1374438224,), (1374438227,), (1374438238,), (1374438245,), (1374438247,), (1374438251,), (1374438301,), (1374438308,), (1374438312,), (1374438313,), (1374438315,), (1374438319,), (1374438409,), (1374438435,), (1374438462,), (1374438490,), (1374438516,), (1374438524,), (1374438541,), (1374438542,), (1374438544,), (1374438546,), (1374438549,), (1374438553,), (1374438576,), (1374438578,), (1374438579,), (1374438580,), (1374438582,), (1374438586,), (1374438623,), (1374438625,), (1374438627,), (1374438628,), (1374438629,), (1374438631,), (1374438824,), (1374438851,), (1374438874,), (1374438898,), (1374438921,), (1374438946,), (1374439769,), (1374440182,), (1374440521,), (1374440523,), (1374440525,), (1374440526,), (1374440528,), (1374440531,), (1374440723,), (1374440738,), (1374440740,), (1374440741,), (1374440765,), (1374440784,), (1374440860,), (1374440862,), (1374440865,), (1374440866,), (1374440868,), (1374440871,), (1374440895,), (1374440898,), (1374440901,), (1374440904,), (1374440907,), (1374440910,), (1374440933,), (1374440936,), (1374440939,), (1374440942,), (1374440943,), (1374440947,), (1374440964,), (1374440971,), (1374440981,), (1374440984,), (1374440987,), (1374440991,), (1374441008,), (1374441012,), (1374441015,), (1374441017,), (1374441020,), (1374441024,), (1374441045,), (1374441054,), (1374441078,), (1374441103,), (1374441128,), (1374441155,), (1374441382,), (1374441385,), (1374441388,), (1374441390,), (1374441392,), (1374441395,), (1374441444,), (1374441480,), (1374441482,), (1374441484,), (1374441485,), (1374441487,), (1374441490,), (1374441513,), (1374441523,), (1374441527,), (1374441530,), (1374441533,), (1374441537,), (1374441556,), (1374441558,), (1374441562,), (1374441566,), (1374441567,), (1374441571,), (1374441588,), (1374441622,), (1374441660,), (1374441667,), (1374441675,), (1374441685,), (1374441686,), (1374441688,), (1374441778,), (1374441781,), (1374441782,), (1374441783,), (1374441785,), (1374441787,), (1374441800,), (1374441802,), (1374441804,), (1374441805,), (1374441806,), (1374441808,), (1374441833,), (1374441835,), (1374441837,), (1374441838,), (1374441839,), (1374441842,), (1374441910,), (1374441951,), (1374441955,), (1374441957,), (1374441960,), (1374441962,), (1374441966,), (1374441978,), (1374441981,), (1374441983,), (1374441985,), (1374441987,), (1374441990,), (1374442007,), (1374442009,), (1374442021,), (1374442026,), (1374442034,), (1374442039,), (1374442050,), (1374442057,), (1374442065,), (1374442068,), (1374442069,), (1374442073,), (1374442085,), (1374442087,), (1374442089,), (1374442091,), (1374442093,), (1374442096,), (1374442110,), (1374442113,), (1374442115,), (1374442117,), (1374442118,), (1374442121,), (1374442145,), (1374442148,), (1374442151,), (1374442152,), (1374442154,), (1374442158,), (1374442183,), (1374442186,), (1374442189,), (1374442190,), (1374442191,), (1374442193,), (1374442218,), (1374442221,), (1374442224,), (1374442226,), (1374442228,), (1374442231,), (1374442246,), (1374442269,), (1374442272,), (1374442275,), (1374442276,), (1374442278,), (1374442281,), (1374442360,), (1374442617,), (1374442641,), (1374442665,), (1374442691,), (1374442709,), (1374442713,), (1374442845,), (1374443031,), (1374443047,), (1374443059,), (1374443060,), (1374443061,), (1374443066,), (1374443095,), (1374443096,), (1374443097,), (1374443098,), (1374443102,), (1374443106,), (1374443178,), (1374443200,), (1374443225,), (1374443237,), (1374443238,), (1374443252,), (1374443342,), (1374443345,), (1374443347,), (1374443348,), (1374443351,), (1374443359,), (1374443385,), (1374443391,), (1374443392,), (1374443393,), (1374443407,), (1374443439,), (1374443513,), (1374443517,), (1374443542,), (1374443552,), (1374443553,), (1374443555,), (1374443611,), (1374443832,), (1374443834,), (1374443843,), (1374443844,), (1374443845,), (1374443857,), (1374444002,), (1374444044,), (1374444070,), (1374444082,), (1374444083,), (1374444096,), (1374444197,), (1374444203,), (1374444205,), (1374444207,), (1374444208,), (1374444211,), (1374444314,), (1374444339,), (1374444340,), (1374444351,), (1374444377,), (1374444404,), (1374444704,), (1374444735,), (1374444760,), (1374444797,), (1374444823,), (1374444852,), (1374445183,), (1374445235,), (1374445287,), (1374445333,), (1374445376,), (1374445422,), (1374445799,), (1374445848,), (1374445898,), (1374445943,), (1374445988,), (1374446003,), (1374446338,), (1374446376,), (1374446403,), (1374446429,), (1374446454,), (1374446456,), (1374446553,), (1374446916,), (1374446941,), (1374446965,), (1374446989,), (1374446991,), (1374447005,), (1374447052,), (1374447055,), (1374447057,), (1374447058,), (1374447072,), (1374447108,), (1374447321,), (1374447326,), (1374447327,), (1374447328,), (1374447330,), (1374447334,), (1374447404,), (1374447707,), (1374447709,), (1374447711,), (1374447712,), (1374447714,), (1374447715,), (1374447752,), (1374447755,), (1374447758,), (1374447760,), (1374447762,), (1374447765,), (1374447814,), (1374447839,), (1374447864,), (1374447890,), (1374447916,), (1374447941,), (1374448415,), (1374448654,), (1374449051,), (1374449078,), (1374449105,), (1374449130,), (1374449143,), (1374449147,), (1374449252,), (1374449276,), (1374449302,), (1374449320,), (1374449322,), (1374449325,), (1374449603,), (1374449629,), (1374449654,), (1374449678,), (1374449703,), (1374449729,), (1374449898,), (1374449900,), (1374449902,), (1374449920,), (1374449948,), (1374449973,), (1374450147,), (1374450170,), (1374450173,), (1374450176,), (1374450179,), (1374450181,), (1374450219,), (1374450225,), (1374450229,), (1374450230,), (1374450233,), (1374450236,), (1374450248,), (1374450250,), (1374450252,), (1374450253,), (1374450254,), (1374450258,), (1374450273,), (1374450275,), (1374450276,), (1374450278,), (1374450280,), (1374450283,), (1374450306,), (1374450309,), (1374450312,), (1374450313,), (1374450314,), (1374450317,), (1374450369,), (1374450395,), (1374450399,), (1374450402,), (1374450405,), (1374450408,), (1374450412,), (1374450473,), (1374450501,), (1374450534,), (1374450563,), (1374450587,), (1374450613,), (1374450907,), (1374450932,), (1374450939,), (1374450941,), (1374450944,), (1374450947,), (1374450997,), (1374451027,), (1374451053,), (1374451076,), (1374451106,), (1374451132,), (1374451285,), (1374451318,), (1374451324,), (1374451328,), (1374451330,), (1374451332,), (1374451480,), (1374451485,), (1374451489,), (1374451490,), (1374451495,), (1374451498,), (1374451550,), (1374451554,), (1374451556,), (1374451558,), (1374451560,), (1374451563,), (1374451715,), (1374451812,), (1374451815,), (1374451818,), (1374451840,), (1374451864,), (1374451890,), (1374451950,), (1374452275,), (1374452286,), (1374452289,), (1374452293,), (1374452298,), (1374452300,), (1374452318,), (1374452320,), (1374452322,), (1374452323,), (1374452324,), (1374452326,), (1374452345,), (1374452358,), (1374452365,), (1374452369,), (1374452371,), (1374452407,), (1374452483,), (1374452519,), (1374452522,), (1374452525,), (1374452526,), (1374452528,), (1374452531,), (1374452558,), (1374452561,), (1374452564,), (1374452565,), (1374452567,), (1374452569,), (1374452582,), (1374452591,), (1374452602,), (1374452603,), (1374452605,), (1374452608,), (1374452640,), (1374452699,), (1374452701,), (1374452703,), (1374452705,), (1374452706,), (1374452709,), (1374452743,), (1374452766,), (1374452769,), (1374452771,), (1374452773,), (1374452774,), (1374452779,), (1374452793,), (1374452794,), (1374452795,), (1374452796,), (1374452797,), (1374452799,), (1374452828,), (1374452831,), (1374452833,), (1374452834,), (1374452836,), (1374452838,), (1374452861,), (1374452863,), (1374452864,), (1374452865,), (1374452867,), (1374452869,), (1374452893,), (1374452900,), (1374452901,), (1374452903,), (1374452906,), (1374452909,), (1374452939,), (1374452962,), (1374452965,), (1374452968,), (1374452969,), (1374452971,), (1374452976,), (1374452997,), (1374453000,), (1374453003,), (1374453007,), (1374453012,), (1374453016,), (1374453030,), (1374453032,), (1374453033,), (1374453034,), (1374453036,), (1374453039,), (1374453062,), (1374453095,), (1374453117,), (1374453119,), (1374453121,), (1374453122,), (1374453123,), (1374453125,), (1374453148,), (1374453149,), (1374453150,), (1374453151,), (1374453153,), (1374453155,), (1374453169,), (1374453172,), (1374453174,), (1374453176,), (1374453178,), (1374453182,), (1374454243,), (1374454247,), (1374454250,), (1374454254,), (1374454257,), (1374454260,), (1374454289,), (1374454292,), (1374454293,), (1374454296,), (1374454300,), (1374454303,), (1374454327,), (1374454333,), (1374454337,), (1374454341,), (1374454344,), (1374454348,), (1374454372,), (1374454377,), (1374454380,), (1374454383,), (1374454386,), (1374454390,), (1374454415,), (1374454420,), (1374454424,), (1374454427,), (1374454429,), (1374454434,), (1374454464,), (1374454468,), (1374454472,), (1374454476,), (1374454480,), (1374454484,), (1374454515,), (1374454520,), (1374454524,), (1374454527,), (1374454530,), (1374454533,), (1374454558,), (1374454561,), (1374454565,), (1374454568,), (1374454571,), (1374454574,), (1374454599,), (1374454602,), (1374454604,), (1374454606,), (1374454608,), (1374454611,), (1374454644,), (1374454648,), (1374454652,), (1374454655,), (1374454658,), (1374454662,), (1374454678,), (1374454682,), (1374454685,), (1374454688,), (1374454690,), (1374454693,), (1374454720,), (1374454723,), (1374454725,), (1374454726,), (1374454728,), (1374454731,), (1374454759,), (1374454762,), (1374454764,), (1374454766,), (1374454770,), (1374454774,), (1374454791,), (1374454797,), (1374454801,), (1374454804,), (1374454807,), (1374454810,), (1374454842,), (1374454848,), (1374454851,), (1374454854,), (1374454857,), (1374454862,), (1374454883,), (1374454896,), (1374454903,), (1374454911,), (1374454914,), (1374454917,), (1374454936,), (1374454978,), (1374454986,), (1374454996,), (1374454997,), (1374455000,), (1374455004,), (1374455021,), (1374455026,), (1374455030,), (1374455034,), (1374455037,), (1374455041,), (1374455061,), (1374455066,), (1374455070,), (1374455074,), (1374455076,), (1374455078,), (1374455115,), (1374455117,), (1374455124,), (1374455133,), (1374455140,), (1374455144,), (1374455245,), (1374455251,), (1374455257,), (1374455259,), (1374455261,), (1374455265,), (1374455325,), (1374455331,), (1374455332,), (1374455346,), (1374455352,), (1374455358,), (1374455442,), (1374455451,), (1374455456,), (1374455458,), (1374455460,), (1374455462,), (1374455492,), (1374455497,), (1374455502,), (1374455505,), (1374455507,), (1374455510,), (1374455531,), (1374455535,), (1374455537,), (1374455559,), (1374455562,), (1374455570,), (1374455636,), (1374455642,), (1374455645,), (1374455648,), (1374455657,), (1374455678,), (1374455945,), (1374455953,), (1374455957,), (1374455972,), (1374455993,), (1374456000,), (1374456054,), (1374456064,), (1374456071,), (1374456074,), (1374456092,), (1374456112,), (1374456192,), (1374456197,), (1374456199,), (1374456202,), (1374456206,), (1374456210,), (1374456234,), (1374456239,), (1374456242,), (1374456245,), (1374456247,), (1374456249,), (1374456270,), (1374456274,), (1374456277,), (1374456278,), (1374456279,), (1374456281,), (1374456301,), (1374456304,), (1374456307,), (1374456310,), (1374456313,), (1374456317,), (1374456342,), (1374456351,), (1374456356,), (1374456359,), (1374456361,), (1374456364,), (1374456396,), (1374456420,), (1374456443,), (1374456466,), (1374456487,), (1374456506,), (1374456608,), (1374456629,), (1374456634,), (1374456636,), (1374456639,), (1374456642,), (1374456661,), (1374456666,), (1374456671,), (1374456674,), (1374456677,), (1374456681,), (1374456722,), (1374456727,), (1374456732,), (1374456736,), (1374456742,), (1374456752,), (1374456821,), (1374456824,), (1374456827,), (1374456830,), (1374456833,), (1374456837,), (1374456982,), (1374457026,), (1374457077,), (1374457118,), (1374457139,), (1374457164,), (1374457409,), (1374457430,), (1374457450,), (1374457473,), (1374457497,), (1374457545,), (1374457657,), (1374457681,), (1374457701,), (1374457720,), (1374457740,), (1374457763,), (1374457874,), (1374458351,), (1374458401,), (1374458440,), (1374458475,), (1374458517,), (1374458555,), (1374458838,), (1374458885,), (1374458915,), (1374458945,), (1374458975,), (1374458997,), (1374459167,), (1374459174,), (1374459176,), (1374459179,), (1374459182,), (1374459197,), (1374459313,), (1374459443,), (1374459493,), (1374459549,), (1374459591,), (1374459646,), (1374459685,), (1374459967,), (1374460011,), (1374460046,), (1374460064,), (1374460066,), (1374460070,), (1374460203,), (1374460398,), (1374460403,), (1374460422,), (1374460444,), (1374460468,), (1374460501,), (1374460743,), (1374460766,), (1374460788,), (1374460807,), (1374460831,), (1374460855,), (1374460983,), (1374461254,), (1374461299,), (1374461346,), (1374461386,), (1374461413,), (1374461436,), (1374461594,), (1374461613,), (1374461616,), (1374461618,), (1374461620,), (1374461623,), (1374461645,), (1374461648,), (1374461650,), (1374461651,), (1374461653,), (1374461677,), (1374461829,), (1374461837,), (1374461878,), (1374461912,), (1374461938,), (1374461960,), (1374462202,), (1374462224,), (1374462245,), (1374462264,), (1374462283,), (1374462302,), (1374463243,), (1374463311,), (1374463357,), (1374463405,), (1374463472,), (1374463532,), (1374453201,), (1374453202,), (1374453203,), (1374453204,), (1374453206,), (1374453207,), (1374453224,), (1374453225,), (1374453226,), (1374453227,), (1374453228,), (1374453230,), (1374453247,), (1374453248,), (1374453249,), (1374453250,), (1374453251,), (1374453253,), (1374453273,), (1374453275,), (1374453277,), (1374453279,), (1374453281,), (1374453283,), (1374453311,), (1374453315,), (1374453318,), (1374453319,), (1374453322,), (1374453326,), (1374453349,), (1374453369,), (1374453370,), (1374453372,), (1374453374,), (1374453376,), (1374453379,), (1374453396,), (1374453398,), (1374453400,), (1374453402,), (1374453405,), (1374453409,), (1374453423,), (1374453424,), (1374453426,), (1374453427,), (1374453429,), (1374453433,), (1374453452,), (1374453455,), (1374453458,), (1374453460,), (1374453461,), (1374453463,), (1374453479,), (1374453481,), (1374453482,), (1374453483,), (1374453485,), (1374453489,), (1374453504,), (1374453507,), (1374453509,), (1374453511,), (1374453512,), (1374453515,), (1374453538,), (1374453539,), (1374453541,), (1374453542,), (1374453543,), (1374453545,), (1374453574,), (1374453579,), (1374453583,), (1374453586,), (1374453592,), (1374453597,), (1374453622,), (1374453644,), (1374453647,), (1374453650,), (1374453652,), (1374453656,), (1374453660,), (1374453677,), (1374453679,), (1374453682,), (1374453683,), (1374453684,), (1374453687,), (1374453702,), (1374453705,), (1374453708,), (1374453709,), (1374453711,), (1374453713,), (1374453733,), (1374453735,), (1374453736,), (1374453737,), (1374453739,), (1374453742,), (1374453761,), (1374453765,), (1374453768,), (1374453770,), (1374453773,), (1374453776,), (1374453788,), (1374453791,), (1374453792,), (1374453793,), (1374453795,), (1374453799,), (1374453814,), (1374453816,), (1374453818,), (1374453820,), (1374453823,), (1374453826,), (1374453839,), (1374453842,), (1374453843,), (1374453845,), (1374453848,), (1374453852,), (1374453865,), (1374453868,), (1374453869,), (1374453870,), (1374453871,), (1374453874,), (1374453896,), (1374453922,), (1374453926,), (1374453928,), (1374453929,), (1374453930,), (1374453932,), (1374453950,), (1374453953,), (1374453956,), (1374453957,), (1374453960,), (1374453963,), (1374453981,), (1374453984,), (1374453986,), (1374453987,), (1374453989,), (1374453992,), (1374454007,), (1374454010,), (1374454012,), (1374454013,), (1374454015,), (1374454020,), (1374454032,), (1374454034,), (1374454035,), (1374454036,), (1374454038,), (1374454040,), (1374454055,), (1374454057,), (1374454059,), (1374454061,), (1374454064,), (1374454068,), (1374454082,), (1374454084,), (1374454086,), (1374454088,), (1374454090,), (1374454094,), (1374454112,), (1374454134,), (1374454137,), (1374454139,), (1374454140,), (1374454144,), (1374454148,), (1374454171,), (1374463863,), (1374464353,), (1374464420,), (1374464480,), (1374464542,), (1374464600,), (1374464657,), (1374464965,), (1374464994,), (1374465004,), (1374465007,), (1374465017,), (1374465038,), (1374465181,), (1374465205,), (1374465228,), (1374465248,), (1374465255,), (1374465258,), (1374465277,), (1374465280,), (1374465283,), (1374465315,), (1374465353,), (1374465397,), (1374465694,), (1374465719,), (1374465748,), (1374465775,), (1374465777,), (1374465780,), (1374465848,), (1374466010,), (1374466031,), (1374466051,), (1374466070,), (1374466081,), (1374466091,), (1374466257,), (1374466270,), (1374466278,), (1374466284,), (1374466292,), (1374466306,), (1374466423,), (1374466446,), (1374466448,), (1374466450,), (1374466457,), (1374466478,), (1374466595,), (1374466628,), (1374466649,), (1374466670,), (1374466685,), (1374466691,), (1374466786,), (1374466788,), (1374466797,), (1374466803,), (1374466808,), (1374466810,), (1374466829,), (1374466830,), (1374466832,), (1374466833,), (1374466834,), (1374466838,), (1374466874,), (1374466891,), (1374466910,), (1374466929,), (1374466949,), (1374466953,), (1374467044,), (1374467060,), (1374467064,), (1374467067,), (1374467071,), (1374467075,), (1374475911,), (1374502361,), (1374467092,), (1374467102,), (1374467105,), (1374467108,), (1374467112,), (1374467116,), (1374467127,), (1374467130,), (1374467146,), (1374467166,), (1374467185,), (1374467204,), (1374467316,), (1374467339,), (1374467356,), (1374467357,), (1374467359,), (1374467376,), (1374467419,), (1374467422,), (1374467424,), (1374467427,), (1374467429,), (1374467432,), (1374467447,), (1374467451,), (1374467458,), (1374467467,), (1374467471,), (1374467474,), (1374467648,), (1374467670,), (1374467676,), (1374467683,), (1374467702,), (1374467716,), (1374467813,), (1374467817,), (1374467819,), (1374467822,), (1374467825,), (1374467829,), (1374467845,), (1374467847,), (1374467851,), (1374467854,), (1374467857,), (1374467867,), (1374467893,), (1374467895,), (1374467902,), (1374467908,), (1374467915,), (1374467918,), (1374467940,), (1374468204,), (1374468550,), (1374468588,), (1374468623,), (1374468643,), (1374468665,), (1374468683,), (1374468873,), (1374468894,), (1374468918,), (1374468945,), (1374468963,), (1374468965,), (1374469152,), (1374469158,), (1374469163,), (1374469167,), (1374469170,), (1374469172,), (1374469300,), (1374469323,), (1374469350,), (1374469371,), (1374469389,), (1374469410,), (1374469599,), (1374469620,), (1374469644,), (1374469669,), (1374469688,), (1374469708,), (1374469751,), (1374469771,), (1374469792,), (1374469814,), (1374469834,), (1374469843,), (1374469910,), (1374469968,), (1374469985,), (1374470005,), (1374470024,), (1374470043,), (1374470062,), (1374470264,), (1374470451,), (1374470474,), (1374470508,), (1374470550,), (1374470587,), (1374470623,), (1374470883,), (1374470922,), (1374470948,), (1374470976,), (1374470998,), (1374471004,), (1374471187,), (1374471189,), (1374471202,), (1374471220,), (1374471226,), (1374471240,), (1374471255,), (1374471257,), (1374471260,), (1374471263,), (1374471265,), (1374471267,), (1374471338,), (1374471364,), (1374471391,), (1374471411,), (1374471432,), (1374471457,), (1374471644,), (1374471665,), (1374471692,), (1374471719,), (1374471739,), (1374471757,), (1374471888,), (1374471916,), (1374471939,), (1374471974,), (1374472009,), (1374472031,), (1374472264,), (1374472303,), (1374472316,), (1374472320,), (1374472324,), (1374472327,), (1374472467,), (1374472470,), (1374472490,), (1374472497,), (1374472513,), (1374472571,), (1374473051,), (1374473106,), (1374473152,), (1374473209,), (1374473243,), (1374473250,), (1374473399,), (1374473414,), (1374473449,), (1374473487,), (1374473522,), (1374473559,), (1374473731,), (1374473772,), (1374473841,), (1374473894,), (1374473914,), (1374473919,), (1374474095,), (1374474146,), (1374474181,), (1374474194,), (1374474196,), (1374474197,), (1374474304,), (1374474325,), (1374474332,), (1374474335,), (1374474338,), (1374474340,), (1374474342,), (1374474364,), (1374474368,), (1374474377,), (1374474384,), (1374474385,), (1374474386,), (1374474397,), (1374474403,), (1374474409,), (1374474412,), (1374474414,), (1374474417,), (1374474428,), (1374474431,), (1374474434,), (1374474436,), (1374474438,), (1374474440,), (1374474452,), (1374474469,), (1374474493,), (1374474504,), (1374474512,), (1374474522,), (1374474589,), (1374474591,), (1374474592,), (1374474594,), (1374474595,), (1374474598,), (1374474760,), (1374474781,), (1374474802,), (1374474821,), (1374474842,), (1374474864,), (1374475139,), (1374475174,), (1374475210,), (1374475244,), (1374475274,), (1374475306,), (1374475381,), (1374475385,), (1374475387,), (1374475390,), (1374475392,), (1374475394,), (1374475855,), (1374476569,), (1374476953,), (1374476955,), (1374476974,), (1374476991,), (1374477013,), (1374477031,), (1374477116,), (1374477121,), (1374477131,), (1374477138,), (1374477141,), (1374477144,), (1374477158,), (1374477166,), (1374477173,), (1374477177,), (1374477178,), (1374477180,), (1374477193,), (1374477227,), (1374477231,), (1374477236,), (1374477239,), (1374477241,), (1374477244,), (1374477271,), (1374477274,), (1374477281,), (1374477286,), (1374477292,), (1374477293,), (1374477351,), (1374477355,), (1374477358,), (1374477360,), (1374477362,), (1374477365,), (1374477374,), (1374477377,), (1374477380,), (1374477382,), (1374477385,), (1374477388,), (1374477397,), (1374477403,), (1374477410,), (1374477411,), (1374477413,), (1374477415,), (1374477434,), (1374477437,), (1374477443,), (1374477450,), (1374477453,), (1374477456,), (1374477463,), (1374477469,), (1374477471,), (1374477474,), (1374477476,), (1374477480,), (1374477511,), (1374477523,), (1374477525,), (1374477535,), (1374477541,), (1374477549,), (1374477560,), (1374477562,), (1374477564,), (1374477565,), (1374477569,), (1374477573,), (1374477642,), (1374477666,), (1374477685,), (1374477693,), (1374477695,), (1374477707,), (1374477764,), (1374477790,), (1374477804,), (1374477808,), (1374477810,), (1374477812,), (1374477838,), (1374477844,), (1374477847,), (1374477850,), (1374477851,), (1374477852,), (1374477878,), (1374477899,), (1374477902,), (1374477909,), (1374477917,), (1374477919,), (1374477922,), (1374477930,), (1374477938,), (1374477946,), (1374477949,), (1374477952,), (1374477954,), (1374477976,), (1374477995,), (1374478000,), (1374478005,), (1374478006,), (1374478009,), (1374478012,), (1374478023,), (1374478027,), (1374478030,), (1374478032,), (1374478035,), (1374478038,), (1374478194,), (1374478218,), (1374478241,), (1374478264,), (1374478284,), (1374478303,), (1374478417,), (1374478426,), (1374478428,), (1374478430,), (1374478434,), (1374478437,), (1374478450,), (1374478471,), (1374478478,), (1374478485,), (1374478487,), (1374478489,), (1374478491,), (1374478504,), (1374478510,), (1374478519,), (1374478525,), (1374478526,), (1374478528,), (1374478544,), (1374478566,), (1374478571,), (1374478574,), (1374478576,), (1374478579,), (1374478583,), (1374478598,), (1374478601,), (1374478607,), (1374478615,), (1374478616,), (1374478618,), (1374478628,), (1374478630,), (1374478632,), (1374478634,), (1374478636,), (1374478646,), (1374478659,), (1374478662,), (1374478665,), (1374478667,), (1374478670,), (1374478673,), (1374478682,), (1374478685,), (1374478690,), (1374478696,), (1374478703,), (1374478705,), (1374478716,), (1374478718,), (1374478720,), (1374478722,), (1374478724,), (1374478726,), (1374478743,), (1374478756,), (1374478781,), (1374478806,), (1374478827,), (1374478848,), (1374479040,), (1374479194,), (1374479198,), (1374479217,), (1374479248,), (1374479288,), (1374479327,), (1374479503,), (1374479537,), (1374479542,), (1374479550,), (1374479570,), (1374479576,), (1374479585,), (1374479593,), (1374479599,), (1374479602,), (1374479606,), (1374479609,), (1374479650,), (1374479653,), (1374479656,), (1374479658,), (1374479659,), (1374479662,), (1374479672,), (1374479679,), (1374479687,), (1374479690,), (1374479693,), (1374479696,), (1374479710,), (1374479712,), (1374479714,), (1374479716,), (1374479721,), (1374479744,), (1374479914,), (1374479943,), (1374479974,), (1374480014,), (1374480040,), (1374480062,), (1374480286,), (1374480343,), (1374480433,), (1374480510,), (1374480562,), (1374480606,), (1374480985,), (1374481024,), (1374481063,), (1374481097,), (1374481120,), (1374481132,), (1374481329,), (1374481344,), (1374481379,), (1374481413,), (1374481438,), (1374481459,), (1374481777,), (1374481796,), (1374481857,), (1374481898,), (1374481905,), (1374481912,), (1374481967,), (1374481970,), (1374481973,), (1374481975,), (1374481978,), (1374481981,), (1374481991,), (1374481993,), (1374482000,), (1374482007,), (1374482008,), (1374482011,), (1374482035,), (1374482037,), (1374482039,), (1374482041,), (1374482043,), (1374482046,), (1374482055,), (1374482058,), (1374482061,), (1374482070,), (1374482074,), (1374482077,), (1374482085,), (1374482089,), (1374482093,), (1374482096,), (1374482098,), (1374482101,), (1374482116,), (1374482123,), (1374482128,), (1374482130,), (1374482131,), (1374482133,), (1374482144,), (1374482146,), (1374482148,), (1374482149,), (1374482152,), (1374482155,), (1374482163,), (1374482166,), (1374482173,), (1374482176,), (1374482178,), (1374482181,), (1374482209,), (1374482222,), (1374482227,), (1374482232,), (1374482234,), (1374482236,), (1374482239,), (1374482246,), (1374482391,), (1374482418,), (1374482444,), (1374482464,), (1374482486,), (1374482510,), (1374482739,), (1374483134,), (1374483178,), (1374483222,), (1374483262,), (1374483302,), (1374483353,), (1374483775,), (1374483959,), (1374483976,), (1374483983,), (1374483990,), (1374484003,), (1374484026,), (1374484076,), (1374484079,), (1374484082,), (1374484085,), (1374484087,), (1374484091,), (1374484109,), (1374484116,), (1374484125,), (1374484129,), (1374484130,), (1374484133,), (1374484146,), (1374484149,), (1374484151,), (1374484153,), (1374484155,), (1374484163,), (1374484327,), (1374484348,), (1374484369,), (1374484388,), (1374484411,), (1374484434,), (1374484592,), (1374484613,), (1374484632,), (1374484650,), (1374484670,), (1374484693,), (1374484802,), (1374484839,), (1374484890,), (1374484934,), (1374484974,), (1374485012,), (1374485278,), (1374485300,), (1374485323,), (1374485345,), (1374485366,), (1374485390,), (1374485725,), (1374485768,), (1374485805,), (1374485824,), (1374485834,), (1374485867,), (1374486007,), (1374486027,), (1374486030,), (1374486031,), (1374486033,), (1374486036,), (1374486046,), (1374486048,), (1374486050,), (1374486052,), (1374486054,), (1374486057,), (1374486080,), (1374486093,), (1374486096,), (1374486098,), (1374486099,), (1374486101,), (1374486118,), (1374486122,), (1374486124,), (1374486125,), (1374486126,), (1374486127,), (1374486285,), (1374486307,), (1374486334,), (1374486352,), (1374486371,), (1374486387,), (1374486396,), (1374486402,), (1374486405,), (1374486408,), (1374486410,), (1374486412,), (1374486423,), (1374486427,), (1374486433,), (1374486441,), (1374486442,), (1374486443,), (1374486497,), (1374486509,), (1374486521,), (1374486530,), (1374486533,), (1374486535,), (1374486552,), (1374486558,), (1374486563,), (1374486565,), (1374486567,), (1374486570,), (1374486582,), (1374486586,), (1374486593,), (1374486596,), (1374486598,), (1374486599,), (1374486611,), (1374486615,), (1374486621,), (1374486623,), (1374486642,), (1374486664,), (1374486828,), (1374486850,), (1374486881,), (1374486904,), (1374486926,), (1374486949,), (1374487017,), (1374487021,), (1374487025,), (1374487028,), (1374487030,), (1374487033,), (1374487042,), (1374487045,), (1374487047,), (1374487049,), (1374487051,), (1374487054,), (1374487085,), (1374487086,), (1374487107,), (1374487120,), (1374487123,), (1374487126,), (1374487172,), (1374487331,), (1374487334,), (1374487351,), (1374487365,), (1374487368,), (1374487370,), (1374487455,), (1374487477,), (1374487478,), (1374487479,), (1374487481,), (1374487486,), (1374487514,), (1374487522,), (1374487525,), (1374487526,), (1374487529,), (1374487531,), (1374487543,), (1374487545,), (1374487547,), (1374487548,), (1374487549,), (1374487551,), (1374487565,), (1374487569,), (1374487598,), (1374487607,), (1374487611,), (1374487618,), (1374487637,), (1374487668,), (1374487696,), (1374487698,), (1374487700,), (1374487704,), (1374487717,), (1374487720,), (1374487723,), (1374487725,), (1374487727,), (1374487730,), (1374487745,), (1374487747,), (1374487749,), (1374487750,), (1374487751,), (1374487753,), (1374487782,), (1374487785,), (1374487786,), (1374487804,), (1374487824,), (1374487845,), (1374488043,), (1374488067,), (1374488088,), (1374488111,), (1374488132,), (1374488152,), (1374488491,), (1374489068,), (1374489077,), (1374489081,), (1374489082,), (1374489092,), (1374489122,), (1374489324,), (1374489354,), (1374489400,), (1374489456,), (1374489508,), (1374489569,), (1374489691,), (1374489694,), (1374489696,), (1374489697,), (1374489698,), (1374489700,), (1374489714,), (1374489733,), (1374489735,), (1374489737,), (1374489739,), (1374489750,), (1374489769,), (1374489911,), (1374489932,), (1374489937,), (1374489939,), (1374489966,), (1374489981,), (1374490072,), (1374490073,), (1374490075,), (1374490077,), (1374490090,), (1374490113,), (1374490251,), (1374490283,), (1374490308,), (1374490333,), (1374490353,), (1374490372,), (1374490573,), (1374490577,), (1374490579,), (1374490580,), (1374490581,), (1374490583,), (1374490715,), (1374490728,), (1374490731,), (1374490740,), (1374490744,), (1374490746,), (1374490749,), (1374490816,), (1374490821,), (1374490823,), (1374490825,), (1374490827,), (1374490830,), (1374490939,), (1374490941,), (1374490960,), (1374490976,), (1374490977,), (1374490979,), (1374490998,), (1374491000,), (1374491001,), (1374491002,), (1374491004,), (1374491007,), (1374491019,), (1374491024,), (1374491039,), (1374491041,), (1374491045,), (1374491048,), (1374491083,), (1374491085,), (1374491088,), (1374491089,), (1374491090,), (1374491094,), (1374491109,), (1374491111,), (1374491113,), (1374491115,), (1374491117,), (1374491120,), (1374491148,), (1374491153,), (1374491156,), (1374491166,), (1374491169,), (1374491170,), (1374491368,), (1374491381,), (1374491398,), (1374491410,), (1374491423,), (1374491447,), (1374491687,), (1374491707,), (1374491728,), (1374491748,), (1374491766,), (1374491786,), (1374491896,), (1374491900,), (1374491912,), (1374491928,), (1374491946,), (1374491966,), (1374492140,), (1374492181,), (1374492203,), (1374492221,), (1374492241,), (1374492261,), (1374492426,), (1374492429,), (1374492439,), (1374492441,), (1374492458,), (1374492479,), (1374492562,), (1374492564,), (1374492566,), (1374492567,), (1374492570,), (1374492573,), (1374492593,), (1374492599,), (1374492601,), (1374492603,), (1374492612,), (1374492619,), (1374492628,), (1374492630,), (1374492632,), (1374492635,), (1374492637,), (1374492640,), (1374492650,), (1374492654,), (1374492657,), (1374492660,), (1374492662,), (1374492665,), (1374492676,), (1374492679,), (1374492682,), (1374492684,), (1374492685,), (1374492695,), (1374492858,), (1374492885,), (1374492902,), (1374492921,), (1374492939,), (1374492958,), (1374493165,), (1374493175,), (1374493176,), (1374493177,), (1374493179,), (1374493186,), (1374493340,), (1374493358,), (1374493364,), (1374493366,), (1374493368,), (1374493370,), (1374493383,), (1374493386,), (1374493389,), (1374493391,), (1374493393,), (1374493395,), (1374493409,), (1374493411,), (1374493415,), (1374493418,), (1374493421,), (1374493425,), (1374493434,), (1374493458,), (1374493460,), (1374493461,), (1374493462,), (1374493464,), (1374493466,), (1374493484,), (1374493485,), (1374493486,), (1374493487,), (1374493493,), (1374493497,), (1374493508,), (1374493528,), (1374493530,), (1374493533,), (1374493535,), (1374493537,), (1374493539,), (1374493554,), (1374493557,), (1374493559,), (1374493561,), (1374493564,), (1374493566,), (1374493591,), (1374493594,), (1374493597,), (1374493600,), (1374493602,), (1374493605,), (1374493627,), (1374493665,), (1374493701,), (1374493724,), (1374493747,), (1374493768,), (1374493926,), (1374494299,), (1374494327,), (1374494354,), (1374494375,), (1374494398,), (1374494417,), (1374494632,), (1374494673,), (1374494705,), (1374494731,), (1374494739,), (1374494749,), (1374494895,), (1374494898,), (1374494900,), (1374494902,), (1374494904,), (1374494907,), (1374494917,), (1374494919,), (1374494925,), (1374494930,), (1374494933,), (1374494935,), (1374494949,), (1374494950,), (1374494955,), (1374494963,), (1374494966,), (1374494969,), (1374494999,), (1374495016,), (1374495019,), (1374495027,), (1374495037,), (1374495040,), (1374495108,), (1374495115,), (1374495121,), (1374495123,), (1374495125,), (1374495129,), (1374495152,), (1374495154,), (1374495156,), (1374495157,), (1374495160,), (1374495166,), (1374495183,), (1374495201,), (1374495220,), (1374495238,), (1374495256,), (1374495275,), (1374495471,), (1374495888,), (1374495931,), (1374495974,), (1374496012,), (1374496047,), (1374496107,), (1374496360,), (1374496395,), (1374496420,), (1374496449,), (1374496478,), (1374496516,), (1374496610,), (1374496630,), (1374496649,), (1374496669,), (1374496690,), (1374496715,), (1374496823,), (1374496843,), (1374496845,), (1374496846,), (1374496859,), (1374496878,), (1374496904,), (1374496907,), (1374496911,), (1374496914,), (1374496915,), (1374496918,), (1374496953,), (1374496955,), (1374496972,), (1374496984,), (1374496985,), (1374496987,), (1374497003,), (1374497026,), (1374497058,), (1374497094,), (1374497166,), (1374497213,), (1374497309,), (1374497330,), (1374497352,), (1374497374,), (1374497394,), (1374497414,), (1374497581,), (1374497606,), (1374497636,), (1374497657,), (1374497675,), (1374497698,), (1374497787,), (1374497793,), (1374497802,), (1374497823,), (1374497829,), (1374497860,), (1374497993,), (1374498026,), (1374498055,), (1374498110,), (1374498149,), (1374498160,), (1374498282,), (1374498416,), (1374498418,), (1374498420,), (1374498428,), (1374498452,), (1374498473,), (1374498533,), (1374498541,), (1374498562,), (1374498590,), (1374498625,), (1374498661,), (1374498856,), (1374498877,), (1374498926,), (1374498989,), (1374499050,), (1374499107,), (1374499498,), (1374499538,), (1374499575,), (1374499576,), (1374499614,), (1374499648,), (1374499688,), (1374499927,), (1374499959,), (1374500001,), (1374500031,), (1374500064,), (1374500091,), (1374500125,), (1374500127,), (1374500133,), (1374500147,), (1374500172,), (1374500194,), (1374500377,), (1374500397,), (1374500421,), (1374500455,), (1374500480,), (1374500489,), (1374500585,), (1374500589,), (1374500591,), (1374500593,), (1374500596,), (1374500600,), (1374500676,), (1374500696,), (1374500713,), (1374500732,), (1374500749,), (1374500768,), (1374500937,), (1374500956,), (1374500974,), (1374500992,), (1374501012,), (1374501014,), (1374501035,), (1374501037,), (1374501038,), (1374501040,), (1374501041,), (1374501042,), (1374501048,), (1374501050,), (1374501051,), (1374501053,), (1374501054,), (1374501055,), (1374501067,), (1374501070,), (1374501073,), (1374501074,), (1374501075,), (1374501077,), (1374501621,), (1374502182,), (1374502229,), (1374502268,), (1374502302,), (1374502321,), (1374502505,), (1374502515,), (1374502531,), (1374502536,), (1374502552,), (1374502556,), (1374502677,), (1374502733,), (1374502784,), (1374502829,), (1374502867,), (1374502897,), (1374503001,), (1374503022,), (1374503025,), (1374503027,), (1374503028,), (1374503030,), (1374503046,), (1374503065,), (1374503067,), (1374503070,), (1374503073,), (1374503075,), (1374503076,), (1374503081,), (1374503118,), (1374503154,), (1374503193,), (1374503234,), (1374503267,), (1374503307,), (1374503530,), (1374503669,), (1374503673,), (1374503693,), (1374503705,), (1374503711,), (1374503714,), (1374503727,), (1374503734,), (1374503738,), (1374503741,), (1374503743,), (1374503746,), (1374503759,), (1374503763,), (1374503767,), (1374503769,), (1374503780,), (1374503814,), (1374504174,), (1374504192,), (1374504226,), (1374504268,), (1374504290,), (1374504320,), (1374504536,), (1374504555,), (1374504575,), (1374504601,), (1374504629,), (1374504639,), (1374504724,), (1374504728,), (1374504752,), (1374504772,), (1374504796,), (1374504823,), (1374504991,), (1374505016,), (1374505041,), (1374505063,), (1374505087,), (1374505112,), (1374505158,), (1374505160,), (1374505162,), (1374505164,), (1374505166,), (1374505169,), (1374505184,), (1374505342,), (1374505382,), (1374505420,), (1374505457,), (1374505501,), (1374505610,), (1374505612,), (1374505621,), (1374505643,), (1374505675,), (1374505715,), (1374505781,), (1374505783,), (1374505793,), (1374505800,), (1374505802,), (1374505805,), (1374505821,), (1374505822,), (1374505835,), (1374505838,), (1374505839,), (1374505840,), (1374505857,), (1374505878,), (1374505900,), (1374505931,), (1374505955,), (1374505974,), (1374506187,), (1374506231,), (1374506295,), (1374506352,), (1374506406,), (1374506453,), (1374506794,), (1374506840,), (1374506898,), (1374506912,), (1374506914,), (1374506916,), (1374507100,), (1374507162,), (1374507165,), (1374507168,), (1374507174,), (1374507187,), (1374507193,), (1374507203,), (1374507206,), (1374507209,), (1374507212,), (1374507215,), (1374507218,), (1374507229,), (1374507231,), (1374507238,), (1374507239,), (1374507240,), (1374507242,), (1374507272,), (1374507748,), (1374507819,), (1374507857,), (1374507890,), (1374507895,), (1374507899,), (1374508084,), (1374508129,), (1374508185,), (1374508212,), (1374508232,), (1374508289,), (1374508474,), (1374508491,), (1374508517,), (1374508534,), (1374508557,), (1374508580,), (1374508699,), (1374508717,), (1374508728,), (1374508735,), (1374508737,), (1374508747,), (1374509060,), (1374509099,), (1374509138,), (1374509172,), (1374509208,), (1374509239,), (1374509398,), (1374509400,), (1374509412,), (1374509442,), (1374509455,), (1374509470,), (1374509479,), (1374509481,), (1374509490,), (1374509495,), (1374509498,), (1374509500,), (1374509517,), (1374509518,), (1374509523,), (1374509536,), (1374509537,), (1374509539,), (1374509553,), (1374509555,), (1374509558,), (1374509560,), (1374509563,), (1374509564,), (1374509886,), (1374510179,), (1374510232,), (1374510282,), (1374510314,), (1374510355,), (1374510384,), (1374510591,), (1374510612,), (1374510634,), (1374510657,), (1374510681,), (1374510703,), (1374510848,), (1374510850,), (1374510852,), (1374510869,), (1374510894,), (1374510922,), (1374511034,), (1374511037,), (1374511084,), (1374511127,), (1374511195,), (1374511239,), (1374511481,), (1374511484,), (1374511511,), (1374511553,), (1374511579,), (1374511581,), (1374511664,), (1374511666,), (1374511669,), (1374511671,), (1374511672,), (1374511674,), (1374511689,), (1374511691,), (1374511702,), (1374511712,), (1374511717,), (1374511718,), (1374511730,), (1374511749,), (1374511752,), (1374511755,), (1374511758,), (1374511759,), (1374511762,), (1374511771,), (1374511773,), (1374511776,), (1374511779,), (1374511781,), (1374511783,), (1374512129,), (1374512172,), (1374512206,), (1374512240,), (1374512281,), (1374512319,), (1374512457,), (1374512691,), (1374512695,), (1374512703,), (1374512708,), (1374512710,), (1374512713,), (1374512723,), (1374512762,), (1374512798,), (1374512827,), (1374512864,), (1374512900,), (1374513131,), (1374513135,), (1374513157,), (1374513199,), (1374513221,), (1374513223,), (1374513282,), (1374513302,), (1374513303,), (1374513304,), (1374513305,), (1374513307,), (1374513310,), (1374513322,), (1374513324,), (1374513326,), (1374513328,), (1374513330,), (1374513333,), (1374513346,), (1374513359,), (1374513432,), (1374513468,), (1374513508,), (1374513550,), (1374514213,), (1374514240,), (1374514264,), (1374514288,), (1374514314,), (1374514336,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'30072025': {'nb_upload': 26, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([25503854]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] map_info['map_portfolio_photo'] : {25503854: [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032]} final : True mtd_id 4302 list_pids : [1374454171, 1374454148, 1374454144, 1374454140, 1374454139, 1374454137, 1374454134, 1374454112, 1374454094, 1374454090, 1374454088, 1374454086, 1374454084, 1374454082, 1374454068, 1374454064, 1374454061, 1374454059, 1374454057, 1374454055, 1374454040, 1374454038, 1374454036, 1374454035, 1374454034, 1374454032] Looping around the photos to save general results len do output : 1 /25503854Didn'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, '3460707') ('4302', '25503854', '1374454171', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454148', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454144', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454140', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454139', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454137', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454134', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454112', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454094', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454090', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454088', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454086', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454084', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454082', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454068', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454064', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454061', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454059', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454057', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454055', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454040', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454038', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454036', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454035', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454034', None, None, None, None, None, '3460707') ('4302', None, None, None, None, None, None, None, '3460707') ('4302', '25503854', '1374454032', None, None, None, None, None, '3460707') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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, '25503854', 'None', None, None, None, None, '3460707'), ('4302', '25503854', '1374454171', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454148', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454144', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454140', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454139', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454137', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454134', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454112', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454094', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454090', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454088', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454086', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454084', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454082', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454068', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454064', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454061', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454059', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454057', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454055', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454040', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454038', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454036', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454035', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454034', None, None, None, None, None, '3460707'), ('4302', '25503854', '1374454032', None, None, None, None, None, '3460707')] time used for this insertion : 0.01700615882873535 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.871831178665161 time spend to save output : 0.017199277877807617 total time spend for step 5 : 5.889030456542969 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 (3460707) 3.03user 2.55system 0:19.00elapsed 29%CPU (0avgtext+0avgdata 168612maxresident)k 72inputs+21312outputs (9major+78261minor)pagefaults 0swaps