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 : 1212440 load datou : 4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2647002) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2647002) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127175 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2647002'] with mtr_portfolio_ids : ['21127175'] and first list_photo_ids : [] new path : /proc/1212440/ Name: python3 Umask: 0002 State: R (running) Tgid: 1212440 Ngid: 0 Pid: 1212440 PPid: 1212437 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1212440 NSpid: 1212440 NSpgid: 1211746 NSsid: 1211746 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99724 kB VmRSS: 99724 kB RssAnon: 59768 kB RssFile: 39956 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 560 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 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: 46 nonvoluntary_ctxt_switches: 134 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1212440', 'Ngid': '0', 'Pid': '1212440', 'PPid': '1212437', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1212440', 'NSpid': '1212440', 'NSpgid': '1211746', 'NSsid': '1211746', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99724 kB', 'VmRSS': '99724 kB', 'RssAnon': '59768 kB', 'RssFile': '39956 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '560 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', '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': '46', 'nonvoluntary_ctxt_switches': '134'} ('datou_batch_current', '1212440', '1106844', '0', '1106844', '865592', '99724', b'', 'marlene', '2647002') 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 (21127175) 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 (2647002 ) ) 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 (21127175) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1341298953, 'portfolio_id': 21127175}, {'photo_id': 1341298905, 'portfolio_id': 21127175}, {'photo_id': 1341298891, 'portfolio_id': 21127175}, {'photo_id': 1341298865, 'portfolio_id': 21127175}, {'photo_id': 1341298857, 'portfolio_id': 21127175}, {'photo_id': 1341298855, 'portfolio_id': 21127175}, {'photo_id': 1341298831, 'portfolio_id': 21127175}, {'photo_id': 1341298826, 'portfolio_id': 21127175}, {'photo_id': 1341298822, 'portfolio_id': 21127175}, {'photo_id': 1341298817, 'portfolio_id': 21127175}, {'photo_id': 1341298813, 'portfolio_id': 21127175}, {'photo_id': 1341298810, 'portfolio_id': 21127175}, {'photo_id': 1341298777, 'portfolio_id': 21127175}, {'photo_id': 1341298772, 'portfolio_id': 21127175}, {'photo_id': 1341298726, 'portfolio_id': 21127175}, {'photo_id': 1341298703, 'portfolio_id': 21127175}, {'photo_id': 1341298510, 'portfolio_id': 21127175}, {'photo_id': 1341298506, 'portfolio_id': 21127175}, {'photo_id': 1341298499, 'portfolio_id': 21127175}, {'photo_id': 1341298464, 'portfolio_id': 21127175}, {'photo_id': 1341298460, 'portfolio_id': 21127175}, {'photo_id': 1341298064, 'portfolio_id': 21127175}, {'photo_id': 1341298058, 'portfolio_id': 21127175}, {'photo_id': 1341298055, 'portfolio_id': 21127175}, {'photo_id': 1341296441, 'portfolio_id': 21127175}, {'photo_id': 1341296435, 'portfolio_id': 21127175}, {'photo_id': 1341296402, 'portfolio_id': 21127175}, {'photo_id': 1341296395, 'portfolio_id': 21127175}, {'photo_id': 1341296393, 'portfolio_id': 21127175}, {'photo_id': 1341296317, 'portfolio_id': 21127175}] map_portfolio_id_photo_id: {21127175: [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317]} ##### 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.22987914085388184 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Mar 7 06:06:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21127175) 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 : 21127175 get user id for portfolio 21127175 get sub ptf for main ptf 21127175, type 3726 and hashtags ['Carton_brun', 'cartonnette', 'environnement', 'flou', 'autre_refus', 'mal_croppe', 'metal', 'Teint_Dans_La_Masse', 'papier', 'plastique', 'kraft', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21127175 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','autre_refus','mal_croppe','metal','Teint_Dans_La_Masse','papier','plastique','kraft','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21127175 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','autre_refus','mal_croppe','metal','Teint_Dans_La_Masse','papier','plastique','kraft','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21127175, 'sub_port_id': 21127184, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729906, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'autre_refus': {'main_port_id': 21127175, 'sub_port_id': 21127185, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729907, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'Carton_brun': {'main_port_id': 21127175, 'sub_port_id': 21127186, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729908, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'papier': {'main_port_id': 21127175, 'sub_port_id': 21127187, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729909, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'Carton_gris': {'main_port_id': 21127175, 'sub_port_id': 21127188, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729910, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'environnement': {'main_port_id': 21127175, 'sub_port_id': 21127189, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729911, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'mal_croppe': {'main_port_id': 21127175, 'sub_port_id': 21127190, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729912, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'metal': {'main_port_id': 21127175, 'sub_port_id': 21127191, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729913, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'cartonnette': {'main_port_id': 21127175, 'sub_port_id': 21127192, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729914, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'kraft': {'main_port_id': 21127175, 'sub_port_id': 21127193, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729915, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'plastique': {'main_port_id': 21127175, 'sub_port_id': 21127194, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729916, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}, 'Teint_Dans_La_Masse': {'main_port_id': 21127175, 'sub_port_id': 21127195, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729917, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 56)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21127184 , 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=21127175 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 (21127184) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127185 , 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=21127175 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 (21127185) result : ((1341297873,), (1341298007,), (1341298008,), (1341298009,), (1341298010,), (1341302459,), (1341302460,), (1341302461,), (1341302462,), (1341302880,), (1341302881,), (1341302891,), (1341302892,), (1341302893,), (1341303738,), (1341303754,), (1341303755,), (1341303764,), (1341303765,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127186 , 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=21127175 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 (21127186) result : ((1341297879,), (1341298021,), (1341302471,), (1341302901,), (1341302902,), (1341303757,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127187 , 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=21127175 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 (21127187) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127188 , 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=21127175 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 (21127188) result : ((1341297874,), (1341297875,), (1341297876,), (1341297877,), (1341298012,), (1341302469,), (1341302895,), (1341302896,), (1341303739,), (1341303756,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127189 , 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=21127175 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 (21127189) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127190 , 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=21127175 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 (21127190) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127191 , 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=21127175 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 (21127191) result : ((1341302904,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127192 , 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=21127175 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 (21127192) result : ((1341298016,), (1341298017,), (1341298018,), (1341302899,), (1341303744,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127193 , 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=21127175 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 (21127193) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127194 , 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=21127175 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 (21127194) result : ((1341298023,), (1341298024,), (1341298025,), (1341302474,), (1341302475,), (1341302476,), (1341303745,), (1341303767,), (1341303768,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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 21127195 , 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=21127175 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 (21127195) result : ((1341297872,), (1341298001,), (1341298002,), (1341298003,), (1341298004,), (1341298005,), (1341302452,), (1341302453,), (1341302877,), (1341302879,), (1341302888,), (1341302889,), (1341303734,), (1341303735,), (1341303736,), (1341303737,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21127175) result : ((1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,)) 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`=21127175 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','autre_refus','mal_croppe','metal','Teint_Dans_La_Masse','papier','plastique','kraft','Carton_gris')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21127175 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','cartonnette','environnement','flou','autre_refus','mal_croppe','metal','Teint_Dans_La_Masse','papier','plastique','kraft','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 21127175, 'sub_port_id': 21127197, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729918, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'autre_refus': {'main_port_id': 21127175, 'sub_port_id': 21127198, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729919, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'Carton_brun': {'main_port_id': 21127175, 'sub_port_id': 21127199, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729920, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'papier': {'main_port_id': 21127175, 'sub_port_id': 21127200, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729921, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'Carton_gris': {'main_port_id': 21127175, 'sub_port_id': 21127201, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729922, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'environnement': {'main_port_id': 21127175, 'sub_port_id': 21127202, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729923, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'mal_croppe': {'main_port_id': 21127175, 'sub_port_id': 21127203, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729924, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'metal': {'main_port_id': 21127175, 'sub_port_id': 21127204, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729925, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'cartonnette': {'main_port_id': 21127175, 'sub_port_id': 21127205, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729926, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'kraft': {'main_port_id': 21127175, 'sub_port_id': 21127206, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729927, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'plastique': {'main_port_id': 21127175, 'sub_port_id': 21127207, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729928, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 21127175, 'sub_port_id': 21127208, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13729929, 'last_updated_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 20, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 20, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127197,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127184 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127198,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127185 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127199,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127186 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127200,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127187 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127201,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127188 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127202,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127189 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127203,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127190 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127204,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127191 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127205,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127192 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127206,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127193 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127207,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127194 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21127208,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21127195 lien utilise dans velours : https://www.fotonower.com/velours/21127197,21127198,21127199,21127200,21127201,21127202,21127203,21127204,21127205,21127206,21127207,21127208?tags=flou,autre_refus,Carton_brun,papier,Carton_gris,environnement,mal_croppe,metal,cartonnette,kraft,plastique,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21127175]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] map_info['map_portfolio_photo'] : {21127175: [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317]} final : False mtd_id 4302 list_pids : [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] Looping around the photos to save general results len do output : 1 /21127175. 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, '2647002') ('4302', '21127175', '1341298953', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298905', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298891', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298865', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298857', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298855', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298831', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298826', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298822', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298817', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298813', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298810', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298777', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298772', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298726', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298703', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298510', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298506', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298499', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298464', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298460', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298064', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298058', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298055', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296441', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296435', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296402', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296395', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296393', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296317', None, None, None, None, None, '2647002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21127175', "{'flou': 21127184, 'autre_refus': 21127185, 'Carton_brun': 21127186, 'papier': 21127187, 'Carton_gris': 21127188, 'environnement': 21127189, 'mal_croppe': 21127190, 'metal': 21127191, 'cartonnette': 21127192, 'kraft': 21127193, 'plastique': 21127194, 'Teint_Dans_La_Masse': 21127195}", None, None, None, None, '2647002'), ('4302', '21127175', '1341298953', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298905', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298891', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298865', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298857', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298855', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298831', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298826', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298822', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298817', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298813', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298810', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298777', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298772', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298726', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298703', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298510', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298506', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298499', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298464', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298460', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298064', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298058', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298055', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296441', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296435', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296402', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296395', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296393', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296317', None, None, None, None, None, '2647002')] time used for this insertion : 0.020511388778686523 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.066038131713867 time spend to save output : 0.02096390724182129 total time spend for step 1 : 2.0870020389556885 step2:final Fri Mar 7 06:06:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (21127175) 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 21127175 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1341296317,1341296402,1341296395,1341296393,1341296441,1341296435,1341298064,1341298058,1341298055,1341298510,1341298506,1341298499,1341298464,1341298460,1341298777,1341298772,1341298726,1341298703,1341298831,1341298826,1341298822,1341298817,1341298813,1341298810,1341298905,1341298891,1341298865,1341298857,1341298855,1341298953); 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([21127175]) Inside saveOutput : final : False verbose : True original output for save of step final : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} new output for save of step final : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] map_info['map_portfolio_photo'] : {21127175: [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317]} final : False mtd_id 4302 list_pids : [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] Looping around the photos to save general results len do output : 30 /1341298953.Didn't retrieve data . /1341298905.Didn't retrieve data . /1341298891.Didn't retrieve data . /1341298865.Didn't retrieve data . /1341298857.Didn't retrieve data . /1341298855.Didn't retrieve data . /1341298831.Didn't retrieve data . /1341298826.Didn't retrieve data . /1341298822.Didn't retrieve data . /1341298817.Didn't retrieve data . /1341298813.Didn't retrieve data . /1341298810.Didn't retrieve data . /1341298777.Didn't retrieve data . /1341298772.Didn't retrieve data . /1341298726.Didn't retrieve data . /1341298703.Didn't retrieve data . /1341298510.Didn't retrieve data . /1341298506.Didn't retrieve data . /1341298499.Didn't retrieve data . /1341298464.Didn't retrieve data . /1341298460.Didn't retrieve data . /1341298064.Didn't retrieve data . /1341298058.Didn't retrieve data . /1341298055.Didn't retrieve data . /1341296441.Didn't retrieve data . /1341296435.Didn't retrieve data . /1341296402.Didn't retrieve data . /1341296395.Didn't retrieve data . /1341296393.Didn't retrieve data . /1341296317.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, '2647002') ('4302', '21127175', '1341298953', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298905', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298891', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298865', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298857', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298855', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298831', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298826', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298822', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298817', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298813', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298810', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298777', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298772', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298726', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298703', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298510', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298506', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298499', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298464', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298460', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298064', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298058', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298055', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296441', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296435', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296402', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296395', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296393', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296317', None, None, None, None, None, '2647002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 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', '21127175', '1341298953', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298905', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298891', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298865', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298857', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298855', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298831', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298826', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298822', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298817', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298813', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298810', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298777', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298772', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298726', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298703', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298510', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298506', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298499', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298464', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298460', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298064', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298058', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341298055', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341296441', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341296435', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341296402', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341296395', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341296393', '0.055497659940647946', None, None, None, None, '2647002'), ('4302', '21127175', '1341296317', '0.055497659940647946', None, None, None, None, '2647002')] time used for this insertion : 0.9090356826782227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07009744644165039 time spend to save output : 0.9103031158447266 total time spend for step 2 : 0.980400562286377 step3:velours_tree Fri Mar 7 06:06:31 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 : {21127175: [{'flou': 21127184, 'autre_refus': 21127185, 'Carton_brun': 21127186, 'papier': 21127187, 'Carton_gris': 21127188, 'environnement': 21127189, 'mal_croppe': 21127190, 'metal': 21127191, 'cartonnette': 21127192, 'kraft': 21127193, 'plastique': 21127194, 'Teint_Dans_La_Masse': 21127195}]} input_args_next_step : {21127175: ()} output_args : {21127175: [{'flou': 21127184, 'autre_refus': 21127185, 'Carton_brun': 21127186, 'papier': 21127187, 'Carton_gris': 21127188, 'environnement': 21127189, 'mal_croppe': 21127190, 'metal': 21127191, 'cartonnette': 21127192, 'kraft': 21127193, 'plastique': 21127194, 'Teint_Dans_La_Masse': 21127195}]} args : 21127175 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': 21127184, 'autre_refus': 21127185, 'Carton_brun': 21127186, 'papier': 21127187, 'Carton_gris': 21127188, 'environnement': 21127189, 'mal_croppe': 21127190, 'metal': 21127191, 'cartonnette': 21127192, 'kraft': 21127193, 'plastique': 21127194, 'Teint_Dans_La_Masse': 21127195},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21127175) 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([21127175]) 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.33051443099975586 time spend to save output : 3.933906555175781e-05 total time spend for step 3 : 0.3305537700653076 step4:send_mail_cod Fri Mar 7 06:06:31 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 : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} input_args_next_step : {1341298953: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298953 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298905 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298891 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298865 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298857 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298855 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298831 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298826 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298822 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298817 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298813 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298810 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298777 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298772 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298726 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298703 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298510 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298506 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298499 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298464 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298460 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298064 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298058 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341298055 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341296441 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341296435 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341296402 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341296395 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341296393 depend.output_id : 0 input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ()} output_args : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',)} args : 1341296317 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 : {21127175: [{'flou': 21127184, 'autre_refus': 21127185, 'Carton_brun': 21127186, 'papier': 21127187, 'Carton_gris': 21127188, 'environnement': 21127189, 'mal_croppe': 21127190, 'metal': 21127191, 'cartonnette': 21127192, 'kraft': 21127193, 'plastique': 21127194, 'Teint_Dans_La_Masse': 21127195}]} input_args_next_step : {1341298953: ('0.055497659940647946',), 1341298905: ('0.055497659940647946',), 1341298891: ('0.055497659940647946',), 1341298865: ('0.055497659940647946',), 1341298857: ('0.055497659940647946',), 1341298855: ('0.055497659940647946',), 1341298831: ('0.055497659940647946',), 1341298826: ('0.055497659940647946',), 1341298822: ('0.055497659940647946',), 1341298817: ('0.055497659940647946',), 1341298813: ('0.055497659940647946',), 1341298810: ('0.055497659940647946',), 1341298777: ('0.055497659940647946',), 1341298772: ('0.055497659940647946',), 1341298726: ('0.055497659940647946',), 1341298703: ('0.055497659940647946',), 1341298510: ('0.055497659940647946',), 1341298506: ('0.055497659940647946',), 1341298499: ('0.055497659940647946',), 1341298464: ('0.055497659940647946',), 1341298460: ('0.055497659940647946',), 1341298064: ('0.055497659940647946',), 1341298058: ('0.055497659940647946',), 1341298055: ('0.055497659940647946',), 1341296441: ('0.055497659940647946',), 1341296435: ('0.055497659940647946',), 1341296402: ('0.055497659940647946',), 1341296395: ('0.055497659940647946',), 1341296393: ('0.055497659940647946',), 1341296317: ('0.055497659940647946',), 21127175: ()} output_args : {21127175: [{'flou': 21127184, 'autre_refus': 21127185, 'Carton_brun': 21127186, 'papier': 21127187, 'Carton_gris': 21127188, 'environnement': 21127189, 'mal_croppe': 21127190, 'metal': 21127191, 'cartonnette': 21127192, 'kraft': 21127193, 'plastique': 21127194, 'Teint_Dans_La_Masse': 21127195}]} args : 21127175 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 :31, first value : ('0.055497659940647946',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21127175) 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 (1341298953,1341298905,1341298891,1341298865,1341298857,1341298855,1341298831,1341298826,1341298822,1341298817,1341298813,1341298810,1341298777,1341298772,1341298726,1341298703,1341298510,1341298506,1341298499,1341298464,1341298460,1341298064,1341298058,1341298055,1341296441,1341296435,1341296402,1341296395,1341296393,1341296317) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1341296317 begin to download photo : 1341298058 begin to download photo : 1341298703 begin to download photo : 1341298822 begin to download photo : 1341298905 download finish for photo 1341298822 begin to download photo : 1341298826 download finish for photo 1341296317 begin to download photo : 1341296393 download finish for photo 1341298905 begin to download photo : 1341298953 download finish for photo 1341298058 begin to download photo : 1341298064 download finish for photo 1341298703 begin to download photo : 1341298726 download finish for photo 1341296393 begin to download photo : 1341296395 download finish for photo 1341298953 download finish for photo 1341298826 begin to download photo : 1341298831 download finish for photo 1341298064 begin to download photo : 1341298460 download finish for photo 1341298726 begin to download photo : 1341298772 download finish for photo 1341298831 begin to download photo : 1341298855 download finish for photo 1341296395 begin to download photo : 1341296402 download finish for photo 1341298772 begin to download photo : 1341298777 download finish for photo 1341298460 begin to download photo : 1341298464 download finish for photo 1341296402 begin to download photo : 1341296435 download finish for photo 1341298855 begin to download photo : 1341298857 download finish for photo 1341298777 begin to download photo : 1341298810 download finish for photo 1341298464 begin to download photo : 1341298499 download finish for photo 1341298857 begin to download photo : 1341298865 download finish for photo 1341296435 begin to download photo : 1341296441 download finish for photo 1341298810 begin to download photo : 1341298813 download finish for photo 1341298499 begin to download photo : 1341298506 download finish for photo 1341298865 begin to download photo : 1341298891 download finish for photo 1341296441 begin to download photo : 1341298055 download finish for photo 1341298813 begin to download photo : 1341298817 download finish for photo 1341298506 begin to download photo : 1341298510 download finish for photo 1341298891 download finish for photo 1341298817 download finish for photo 1341298055 download finish for photo 1341298510 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette211271841741323992/ length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P21127175_07-03-2025_06_06_32.pdf 21127184 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=21127184 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211271841741323992 21127185 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=21127185 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341302880: '1741290534_1539145_1341298831_716a47e764e8a0c0f6a3975e3ee339f1_rle_crop_3696413445_0.png', 1341303765: '1741290834_1549432_1341298064_60ec76b8e35746d309b7f555479b0bd6_rle_crop_3696415042_0.png', 1341303764: '1741290834_1549432_1341298064_60ec76b8e35746d309b7f555479b0bd6_rle_crop_3696415032_0.png', 1341303755: '1741290818_1549202_1341298055_ef6212afb8c1fc1104c6cae14fb468ce_rle_crop_3696415392_0.png', 1341303754: '1741290818_1549202_1341298058_25f06a0dcdb93645a34a3479c79479ae_rle_crop_3696415375_0.png', 1341303738: '1741290792_1548987_1341298499_b2f2321477aa68661a5c369519c54c05_rle_crop_3696415213_0.png', 1341302893: '1741290513_1538978_1341298817_2052514ccbbdc733b86f926161588fd6_rle_crop_3696413630_0.png', 1341302892: '1741290513_1538978_1341298826_457ba535c4f0a8c2ab906b295ee7c315_rle_crop_3696413460_0.png', 1341302891: '1741290513_1538978_1341298905_078e60b86f59d9d4c89d03841a1ad83c_rle_crop_3696413432_0.png', 1341302881: '1741290534_1539145_1341298726_d0a03f33875ae34508370f37cdb4e7d4_rle_crop_3696413501_0.png', 1341297873: '1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387262_0.png', 1341302462: '1741290335_1530806_1341298855_0ef4e47987a1f1dddbdd5fa1f61221b1_rle_crop_3696408999_0.png', 1341302461: '1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408896_0.png', 1341302460: '1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408887_0.png', 1341302459: '1741290335_1530806_1341298953_56f4223d0c0566a519cef96e0668333d_rle_crop_3696408757_0.png', 1341298010: '1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696391143_0.png', 1341298009: '1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_bib_crop_3696388121_0.jpg', 1341298008: '1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_bib_crop_3696388091_0.jpg', 1341298007: '1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696391111_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/336b54171e8737b90b281503c1f28820_78865439.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a4c372e235cc2df90a8d3bbad84c4912_51307922.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/23d3b60ae2d6dd70efabf9061723c508_82856833.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/fab198f791957d0b0c45de1dd891929a_41421973.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9ac8562735b3227040fbfbcaa881d597_65033615.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bba6d6bb00552203cce66f894c4ccb60_18602426.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0fee0b78a5bca9270b3e0a88eca06a65_1000353.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1b5da4c999f8140624287ad75b60b04f_75611514.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/435b9f564ff4e58d42573feed307836d_4738073.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dc79baf481c5e6032a8dfc560357a096_11847858.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2935a1f686616ff28544c05b4d8e6e9a_54112706.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c5b96e2f4ed3dc58e6aa5ba3afc2604d_71290021.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e659ee2d5e00a96138f7755032e7e610_29658175.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1bd0aac699c342e4a90d2bced1040846_44193141.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/842e672823a92f672444ab441d3f0b5b_53846705.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dbb08590475fb18cde03273f84e0306c_97836543.png change filename to text .wget -O 17.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c3f83fa02a883808bd4a85d2679607b5_19157566.jpg change filename to text .wget -O 18.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b4e188d37162f4fdda0833943d0ceb1b_17202938.jpg change filename to text .imagette211271851741323992/ imagette211271851741323992/1741290513_1538978_1341298905_078e60b86f59d9d4c89d03841a1ad83c_rle_crop_3696413432_0.png.png imagette211271851741323992/1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696391143_0.png.png imagette211271851741323992/1741290534_1539145_1341298831_716a47e764e8a0c0f6a3975e3ee339f1_rle_crop_3696413445_0.png.png imagette211271851741323992/1741290534_1539145_1341298726_d0a03f33875ae34508370f37cdb4e7d4_rle_crop_3696413501_0.png.png imagette211271851741323992/1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408887_0.png.png imagette211271851741323992/1741290513_1538978_1341298817_2052514ccbbdc733b86f926161588fd6_rle_crop_3696413630_0.png.png imagette211271851741323992/1741290834_1549432_1341298064_60ec76b8e35746d309b7f555479b0bd6_rle_crop_3696415032_0.png.png imagette211271851741323992/1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696391111_0.png.png imagette211271851741323992/1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408896_0.png.png imagette211271851741323992/1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387262_0.png.png imagette211271851741323992/1741290818_1549202_1341298055_ef6212afb8c1fc1104c6cae14fb468ce_rle_crop_3696415392_0.png.png imagette211271851741323992/1741290335_1530806_1341298953_56f4223d0c0566a519cef96e0668333d_rle_crop_3696408757_0.png.png imagette211271851741323992/1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_bib_crop_3696388091_0.jpg.jpg imagette211271851741323992/1741290834_1549432_1341298064_60ec76b8e35746d309b7f555479b0bd6_rle_crop_3696415042_0.png.png imagette211271851741323992/1741290792_1548987_1341298499_b2f2321477aa68661a5c369519c54c05_rle_crop_3696415213_0.png.png imagette211271851741323992/1741290335_1530806_1341298855_0ef4e47987a1f1dddbdd5fa1f61221b1_rle_crop_3696408999_0.png.png imagette211271851741323992/1741290513_1538978_1341298826_457ba535c4f0a8c2ab906b295ee7c315_rle_crop_3696413460_0.png.png imagette211271851741323992/1741290818_1549202_1341298058_25f06a0dcdb93645a34a3479c79479ae_rle_crop_3696415375_0.png.png imagette211271851741323992/1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_bib_crop_3696388121_0.jpg.jpg imagette211271901741323994/ wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6e2b9b6a1962a678525d17886d6deaca_36178948.png imagette211271851741323992 21127190 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=21127190 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211271901741323994 21127191 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=21127191 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341302904: '1741290513_1538978_1341298822_e6170a58adc1de03a25b06dcfc0be0ea_rle_crop_3696413516_0.png'} change filename to text .imagette211271911741323994/ imagette211271911741323994/1741290513_1538978_1341298822_e6170a58adc1de03a25b06dcfc0be0ea_rle_crop_3696413516_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/257068e24ad5e0f2cc1e985f37447aab_51703636.png imagette211271911741323994 21127192 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=21127192 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341298016: '1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388115_0.png', 1341298017: '1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388114_0.png', 1341298018: '1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696388133_0.png', 1341302899: '1741290513_1538978_1341298826_457ba535c4f0a8c2ab906b295ee7c315_rle_crop_3696413461_0.png', 1341303744: '1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415315_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3a7a265139adff65bf1066d869fa252f_57053052.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ed19ddf41567160e7615202751a8b5c3_14702989.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b948a1c33a7000469aa6add5c367fff5_80657609.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a1e4bd18ed8e491eebe1c52e4317cc01_83828808.png change filename to text .imagette211271921741323994/ imagette211271921741323994/1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388115_0.png.png imagette211271921741323994/1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415315_0.png.png imagette211271921741323994/1741290513_1538978_1341298826_457ba535c4f0a8c2ab906b295ee7c315_rle_crop_3696413461_0.png.png imagette211271921741323994/1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388114_0.png.png imagette211271921741323994/1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696388133_0.png.png imagette211271931741323994/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c89fa1b3249ea945f2e87acd1858d940_2128399.png imagette211271921741323994 21127193 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=21127193 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211271931741323994 21127194 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=21127194 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341298023: '1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388099_0.png', 1341298024: '1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388093_0.png', 1341298025: '1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696388147_0.png', 1341302474: '1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408897_0.png', 1341302475: '1741290335_1530806_1341298857_592cf23947e0da5d4106c8203c271626_rle_crop_3696408926_0.png', 1341302476: '1741290335_1530806_1341298855_0ef4e47987a1f1dddbdd5fa1f61221b1_rle_crop_3696409001_0.png', 1341303745: '1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415331_0.png', 1341303767: '1741290834_1549432_1341296435_225275f6e7db4338ce179e32a6a20b8a_rle_crop_3696415068_0.png', 1341303768: '1741290834_1549432_1341296435_225275f6e7db4338ce179e32a6a20b8a_rle_crop_3696415059_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/275e6d7437943252352a84e8f51a39e6_81388318.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/956f364465ed0652aa0a4e8a2ed30298_12736860.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/59c93000acb9fb57d4cafd239ae1ffe6_79231649.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2f40a1484a84f30ca30dfd8ab5f3ab4a_41680929.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/56171098d395c24421ecd45aab98d17c_63177090.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a7c933885fad0763aa389d370877d8de_80133131.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ad544fa6112eacab1190d84b89ea8475_44784451.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/be12384fb4f98c24122bd2688971b2b1_90021396.png change filename to text .imagette211271941741323994/ imagette211271941741323994/1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696388147_0.png.png imagette211271941741323994/1741290335_1530806_1341298857_592cf23947e0da5d4106c8203c271626_rle_crop_3696408926_0.png.png imagette211271941741323994/1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388093_0.png.png imagette211271941741323994/1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388099_0.png.png imagette211271941741323994/1741290834_1549432_1341296435_225275f6e7db4338ce179e32a6a20b8a_rle_crop_3696415068_0.png.png imagette211271941741323994/1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408897_0.png.png imagette211271941741323994/1741290335_1530806_1341298855_0ef4e47987a1f1dddbdd5fa1f61221b1_rle_crop_3696409001_0.png.png imagette211271941741323994/1741290834_1549432_1341296435_225275f6e7db4338ce179e32a6a20b8a_rle_crop_3696415059_0.png.png imagette211271941741323994/1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415331_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6d132bc2ebc87b5ff0e53b9c62f0f7ac_21502667.png imagette211271941741323994 21127186 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=21127186 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341297879: '1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387264_0.png', 1341298021: '1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388087_0.png', 1341302471: '1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408891_0.png', 1341302901: '1741290513_1538978_1341298905_078e60b86f59d9d4c89d03841a1ad83c_rle_crop_3696413428_0.png', 1341302902: '1741290513_1538978_1341298810_216ca471da9e266169588f60fbb74d40_rle_crop_3696413667_0.png', 1341303757: '1741290818_1549202_1341298058_25f06a0dcdb93645a34a3479c79479ae_rle_crop_3696415374_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/480878100be903b9575f85d6bcdad86d_79069906.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ddcdcd1e4602c94a99ee393e8394082d_79722170.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1dba9f2c5d5f71c270bb2375cb7deaa2_6520621.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dcfef78d2396abe8a4f63d12e44e6b5a_82830112.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3e9a0b66ffbf9251e2b2538cfad48b5f_30808951.png change filename to text .imagette211271861741323995/ imagette211271861741323995/1741290513_1538978_1341298905_078e60b86f59d9d4c89d03841a1ad83c_rle_crop_3696413428_0.png.png imagette211271861741323995/1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408891_0.png.png imagette211271861741323995/1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388087_0.png.png imagette211271861741323995/1741290818_1549202_1341298058_25f06a0dcdb93645a34a3479c79479ae_rle_crop_3696415374_0.png.png imagette211271861741323995/1741290513_1538978_1341298810_216ca471da9e266169588f60fbb74d40_rle_crop_3696413667_0.png.png imagette211271861741323995/1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387264_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d1a3bbca1b94f77e88ab402bb4fd0316_68202816.png imagette211271861741323995 21127188 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=21127188 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341297874: '1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387253_0.png', 1341297875: '1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387260_0.png', 1341297876: '1741288953_1476384_1341296317_9155e2cb83dc4889614cbba13ce74380_rle_crop_3696387279_0.png', 1341297877: '1741288953_1476384_1341296317_9155e2cb83dc4889614cbba13ce74380_rle_crop_3696387280_0.png', 1341298012: '1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388083_0.png', 1341302469: '1741290335_1530806_1341298855_0ef4e47987a1f1dddbdd5fa1f61221b1_rle_crop_3696409003_0.png', 1341302895: '1741290513_1538978_1341298822_e6170a58adc1de03a25b06dcfc0be0ea_rle_crop_3696413517_0.png', 1341302896: '1741290513_1538978_1341298822_e6170a58adc1de03a25b06dcfc0be0ea_rle_crop_3696413519_0.png', 1341303739: '1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415317_0.png', 1341303756: '1741290818_1549202_1341298055_ef6212afb8c1fc1104c6cae14fb468ce_rle_crop_3696415391_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5cc2511fbc4019f69ebccc634c171a24_51152276.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ed13b34a5fa0412aa0a80a3e9eba792f_14269621.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f34f5913c45f1f85c02f516830f7ee2e_91132577.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5a27066080a57cf85595447183bdbc1c_24003860.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1bc06e19404897221e3429321f0772b6_38172046.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c59467c03981a7861db9d1dd36c5e4d4_11262134.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/edcf8e8bf8a022bef995edbf23a6f11b_68187661.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ef45c5717c229c7592cac71454d58077_26435517.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7a50ae1b9266cffdcca5c8c187bbb6fe_80973843.png change filename to text .imagette211271881741323996/ imagette211271881741323996/1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415317_0.png.png imagette211271881741323996/1741289034_1477532_1341296441_0c122d8eafc092f8ded42719564c6aac_rle_crop_3696388083_0.png.png imagette211271881741323996/1741290818_1549202_1341298055_ef6212afb8c1fc1104c6cae14fb468ce_rle_crop_3696415391_0.png.png imagette211271881741323996/1741288953_1476384_1341296317_9155e2cb83dc4889614cbba13ce74380_rle_crop_3696387279_0.png.png imagette211271881741323996/1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387253_0.png.png imagette211271881741323996/1741290335_1530806_1341298855_0ef4e47987a1f1dddbdd5fa1f61221b1_rle_crop_3696409003_0.png.png imagette211271881741323996/1741290513_1538978_1341298822_e6170a58adc1de03a25b06dcfc0be0ea_rle_crop_3696413519_0.png.png imagette211271881741323996/1741288953_1476384_1341296317_9155e2cb83dc4889614cbba13ce74380_rle_crop_3696387280_0.png.png imagette211271881741323996/1741290513_1538978_1341298822_e6170a58adc1de03a25b06dcfc0be0ea_rle_crop_3696413517_0.png.png imagette211271881741323996/1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387260_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7e30908c5e907ffa096df2c883841cce_50644469.png imagette211271881741323996 21127195 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=21127195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341297872: '1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387266_0.png', 1341298001: '1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388122_0.png', 1341298002: '1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388119_0.png', 1341298003: '1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_bib_crop_3696388137_0.jpg', 1341298004: '1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696391164_0.png', 1341298005: '1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696388142_0.png', 1341302452: '1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408895_0.png', 1341302453: '1741290335_1530806_1341298857_592cf23947e0da5d4106c8203c271626_rle_crop_3696408923_0.png', 1341302877: '1741290534_1539145_1341298772_2c1793dd3956248940dc4130b26c0508_rle_crop_3696413454_0.png', 1341302879: '1741290534_1539145_1341298726_d0a03f33875ae34508370f37cdb4e7d4_rle_crop_3696413505_0.png', 1341302888: '1741290513_1538978_1341298813_1fe2f99471a9fe896d700ed4defec443_rle_crop_3696413655_0.png', 1341302889: '1741290513_1538978_1341298813_1fe2f99471a9fe896d700ed4defec443_rle_crop_3696413650_0.png', 1341303734: '1741290792_1548987_1341298499_b2f2321477aa68661a5c369519c54c05_rle_crop_3696415210_0.png', 1341303735: '1741290792_1548987_1341298499_b2f2321477aa68661a5c369519c54c05_rle_crop_3696415207_0.png', 1341303736: '1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415332_0.png', 1341303737: '1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415330_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e53f0d69794fd4bc517b1e11913bab36_60326124.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c1aa672ca4e46d0ebe38f6ed1d1a46af_71273748.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3249776bcdc70603bad0fae2292a0482_82378800.png change filename to text .wget -O 4.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/449b914d09d624802a66e429e67da1dc_8311238.jpg change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/17405e38c344cd0d010f51cc4a408175_19400327.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0b52b21197e240144dca4b2318f286e7_67435229.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5ecd81974c4c61f621166a088752d690_25701308.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3ca828e89c8594955c00460b87263fba_6731159.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ae67cc5a8296a95351eadcc4c352e960_1344440.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/03edd6637cd4940637ce2430a9888d6a_35221203.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ff40644dfeec56e81dc4419fe096c084_88649637.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/742f57ef2bf7d7f9833491198e3f7360_53975688.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bab1663c7715440669f50027adf25e9a_45729305.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f15d1d2c5205c2530b7b69d54847d6de_62256244.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/38bd2d4abd37c3d8ced4e3f47902bb0f_27781868.png change filename to text .imagette211271951741323997/ imagette211271951741323997/1741290792_1548987_1341298499_b2f2321477aa68661a5c369519c54c05_rle_crop_3696415207_0.png.png imagette211271951741323997/1741290534_1539145_1341298726_d0a03f33875ae34508370f37cdb4e7d4_rle_crop_3696413505_0.png.png imagette211271951741323997/1741290513_1538978_1341298813_1fe2f99471a9fe896d700ed4defec443_rle_crop_3696413655_0.png.png imagette211271951741323997/1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696391164_0.png.png imagette211271951741323997/1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415332_0.png.png imagette211271951741323997/1741290335_1530806_1341298857_592cf23947e0da5d4106c8203c271626_rle_crop_3696408923_0.png.png imagette211271951741323997/1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388119_0.png.png imagette211271951741323997/1741290335_1530806_1341298865_c1970c27fddc3ce02281c3b7d860ded3_rle_crop_3696408895_0.png.png imagette211271951741323997/1741290792_1548987_1341298499_b2f2321477aa68661a5c369519c54c05_rle_crop_3696415210_0.png.png imagette211271951741323997/1741290513_1538978_1341298813_1fe2f99471a9fe896d700ed4defec443_rle_crop_3696413650_0.png.png imagette211271951741323997/1741290534_1539145_1341298772_2c1793dd3956248940dc4130b26c0508_rle_crop_3696413454_0.png.png imagette211271951741323997/1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_rle_crop_3696388142_0.png.png imagette211271951741323997/1741289034_1477532_1341296395_9b02e1e9e0bc01c4db1158b28cae0964_rle_crop_3696388122_0.png.png imagette211271951741323997/1741290792_1548987_1341298464_4e5877271f606330b80add927a2ea584_rle_crop_3696415330_0.png.png imagette211271951741323997/1741289034_1477532_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7_bib_crop_3696388137_0.jpg.jpg imagette211271951741323997/1741288953_1476384_1341296402_52a16868b243661ec60c63813cee89aa_rle_crop_3696387266_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4f2c0972a60d152868a98d031dbdccc1_93733250.png imagette211271951741323997 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21127175 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21127197,21127198,21127199,21127200,21127201,21127202,21127203,21127204,21127205,21127206,21127207,21127208?tags=flou,autre_refus,Carton_brun,papier,Carton_gris,environnement,mal_croppe,metal,cartonnette,kraft,plastique,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1341298953] : ('0.055497659940647946',) no score found for photo 1341298953 We are sending mail with results at report@fotonower.com args[1341298905] : ('0.055497659940647946',) no score found for photo 1341298905 We are sending mail with results at report@fotonower.com args[1341298891] : ('0.055497659940647946',) no score found for photo 1341298891 We are sending mail with results at report@fotonower.com args[1341298865] : ('0.055497659940647946',) no score found for photo 1341298865 We are sending mail with results at report@fotonower.com args[1341298857] : ('0.055497659940647946',) no score found for photo 1341298857 We are sending mail with results at report@fotonower.com args[1341298855] : ('0.055497659940647946',) no score found for photo 1341298855 We are sending mail with results at report@fotonower.com args[1341298831] : ('0.055497659940647946',) no score found for photo 1341298831 We are sending mail with results at report@fotonower.com args[1341298826] : ('0.055497659940647946',) no score found for photo 1341298826 We are sending mail with results at report@fotonower.com args[1341298822] : ('0.055497659940647946',) no score found for photo 1341298822 We are sending mail with results at report@fotonower.com args[1341298817] : ('0.055497659940647946',) no score found for photo 1341298817 We are sending mail with results at report@fotonower.com args[1341298813] : ('0.055497659940647946',) no score found for photo 1341298813 We are sending mail with results at report@fotonower.com args[1341298810] : ('0.055497659940647946',) no score found for photo 1341298810 We are sending mail with results at report@fotonower.com args[1341298777] : ('0.055497659940647946',) no score found for photo 1341298777 We are sending mail with results at report@fotonower.com args[1341298772] : ('0.055497659940647946',) no score found for photo 1341298772 We are sending mail with results at report@fotonower.com args[1341298726] : ('0.055497659940647946',) no score found for photo 1341298726 We are sending mail with results at report@fotonower.com args[1341298703] : ('0.055497659940647946',) no score found for photo 1341298703 We are sending mail with results at report@fotonower.com args[1341298510] : ('0.055497659940647946',) no score found for photo 1341298510 We are sending mail with results at report@fotonower.com args[1341298506] : ('0.055497659940647946',) no score found for photo 1341298506 We are sending mail with results at report@fotonower.com args[1341298499] : ('0.055497659940647946',) no score found for photo 1341298499 We are sending mail with results at report@fotonower.com args[1341298464] : ('0.055497659940647946',) no score found for photo 1341298464 We are sending mail with results at report@fotonower.com args[1341298460] : ('0.055497659940647946',) no score found for photo 1341298460 We are sending mail with results at report@fotonower.com args[1341298064] : ('0.055497659940647946',) no score found for photo 1341298064 We are sending mail with results at report@fotonower.com args[1341298058] : ('0.055497659940647946',) no score found for photo 1341298058 We are sending mail with results at report@fotonower.com args[1341298055] : ('0.055497659940647946',) no score found for photo 1341298055 We are sending mail with results at report@fotonower.com args[1341296441] : ('0.055497659940647946',) no score found for photo 1341296441 We are sending mail with results at report@fotonower.com args[1341296435] : ('0.055497659940647946',) no score found for photo 1341296435 We are sending mail with results at report@fotonower.com args[1341296402] : ('0.055497659940647946',) no score found for photo 1341296402 We are sending mail with results at report@fotonower.com args[1341296395] : ('0.055497659940647946',) no score found for photo 1341296395 We are sending mail with results at report@fotonower.com args[1341296393] : ('0.055497659940647946',) no score found for photo 1341296393 We are sending mail with results at report@fotonower.com args[1341296317] : ('0.055497659940647946',) no score found for photo 1341296317 We are sending mail with results at report@fotonower.com refus_total : 0.055497659940647946 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=21127175 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_P21127175_07-03-2025_06_06_32.pdf results_Auto_P21127175_07-03-2025_06_06_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_07-03-2025_06_06_32.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','21127175','results_Auto_P21127175_07-03-2025_06_06_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_07-03-2025_06_06_32.pdf','pdf','','0.43','0.055497659940647946') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21127175]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] map_info['map_portfolio_photo'] : {21127175: [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317]} final : False mtd_id 4302 list_pids : [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] 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, '2647002') ('4302', '21127175', '1341298953', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298905', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298891', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298865', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298857', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298855', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298831', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298826', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298822', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298817', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298813', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298810', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298777', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298772', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298726', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298703', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298510', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298506', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298499', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298464', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298460', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298064', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298058', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298055', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296441', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296435', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296402', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296395', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296393', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296317', None, None, None, None, None, '2647002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '21127175', '1341298953', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298905', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298891', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298865', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298857', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298855', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298831', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298826', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298822', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298817', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298813', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298810', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298777', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298772', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298726', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298703', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298510', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298506', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298499', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298464', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298460', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298064', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298058', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298055', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296441', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296435', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296402', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296395', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296393', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296317', None, None, None, None, None, '2647002')] time used for this insertion : 0.33165884017944336 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.196765422821045 time spend to save output : 0.33220410346984863 total time spend for step 4 : 9.528969526290894 step5:split_time_score Fri Mar 7 06:06:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21127175'] 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 : [('21127175',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21127175) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1341298905: {'path': 'temp/1741323991_1212440_1341298905_078e60b86f59d9d4c89d03841a1ad83c.jpg', 'extension': 'jpg'}, 1341298953: {'path': 'temp/1741323991_1212440_1341298953_56f4223d0c0566a519cef96e0668333d.jpg', 'extension': 'jpg'}, 1341298822: {'path': 'temp/1741323991_1212440_1341298822_e6170a58adc1de03a25b06dcfc0be0ea.jpg', 'extension': 'jpg'}, 1341298826: {'path': 'temp/1741323991_1212440_1341298826_457ba535c4f0a8c2ab906b295ee7c315.jpg', 'extension': 'jpg'}, 1341298831: {'path': 'temp/1741323991_1212440_1341298831_716a47e764e8a0c0f6a3975e3ee339f1.jpg', 'extension': 'jpg'}, 1341298855: {'path': 'temp/1741323991_1212440_1341298855_0ef4e47987a1f1dddbdd5fa1f61221b1.jpg', 'extension': 'jpg'}, 1341298857: {'path': 'temp/1741323991_1212440_1341298857_592cf23947e0da5d4106c8203c271626.jpg', 'extension': 'jpg'}, 1341298865: {'path': 'temp/1741323991_1212440_1341298865_c1970c27fddc3ce02281c3b7d860ded3.jpg', 'extension': 'jpg'}, 1341298891: {'path': 'temp/1741323991_1212440_1341298891_c55f37dbcda58efc15e16d85c97dbd1f.jpg', 'extension': 'jpg'}, 1341298703: {'path': 'temp/1741323991_1212440_1341298703_5a81150ab37e9474c2a0c4fbc8520a3f.jpg', 'extension': 'jpg'}, 1341298726: {'path': 'temp/1741323991_1212440_1341298726_d0a03f33875ae34508370f37cdb4e7d4.jpg', 'extension': 'jpg'}, 1341298772: {'path': 'temp/1741323991_1212440_1341298772_2c1793dd3956248940dc4130b26c0508.jpg', 'extension': 'jpg'}, 1341298777: {'path': 'temp/1741323991_1212440_1341298777_3224d1ce55934dc5c7111c24ce70719c.jpg', 'extension': 'jpg'}, 1341298810: {'path': 'temp/1741323991_1212440_1341298810_216ca471da9e266169588f60fbb74d40.jpg', 'extension': 'jpg'}, 1341298813: {'path': 'temp/1741323991_1212440_1341298813_1fe2f99471a9fe896d700ed4defec443.jpg', 'extension': 'jpg'}, 1341298817: {'path': 'temp/1741323991_1212440_1341298817_2052514ccbbdc733b86f926161588fd6.jpg', 'extension': 'jpg'}, 1341296317: {'path': 'temp/1741323991_1212440_1341296317_9155e2cb83dc4889614cbba13ce74380.jpg', 'extension': 'jpg'}, 1341296393: {'path': 'temp/1741323991_1212440_1341296393_1008dc75e9b45e2228c4e4b3b33bbcf7.jpg', 'extension': 'jpg'}, 1341296395: {'path': 'temp/1741323991_1212440_1341296395_9b02e1e9e0bc01c4db1158b28cae0964.jpg', 'extension': 'jpg'}, 1341296402: {'path': 'temp/1741323991_1212440_1341296402_52a16868b243661ec60c63813cee89aa.jpg', 'extension': 'jpg'}, 1341296435: {'path': 'temp/1741323991_1212440_1341296435_225275f6e7db4338ce179e32a6a20b8a.jpg', 'extension': 'jpg'}, 1341296441: {'path': 'temp/1741323991_1212440_1341296441_0c122d8eafc092f8ded42719564c6aac.jpg', 'extension': 'jpg'}, 1341298055: {'path': 'temp/1741323991_1212440_1341298055_ef6212afb8c1fc1104c6cae14fb468ce.jpg', 'extension': 'jpg'}, 1341298058: {'path': 'temp/1741323991_1212440_1341298058_25f06a0dcdb93645a34a3479c79479ae.jpg', 'extension': 'jpg'}, 1341298064: {'path': 'temp/1741323991_1212440_1341298064_60ec76b8e35746d309b7f555479b0bd6.jpg', 'extension': 'jpg'}, 1341298460: {'path': 'temp/1741323991_1212440_1341298460_ff0eb95709112f62b0ba6404542c5277.jpg', 'extension': 'jpg'}, 1341298464: {'path': 'temp/1741323991_1212440_1341298464_4e5877271f606330b80add927a2ea584.jpg', 'extension': 'jpg'}, 1341298499: {'path': 'temp/1741323991_1212440_1341298499_b2f2321477aa68661a5c369519c54c05.jpg', 'extension': 'jpg'}, 1341298506: {'path': 'temp/1741323991_1212440_1341298506_056b525119c530d956d42accd94a988a.jpg', 'extension': 'jpg'}, 1341298510: {'path': 'temp/1741323991_1212440_1341298510_50dae31a7f039fa73899340dec1ff148.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 21127175; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21127175 group by h (('20', 30),) 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=21127175 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 (21127175) 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 (21127175) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06032025 21127175 Nombre de photos uploadées : 30 / 23040 (0%) 06032025 21127175 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 06032025 21127175 Nombre de photos taguées (volume) : 0 / 30 (0%) [{'photo_id': 1341296317, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9155e2cb83dc4889614cbba13ce74380.jpg', 'username': None, 'uploaded_at': 1741288587, 'text': 'image_06032025_20_15_24_010139m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1341296402, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/52a16868b243661ec60c63813cee89aa.jpg', 'username': None, 'uploaded_at': 1741288647, 'text': 'image_06032025_20_15_34_010141m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1341296395, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9b02e1e9e0bc01c4db1158b28cae0964.jpg', 'username': None, 'uploaded_at': 1741288647, 'text': 'image_06032025_20_16_14_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341296393, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1008dc75e9b45e2228c4e4b3b33bbcf7.jpg', 'username': None, 'uploaded_at': 1741288647, 'text': 'image_06032025_20_16_24_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015010833740234375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21127175, '2025-03-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1643118,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028376102447509766 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= 1643118 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21089189, 'dashboard_result_id': 9281287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_07-03-2025_05_34_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21089816, 'dashboard_result_id': 9281288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_07-03-2025_05_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21090352, 'dashboard_result_id': 9281289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_07-03-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21090945, 'dashboard_result_id': 9281290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_07-03-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21092289, 'dashboard_result_id': 9281291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_07-03-2025_05_36_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21092977, 'dashboard_result_id': 9281292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_07-03-2025_05_36_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21093291, 'dashboard_result_id': 9281293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_07-03-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21093935, 'dashboard_result_id': 9281294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_07-03-2025_05_38_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21094390, 'dashboard_result_id': 9281295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_07-03-2025_05_38_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21095280, 'dashboard_result_id': 9281296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_07-03-2025_05_39_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21095667, 'dashboard_result_id': 9281297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_07-03-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21096248, 'dashboard_result_id': 9281298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_07-03-2025_05_40_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21096666, 'dashboard_result_id': 9281299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_07-03-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21097374, 'dashboard_result_id': 9281300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_07-03-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21098051, 'dashboard_result_id': 9281301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_07-03-2025_05_41_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21098769, 'dashboard_result_id': 9281302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_07-03-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21099782, 'dashboard_result_id': 9281303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_07-03-2025_05_42_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21099976, 'dashboard_result_id': 9281304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_07-03-2025_05_43_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21100547, 'dashboard_result_id': 9281305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_07-03-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21101038, 'dashboard_result_id': 9281306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_07-03-2025_05_44_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21101489, 'dashboard_result_id': 9281307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_07-03-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21102170, 'dashboard_result_id': 9281308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_07-03-2025_05_45_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21102865, 'dashboard_result_id': 9281309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_07-03-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21103797, 'dashboard_result_id': 9281310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21104322, 'dashboard_result_id': 9281311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_07-03-2025_05_46_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21104678, 'dashboard_result_id': 9281312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_07-03-2025_05_47_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21105437, 'dashboard_result_id': 9281313, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_07-03-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21106093, 'dashboard_result_id': 9281314, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_07-03-2025_05_48_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21106656, 'dashboard_result_id': 9281315, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_07-03-2025_05_48_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21107494, 'dashboard_result_id': 9281316, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_07-03-2025_05_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21108337, 'dashboard_result_id': 9281317, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_07-03-2025_05_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21109218, 'dashboard_result_id': 9281318, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_07-03-2025_05_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21110844, 'dashboard_result_id': 9281319, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_07-03-2025_05_50_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21111209, 'dashboard_result_id': 9281320, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_07-03-2025_05_51_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21111884, 'dashboard_result_id': 9281321, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_07-03-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21112480, 'dashboard_result_id': 9281322, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_07-03-2025_05_52_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21113008, 'dashboard_result_id': 9281323, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_07-03-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21114013, 'dashboard_result_id': 9281324, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_07-03-2025_05_53_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21117388, 'dashboard_result_id': 9281325, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_07-03-2025_05_53_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21117674, 'dashboard_result_id': 9281326, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_07-03-2025_05_54_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133287, 'dashboard_result_id': 9281327, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133287_07-03-2025_05_54_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133600, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133288, 'dashboard_result_id': 9281328, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133288_07-03-2025_05_55_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21133613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133624, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133289, 'dashboard_result_id': 9281329, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133289_07-03-2025_05_55_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133648, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133290, 'dashboard_result_id': 9281330, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133290_07-03-2025_05_56_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21133512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133523, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133291, 'dashboard_result_id': 9281331, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133291_07-03-2025_05_56_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21133488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133499, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133292, 'dashboard_result_id': 9281332, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133292_07-03-2025_05_57_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133390, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133293, 'dashboard_result_id': 9281333, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133293_07-03-2025_05_57_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133450, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133294, 'dashboard_result_id': 9281334, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133294_07-03-2025_05_58_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133475, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133295, 'dashboard_result_id': 9281335, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133295_07-03-2025_05_58_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133365, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21133296, 'dashboard_result_id': 9281336, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133296_07-03-2025_05_59_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133336, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133341, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21119031, 'dashboard_result_id': 9281337, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_05_59_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21118295, 'dashboard_result_id': 9281338, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_07-03-2025_05_59_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118347, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21118076, 'dashboard_result_id': 9281339, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_07-03-2025_06_00_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118133, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21118079, 'dashboard_result_id': 9281340, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_07-03-2025_06_01_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21118816, 'dashboard_result_id': 9281341, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_07-03-2025_06_01_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21120709, 'dashboard_result_id': 9281342, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_07-03-2025_06_02_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21120716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21120717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21120718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21120719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21120720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21120721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21120722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21120723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21120724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21120725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21120726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21120727, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21121041, 'dashboard_result_id': 9281343, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_07-03-2025_06_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21121050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121061, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21121351, 'dashboard_result_id': 9281344, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_07-03-2025_06_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21121836, 'dashboard_result_id': 9281345, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_07-03-2025_06_03_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21122791, 'dashboard_result_id': 9281346, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_07-03-2025_06_04_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21123460, 'dashboard_result_id': 9281347, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_07-03-2025_06_04_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21124323, 'dashboard_result_id': 9281348, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_07-03-2025_06_05_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21124985, 'dashboard_result_id': 9281349, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_07-03-2025_06_05_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21126060, 'dashboard_result_id': 9281350, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_07-03-2025_06_06_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21127175, 'dashboard_result_id': 9281351, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_06-03-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21127177, 'dashboard_result_id': 9281352, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1654198, 'mtr_portfolio_id': 21128421, 'dashboard_result_id': 9281353, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, '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 = 21089189 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646938, 'mtr_portfolio_id': 21089189, 'created_at': datetime.datetime(2025, 3, 7, 5, 34, 32), 'result': '0.060906804969983644', 'result_long': None, 'result_double': None}] Qualite : 0.060906804969983644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21089189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_07-03-2025_05_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089189 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_07-03-2025_05_34_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}" where mtr_portfolio_id = 21089189 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089189 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281287, 0.060906804969983644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_07-03-2025_05_34_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21089816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646939, 'mtr_portfolio_id': 21089816, 'created_at': datetime.datetime(2025, 3, 7, 5, 35), 'result': '0.06979594246379299', 'result_long': None, 'result_double': None}] Qualite : 0.06979594246379299 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21089816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_07-03-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_07-03-2025_05_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}" where mtr_portfolio_id = 21089816 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281288, 0.06979594246379299, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_07-03-2025_05_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21090352 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646940, 'mtr_portfolio_id': 21090352, 'created_at': datetime.datetime(2025, 3, 7, 5, 35, 28), 'result': '0.06105178643937013', 'result_long': None, 'result_double': None}] Qualite : 0.06105178643937013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21090352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_07-03-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21090352 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_07-03-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}" where mtr_portfolio_id = 21090352 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21090352 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281289, 0.06105178643937013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_07-03-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21090945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646941, 'mtr_portfolio_id': 21090945, 'created_at': datetime.datetime(2025, 3, 7, 5, 36), 'result': '0.05947562599877101', 'result_long': None, 'result_double': None}] Qualite : 0.05947562599877101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21090945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_07-03-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21090945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_07-03-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}" where mtr_portfolio_id = 21090945 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21090945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281290, 0.05947562599877101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_07-03-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21092289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646942, 'mtr_portfolio_id': 21092289, 'created_at': datetime.datetime(2025, 3, 7, 5, 36, 32), 'result': '0.07237684759005589', 'result_long': None, 'result_double': None}] Qualite : 0.07237684759005589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21092289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_07-03-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21092289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_07-03-2025_05_36_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}" where mtr_portfolio_id = 21092289 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21092289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281291, 0.07237684759005589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_07-03-2025_05_36_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21092977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646943, 'mtr_portfolio_id': 21092977, 'created_at': datetime.datetime(2025, 3, 7, 5, 36, 56), 'result': '0.06620645123109237', 'result_long': None, 'result_double': None}] Qualite : 0.06620645123109237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21092977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_07-03-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21092977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_07-03-2025_05_36_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}" where mtr_portfolio_id = 21092977 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21092977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281292, 0.06620645123109237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_07-03-2025_05_36_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21093291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646944, 'mtr_portfolio_id': 21093291, 'created_at': datetime.datetime(2025, 3, 7, 5, 37, 29), 'result': '0.06004371758526245', 'result_long': None, 'result_double': None}] Qualite : 0.06004371758526245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21093291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_07-03-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21093291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_07-03-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}" where mtr_portfolio_id = 21093291 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21093291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281293, 0.06004371758526245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_07-03-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21093935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646945, 'mtr_portfolio_id': 21093935, 'created_at': datetime.datetime(2025, 3, 7, 5, 37, 56), 'result': '0.07581135822792454', 'result_long': None, 'result_double': None}] Qualite : 0.07581135822792454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21093935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_07-03-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21093935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_07-03-2025_05_38_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}" where mtr_portfolio_id = 21093935 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21093935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281294, 0.07581135822792454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_07-03-2025_05_38_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21094390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646946, 'mtr_portfolio_id': 21094390, 'created_at': datetime.datetime(2025, 3, 7, 5, 38, 32), 'result': '0.06546204572261519', 'result_long': None, 'result_double': None}] Qualite : 0.06546204572261519 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21094390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_07-03-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21094390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_07-03-2025_05_38_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}" where mtr_portfolio_id = 21094390 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21094390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281295, 0.06546204572261519, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_07-03-2025_05_38_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21095280 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646947, 'mtr_portfolio_id': 21095280, 'created_at': datetime.datetime(2025, 3, 7, 5, 38, 58), 'result': '0.06821424575317067', 'result_long': None, 'result_double': None}] Qualite : 0.06821424575317067 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21095280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_07-03-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21095280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_07-03-2025_05_39_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}" where mtr_portfolio_id = 21095280 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21095280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281296, 0.06821424575317067, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_07-03-2025_05_39_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21095667 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646948, 'mtr_portfolio_id': 21095667, 'created_at': datetime.datetime(2025, 3, 7, 5, 39, 30), 'result': '0.0765212916559334', 'result_long': None, 'result_double': None}] Qualite : 0.0765212916559334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21095667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_07-03-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21095667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_07-03-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}" where mtr_portfolio_id = 21095667 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21095667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281297, 0.0765212916559334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_07-03-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21096248 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646949, 'mtr_portfolio_id': 21096248, 'created_at': datetime.datetime(2025, 3, 7, 5, 39, 58), 'result': '0.08114347907216608', 'result_long': None, 'result_double': None}] Qualite : 0.08114347907216608 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_07-03-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_07-03-2025_05_40_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}" where mtr_portfolio_id = 21096248 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21096248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281298, 0.08114347907216608, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_07-03-2025_05_40_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21096666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646950, 'mtr_portfolio_id': 21096666, 'created_at': datetime.datetime(2025, 3, 7, 5, 40, 28), 'result': '0.0712562827533276', 'result_long': None, 'result_double': None}] Qualite : 0.0712562827533276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_07-03-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_07-03-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}" where mtr_portfolio_id = 21096666 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21096666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281299, 0.0712562827533276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_07-03-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21097374 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646951, 'mtr_portfolio_id': 21097374, 'created_at': datetime.datetime(2025, 3, 7, 5, 40, 58), 'result': '0.06956256276613842', 'result_long': None, 'result_double': None}] Qualite : 0.06956256276613842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21097374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_07-03-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21097374 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_07-03-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}" where mtr_portfolio_id = 21097374 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21097374 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281300, 0.06956256276613842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_07-03-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21098051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646952, 'mtr_portfolio_id': 21098051, 'created_at': datetime.datetime(2025, 3, 7, 5, 41, 31), 'result': '0.06383366117953419', 'result_long': None, 'result_double': None}] Qualite : 0.06383366117953419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21098051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_07-03-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21098051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_07-03-2025_05_41_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}" where mtr_portfolio_id = 21098051 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21098051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281301, 0.06383366117953419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_07-03-2025_05_41_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21098769 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646953, 'mtr_portfolio_id': 21098769, 'created_at': datetime.datetime(2025, 3, 7, 5, 41, 59), 'result': '0.054906766081155155', 'result_long': None, 'result_double': None}] Qualite : 0.054906766081155155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21098769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_07-03-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21098769 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_07-03-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}" where mtr_portfolio_id = 21098769 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21098769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281302, 0.054906766081155155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_07-03-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21099782 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646954, 'mtr_portfolio_id': 21099782, 'created_at': datetime.datetime(2025, 3, 7, 5, 42, 27), 'result': '0.041542594182946625', 'result_long': None, 'result_double': None}] Qualite : 0.041542594182946625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21099782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_07-03-2025_05_42_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21099782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_07-03-2025_05_42_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}" where mtr_portfolio_id = 21099782 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21099782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281303, 0.041542594182946625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_07-03-2025_05_42_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21099976 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646955, 'mtr_portfolio_id': 21099976, 'created_at': datetime.datetime(2025, 3, 7, 5, 43), 'result': '0.062439343071516364', 'result_long': None, 'result_double': None}] Qualite : 0.062439343071516364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21099976 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_07-03-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21099976 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_07-03-2025_05_43_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}" where mtr_portfolio_id = 21099976 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21099976 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281304, 0.062439343071516364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_07-03-2025_05_43_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21100547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646956, 'mtr_portfolio_id': 21100547, 'created_at': datetime.datetime(2025, 3, 7, 5, 43, 31), 'result': '0.06112862754159098', 'result_long': None, 'result_double': None}] Qualite : 0.06112862754159098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21100547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_07-03-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21100547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_07-03-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}" where mtr_portfolio_id = 21100547 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21100547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281305, 0.06112862754159098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_07-03-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21101038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646957, 'mtr_portfolio_id': 21101038, 'created_at': datetime.datetime(2025, 3, 7, 5, 44), 'result': '0.0605461533857442', 'result_long': None, 'result_double': None}] Qualite : 0.0605461533857442 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21101038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_07-03-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21101038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_07-03-2025_05_44_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}" where mtr_portfolio_id = 21101038 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21101038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281306, 0.0605461533857442, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_07-03-2025_05_44_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21101489 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646958, 'mtr_portfolio_id': 21101489, 'created_at': datetime.datetime(2025, 3, 7, 5, 44, 30), 'result': '0.06877949137628171', 'result_long': None, 'result_double': None}] Qualite : 0.06877949137628171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21101489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_07-03-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21101489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_07-03-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}" where mtr_portfolio_id = 21101489 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21101489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281307, 0.06877949137628171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_07-03-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21102170 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646959, 'mtr_portfolio_id': 21102170, 'created_at': datetime.datetime(2025, 3, 7, 5, 44, 59), 'result': '0.06778070335128422', 'result_long': None, 'result_double': None}] Qualite : 0.06778070335128422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21102170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_07-03-2025_05_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21102170 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_07-03-2025_05_45_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}" where mtr_portfolio_id = 21102170 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21102170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281308, 0.06778070335128422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_07-03-2025_05_45_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21102865 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646960, 'mtr_portfolio_id': 21102865, 'created_at': datetime.datetime(2025, 3, 7, 5, 45, 31), 'result': '0.07809228134738991', 'result_long': None, 'result_double': None}] Qualite : 0.07809228134738991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21102865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_07-03-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21102865 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_07-03-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}" where mtr_portfolio_id = 21102865 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21102865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281309, 0.07809228134738991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_07-03-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21103797 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646961, 'mtr_portfolio_id': 21103797, 'created_at': datetime.datetime(2025, 3, 7, 5, 45, 59), 'result': '0.06284758607335356', 'result_long': None, 'result_double': None}] Qualite : 0.06284758607335356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21103797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21103797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}" where mtr_portfolio_id = 21103797 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21103797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281310, 0.06284758607335356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21104322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646962, 'mtr_portfolio_id': 21104322, 'created_at': datetime.datetime(2025, 3, 7, 5, 46, 32), 'result': '0.06675697104450122', 'result_long': None, 'result_double': None}] Qualite : 0.06675697104450122 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21104322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_07-03-2025_05_46_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21104322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_07-03-2025_05_46_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}" where mtr_portfolio_id = 21104322 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21104322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281311, 0.06675697104450122, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_07-03-2025_05_46_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21104678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646963, 'mtr_portfolio_id': 21104678, 'created_at': datetime.datetime(2025, 3, 7, 5, 46, 58), 'result': '0.0655268136118565', 'result_long': None, 'result_double': None}] Qualite : 0.0655268136118565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21104678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_07-03-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21104678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_07-03-2025_05_47_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}" where mtr_portfolio_id = 21104678 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21104678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281312, 0.0655268136118565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_07-03-2025_05_47_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21105437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646964, 'mtr_portfolio_id': 21105437, 'created_at': datetime.datetime(2025, 3, 7, 5, 47, 28), 'result': '0.07354179137106573', 'result_long': None, 'result_double': None}] Qualite : 0.07354179137106573 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21105437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_07-03-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21105437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_07-03-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}" where mtr_portfolio_id = 21105437 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21105437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281313, 0.07354179137106573, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_07-03-2025_05_47_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21106093 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646965, 'mtr_portfolio_id': 21106093, 'created_at': datetime.datetime(2025, 3, 7, 5, 47, 57), 'result': '0.06208301798419111', 'result_long': None, 'result_double': None}] Qualite : 0.06208301798419111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21106093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_07-03-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21106093 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_07-03-2025_05_48_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}" where mtr_portfolio_id = 21106093 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21106093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281314, 0.06208301798419111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_07-03-2025_05_48_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21106656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646966, 'mtr_portfolio_id': 21106656, 'created_at': datetime.datetime(2025, 3, 7, 5, 48, 38), 'result': '0.05391697700208748', 'result_long': None, 'result_double': None}] Qualite : 0.05391697700208748 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21106656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_07-03-2025_05_48_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21106656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_07-03-2025_05_48_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}" where mtr_portfolio_id = 21106656 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21106656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281315, 0.05391697700208748, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_07-03-2025_05_48_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21107494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646967, 'mtr_portfolio_id': 21107494, 'created_at': datetime.datetime(2025, 3, 7, 5, 49), 'result': '0.06298661443186958', 'result_long': None, 'result_double': None}] Qualite : 0.06298661443186958 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21107494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_07-03-2025_05_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21107494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_07-03-2025_05_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}" where mtr_portfolio_id = 21107494 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21107494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281316, 0.06298661443186958, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_07-03-2025_05_49_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21108337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646968, 'mtr_portfolio_id': 21108337, 'created_at': datetime.datetime(2025, 3, 7, 5, 49, 28), 'result': '0.05507886495451122', 'result_long': None, 'result_double': None}] Qualite : 0.05507886495451122 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21108337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_07-03-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21108337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_07-03-2025_05_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}" where mtr_portfolio_id = 21108337 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21108337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281317, 0.05507886495451122, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_07-03-2025_05_49_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21109218 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646969, 'mtr_portfolio_id': 21109218, 'created_at': datetime.datetime(2025, 3, 7, 5, 49, 59), 'result': '0.06014001434988407', 'result_long': None, 'result_double': None}] Qualite : 0.06014001434988407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21109218 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_07-03-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21109218 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_07-03-2025_05_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}" where mtr_portfolio_id = 21109218 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21109218 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281318, 0.06014001434988407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_07-03-2025_05_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21110844 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646970, 'mtr_portfolio_id': 21110844, 'created_at': datetime.datetime(2025, 3, 7, 5, 50, 28), 'result': '0.05508485766869391', 'result_long': None, 'result_double': None}] Qualite : 0.05508485766869391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21110844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_07-03-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21110844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_07-03-2025_05_50_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}" where mtr_portfolio_id = 21110844 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21110844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281319, 0.05508485766869391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_07-03-2025_05_50_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21111209 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646971, 'mtr_portfolio_id': 21111209, 'created_at': datetime.datetime(2025, 3, 7, 5, 51), 'result': '0.053943199480548', 'result_long': None, 'result_double': None}] Qualite : 0.053943199480548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21111209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_07-03-2025_05_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21111209 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_07-03-2025_05_51_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}" where mtr_portfolio_id = 21111209 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21111209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281320, 0.053943199480548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_07-03-2025_05_51_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21111884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646972, 'mtr_portfolio_id': 21111884, 'created_at': datetime.datetime(2025, 3, 7, 5, 51, 31), 'result': '0.08435689436725671', 'result_long': None, 'result_double': None}] Qualite : 0.08435689436725671 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21111884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_07-03-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21111884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_07-03-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}" where mtr_portfolio_id = 21111884 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21111884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281321, 0.08435689436725671, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_07-03-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21112480 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646973, 'mtr_portfolio_id': 21112480, 'created_at': datetime.datetime(2025, 3, 7, 5, 52), 'result': '0.07220360483115389', 'result_long': None, 'result_double': None}] Qualite : 0.07220360483115389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21112480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_07-03-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21112480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_07-03-2025_05_52_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}" where mtr_portfolio_id = 21112480 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21112480 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281322, 0.07220360483115389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_07-03-2025_05_52_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21113008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646974, 'mtr_portfolio_id': 21113008, 'created_at': datetime.datetime(2025, 3, 7, 5, 52, 29), 'result': '0.06421840995551634', 'result_long': None, 'result_double': None}] Qualite : 0.06421840995551634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21113008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_07-03-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21113008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_07-03-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}" where mtr_portfolio_id = 21113008 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21113008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281323, 0.06421840995551634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_07-03-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21114013 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646975, 'mtr_portfolio_id': 21114013, 'created_at': datetime.datetime(2025, 3, 7, 5, 53, 1), 'result': '0.05357207544897694', 'result_long': None, 'result_double': None}] Qualite : 0.05357207544897694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21114013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_07-03-2025_05_53_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21114013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_07-03-2025_05_53_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}" where mtr_portfolio_id = 21114013 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21114013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281324, 0.05357207544897694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_07-03-2025_05_53_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21117388 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646976, 'mtr_portfolio_id': 21117388, 'created_at': datetime.datetime(2025, 3, 7, 5, 53, 31), 'result': '0.04677236048818228', 'result_long': None, 'result_double': None}] Qualite : 0.04677236048818228 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21117388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_07-03-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21117388 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_07-03-2025_05_53_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}" where mtr_portfolio_id = 21117388 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21117388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281325, 0.04677236048818228, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_07-03-2025_05_53_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21117674 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646977, 'mtr_portfolio_id': 21117674, 'created_at': datetime.datetime(2025, 3, 7, 5, 53, 58), 'result': '0.06590036656231954', 'result_long': None, 'result_double': None}] Qualite : 0.06590036656231954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21117674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_07-03-2025_05_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21117674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_07-03-2025_05_54_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}" where mtr_portfolio_id = 21117674 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21117674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281326, 0.06590036656231954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_07-03-2025_05_54_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133287 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133287 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133287 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133287 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133287_07-03-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133287_07-03-2025_05_54_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133589, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133592, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133600, 'pht': 3726}}" where mtr_portfolio_id = 21133287 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133288 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133288 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133288 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133288 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133288 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133288 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133288_07-03-2025_05_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133288 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133288_07-03-2025_05_55_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21133613, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133616, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133624, 'pht': 3726}}" where mtr_portfolio_id = 21133288 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133289 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133289 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133289 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133289 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133289_07-03-2025_05_55_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133289_07-03-2025_05_55_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133643, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133647, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133648, 'pht': 3726}}" where mtr_portfolio_id = 21133289 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133290 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133290 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133290 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133290 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133290_07-03-2025_05_56_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133290_07-03-2025_05_56_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21133512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133515, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133523, 'pht': 3726}}" where mtr_portfolio_id = 21133290 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133291 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133291 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133291 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133291 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133291_07-03-2025_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133291_07-03-2025_05_56_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21133488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133495, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133499, 'pht': 3726}}" where mtr_portfolio_id = 21133291 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133292 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133292 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133292 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133292 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133292 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133292_07-03-2025_05_57_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133292 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133292_07-03-2025_05_57_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133387, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133390, 'pht': 3726}}" where mtr_portfolio_id = 21133292 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133293 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133293 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133293 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133293 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133293 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133293_07-03-2025_05_57_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133293_07-03-2025_05_57_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133450, 'pht': 3726}}" where mtr_portfolio_id = 21133293 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133294 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133294 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133294 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133294 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133294 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133294 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133294_07-03-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133294 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133294_07-03-2025_05_58_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133465, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133474, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133475, 'pht': 3726}}" where mtr_portfolio_id = 21133294 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133295 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133295 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133295 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133295 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133295_07-03-2025_05_58_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133295_07-03-2025_05_58_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133354, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133365, 'pht': 3726}}" where mtr_portfolio_id = 21133295 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133296 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133296 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21133296 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133296 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133296 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133296_07-03-2025_05_59_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133296_07-03-2025_05_59_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21133330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21133331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21133332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21133333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21133334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21133335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21133336, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21133337, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21133338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21133339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21133340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21133341, 'pht': 3726}}" where mtr_portfolio_id = 21133296 and dashboard_run_id = 1654198 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21119031 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646988, 'mtr_portfolio_id': 21119031, 'created_at': datetime.datetime(2025, 3, 7, 5, 59, 32), 'result': '0.06676300509256292', 'result_long': None, 'result_double': None}] Qualite : 0.06676300509256292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21119031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_05_59_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21119031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_05_59_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}" where mtr_portfolio_id = 21119031 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21119031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281337, 0.06676300509256292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_05_59_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118295 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646989, 'mtr_portfolio_id': 21118295, 'created_at': datetime.datetime(2025, 3, 7, 5, 59, 57), 'result': '0.05224731212255553', 'result_long': None, 'result_double': None}] Qualite : 0.05224731212255553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_07-03-2025_05_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_07-03-2025_05_59_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118347, 'pht': 3726}}" where mtr_portfolio_id = 21118295 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21118295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281338, 0.05224731212255553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_07-03-2025_05_59_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118347, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118076 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646990, 'mtr_portfolio_id': 21118076, 'created_at': datetime.datetime(2025, 3, 7, 6, 0, 33), 'result': '0.06124796130455922', 'result_long': None, 'result_double': None}] Qualite : 0.06124796130455922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118076 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_07-03-2025_06_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118076 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_07-03-2025_06_00_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118133, 'pht': 3726}}" where mtr_portfolio_id = 21118076 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21118076 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281339, 0.06124796130455922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_07-03-2025_06_00_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118133, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118079 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646991, 'mtr_portfolio_id': 21118079, 'created_at': datetime.datetime(2025, 3, 7, 6, 0, 59), 'result': '0.0593534668500576', 'result_long': None, 'result_double': None}] Qualite : 0.0593534668500576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_07-03-2025_06_01_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118079 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_07-03-2025_06_01_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}" where mtr_portfolio_id = 21118079 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21118079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281340, 0.0593534668500576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_07-03-2025_06_01_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646992, 'mtr_portfolio_id': 21118816, 'created_at': datetime.datetime(2025, 3, 7, 6, 1, 30), 'result': '0.07423542956347538', 'result_long': None, 'result_double': None}] Qualite : 0.07423542956347538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_07-03-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_07-03-2025_06_01_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}" where mtr_portfolio_id = 21118816 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21118816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281341, 0.07423542956347538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_07-03-2025_06_01_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21120709 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646993, 'mtr_portfolio_id': 21120709, 'created_at': datetime.datetime(2025, 3, 7, 6, 2, 2), 'result': '0.06602444815917885', 'result_long': None, 'result_double': None}] Qualite : 0.06602444815917885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21120709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_07-03-2025_06_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21120709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_07-03-2025_06_02_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21120716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21120717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21120718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21120719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21120720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21120721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21120722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21120723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21120724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21120725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21120726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21120727, 'pht': 3726}}" where mtr_portfolio_id = 21120709 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21120709 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281342, 0.06602444815917885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_07-03-2025_06_02_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21120716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21120717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21120718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21120719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21120720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21120721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21120722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21120723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21120724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21120725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21120726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21120727, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646994, 'mtr_portfolio_id': 21121041, 'created_at': datetime.datetime(2025, 3, 7, 6, 2, 29), 'result': '0.09074881118451103', 'result_long': None, 'result_double': None}] Qualite : 0.09074881118451103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21121041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_07-03-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_07-03-2025_06_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21121050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121061, 'pht': 3726}}" where mtr_portfolio_id = 21121041 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21121041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281343, 0.09074881118451103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_07-03-2025_06_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21121050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646995, 'mtr_portfolio_id': 21121351, 'created_at': datetime.datetime(2025, 3, 7, 6, 3, 1), 'result': '0.060591769794808535', 'result_long': None, 'result_double': None}] Qualite : 0.060591769794808535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21121351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_07-03-2025_06_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_07-03-2025_06_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}" where mtr_portfolio_id = 21121351 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21121351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281344, 0.060591769794808535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_07-03-2025_06_03_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646996, 'mtr_portfolio_id': 21121836, 'created_at': datetime.datetime(2025, 3, 7, 6, 3, 28), 'result': '0.08326676171367717', 'result_long': None, 'result_double': None}] Qualite : 0.08326676171367717 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21121836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_07-03-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_07-03-2025_06_03_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}" where mtr_portfolio_id = 21121836 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21121836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281345, 0.08326676171367717, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_07-03-2025_06_03_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21122791 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646997, 'mtr_portfolio_id': 21122791, 'created_at': datetime.datetime(2025, 3, 7, 6, 4), 'result': '0.061071728833218056', 'result_long': None, 'result_double': None}] Qualite : 0.061071728833218056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21122791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_07-03-2025_06_04_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21122791 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_07-03-2025_06_04_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}" where mtr_portfolio_id = 21122791 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21122791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281346, 0.061071728833218056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_07-03-2025_06_04_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21123460 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646998, 'mtr_portfolio_id': 21123460, 'created_at': datetime.datetime(2025, 3, 7, 6, 4, 28), 'result': '0.057156781832064435', 'result_long': None, 'result_double': None}] Qualite : 0.057156781832064435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21123460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_07-03-2025_06_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21123460 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_07-03-2025_06_04_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}" where mtr_portfolio_id = 21123460 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21123460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281347, 0.057156781832064435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_07-03-2025_06_04_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21124323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2646999, 'mtr_portfolio_id': 21124323, 'created_at': datetime.datetime(2025, 3, 7, 6, 4, 58), 'result': '0.06861502572552837', 'result_long': None, 'result_double': None}] Qualite : 0.06861502572552837 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_07-03-2025_06_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_07-03-2025_06_05_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}" where mtr_portfolio_id = 21124323 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21124323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281348, 0.06861502572552837, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_07-03-2025_06_05_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21124985 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2647000, 'mtr_portfolio_id': 21124985, 'created_at': datetime.datetime(2025, 3, 7, 6, 5, 31), 'result': '0.06213426872765231', 'result_long': None, 'result_double': None}] Qualite : 0.06213426872765231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_07-03-2025_06_05_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_07-03-2025_06_05_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}" where mtr_portfolio_id = 21124985 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21124985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281349, 0.06213426872765231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_07-03-2025_06_05_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21126060 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2647001, 'mtr_portfolio_id': 21126060, 'created_at': datetime.datetime(2025, 3, 7, 6, 5, 58), 'result': '0.05595531182576395', 'result_long': None, 'result_double': None}] Qualite : 0.05595531182576395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21126060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_07-03-2025_06_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21126060 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_07-03-2025_06_06_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}" where mtr_portfolio_id = 21126060 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21126060 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281350, 0.05595531182576395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_07-03-2025_06_06_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21127175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2647002, 'mtr_portfolio_id': 21127175, 'created_at': datetime.datetime(2025, 3, 7, 6, 6, 30), 'result': '0.055497659940647946', 'result_long': None, 'result_double': None}] Qualite : 0.055497659940647946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21127175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_07-03-2025_06_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21127175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_07-03-2025_06_06_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}" where mtr_portfolio_id = 21127175 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21127175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281351, 0.055497659940647946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_07-03-2025_06_06_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21127177 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645457, 'mtr_portfolio_id': 21127177, 'created_at': datetime.datetime(2025, 3, 6, 20, 50, 57), 'result': '0.0718712181856956', 'result_long': None, 'result_double': None}] Qualite : 0.0718712181856956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21127177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21127177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}" where mtr_portfolio_id = 21127177 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21127177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281352, 0.0718712181856956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21128421 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645738, 'mtr_portfolio_id': 21128421, 'created_at': datetime.datetime(2025, 3, 6, 21, 21), 'result': '0.15239529250984896', 'result_long': None, 'result_double': None}] Qualite : 0.15239529250984896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21128421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21128421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, 'pht': 3726}}" where mtr_portfolio_id = 21128421 and dashboard_run_id = 1654198 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21128421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9281353, 0.15239529250984896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, '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 (21089189,21089816,21090352,21090945,21092289,21092977,21093291,21093935,21094390,21095280,21095667,21096248,21096666,21097374,21098051,21098769,21099782,21099976,21100547,21101038,21101489,21102170,21102865,21103797,21104322,21104678,21105437,21106093,21106656,21107494,21108337,21109218,21110844,21111209,21111884,21112480,21113008,21114013,21117388,21117674,21133287,21133288,21133289,21133290,21133291,21133292,21133293,21133294,21133295,21133296,21119031,21118295,21118076,21118079,21118816,21120709,21121041,21121351,21121836,21122791,21123460,21124323,21124985,21126060,21127175,21127177,21128421) result : ((1341123137,), (1341123142,), (1341123146,), (1341123310,), (1341123393,), (1341123408,), (1341123415,), (1341123417,), (1341123535,), (1341123556,), (1341123566,), (1341123571,), (1341123574,), (1341123577,), (1341123592,), (1341123597,), (1341123601,), (1341123603,), (1341123624,), (1341123628,), (1341123632,), (1341123642,), (1341123687,), (1341123689,), (1341123692,), (1341123694,), (1341123713,), (1341123715,), (1341123722,), (1341123761,), (1341123763,), (1341123766,), (1341123787,), (1341123790,), (1341123792,), (1341123947,), (1341123960,), (1341123973,), (1341123979,), (1341123983,), (1341124005,), (1341124007,), (1341124010,), (1341124012,), (1341124038,), (1341124042,), (1341124047,), (1341124049,), (1341124252,), (1341124256,), (1341124260,), (1341124262,), (1341124263,), (1341124273,), (1341124276,), (1341124280,), (1341124287,), (1341124292,), (1341124363,), (1341124322,), (1341124337,), (1341124339,), (1341124342,), (1341124386,), (1341124391,), (1341124395,), (1341124435,), (1341124454,), (1341124463,), (1341124477,), (1341124618,), (1341124804,), (1341125014,), (1341125021,), (1341125049,), (1341125067,), (1341125082,), (1341125087,), (1341125106,), (1341125108,), (1341125148,), (1341125155,), (1341125163,), (1341125169,), (1341125174,), (1341125194,), (1341125236,), (1341125239,), (1341125241,), (1341125246,), (1341125248,), (1341125250,), (1341125269,), (1341125304,), (1341125306,), (1341125310,), (1341125719,), (1341125776,), (1341125779,), (1341125782,), (1341125853,), (1341125855,), (1341125859,), (1341126164,), (1341126262,), (1341126346,), (1341126349,), (1341126352,), (1341126354,), (1341126376,), (1341126378,), (1341126381,), (1341126413,), (1341126421,), (1341126424,), (1341126426,), (1341126428,), (1341126430,), (1341126465,), (1341126467,), (1341126471,), (1341126966,), (1341126978,), (1341126984,), (1341127149,), (1341127096,), (1341127128,), (1341127132,), (1341127171,), (1341127229,), (1341127233,), (1341127237,), (1341127241,), (1341127311,), (1341127357,), (1341127376,), (1341127380,), (1341127489,), (1341127542,), (1341127548,), (1341127550,), (1341127561,), (1341127564,), (1341127570,), (1341128147,), (1341128204,), (1341128249,), (1341128257,), (1341128272,), (1341128324,), (1341128434,), (1341128436,), (1341128441,), (1341128505,), (1341128507,), (1341128512,), (1341128519,), (1341128525,), (1341128545,), (1341128650,), (1341128655,), (1341128659,), (1341128696,), (1341128766,), (1341128768,), (1341128775,), (1341128778,), (1341128841,), (1341128848,), (1341128856,), (1341128873,), (1341128900,), (1341129383,), (1341129387,), (1341129390,), (1341129393,), (1341129395,), (1341129397,), (1341129517,), (1341129520,), (1341129524,), (1341129527,), (1341129593,), (1341129598,), (1341129603,), (1341129612,), (1341129636,), (1341129645,), (1341129653,), (1341129658,), (1341129661,), (1341129687,), (1341129675,), (1341129677,), (1341129682,), (1341129713,), (1341129726,), (1341129736,), (1341129739,), (1341129742,), (1341129745,), (1341129782,), (1341129785,), (1341129790,), (1341129875,), (1341130680,), (1341130682,), (1341130695,), (1341130699,), (1341131135,), (1341131255,), (1341131376,), (1341131591,), (1341131602,), (1341131604,), (1341131608,), (1341131610,), (1341131722,), (1341131747,), (1341131776,), (1341132461,), (1341132479,), (1341132513,), (1341132521,), (1341132523,), (1341132530,), (1341132545,), (1341136901,), (1341136903,), (1341137177,), (1341137207,), (1341137223,), (1341137244,), (1341137255,), (1341137264,), (1341137506,), (1341137563,), (1341137566,), (1341137570,), (1341137571,), (1341137575,), (1341137578,), (1341137679,), (1341137686,), (1341137705,), (1341137717,), (1341137779,), (1341137782,), (1341137786,), (1341137789,), (1341137792,), (1341137795,), (1341137921,), (1341137923,), (1341137925,), (1341137950,), (1341137955,), (1341137966,), (1341138065,), (1341138127,), (1341138132,), (1341138461,), (1341138464,), (1341138484,), (1341138488,), (1341138564,), (1341138833,), (1341138846,), (1341138851,), (1341138865,), (1341138872,), (1341139013,), (1341139014,), (1341139019,), (1341139113,), (1341139115,), (1341139124,), (1341139131,), (1341139145,), (1341139181,), (1341139183,), (1341139194,), (1341139205,), (1341139249,), (1341139429,), (1341139457,), (1341139474,), (1341139478,), (1341139490,), (1341139498,), (1341139506,), (1341139509,), (1341139512,), (1341139705,), (1341139704,), (1341140211,), (1341140235,), (1341140338,), (1341140342,), (1341140347,), (1341140349,), (1341140420,), (1341140442,), (1341140461,), (1341140465,), (1341140470,), (1341140474,), (1341140490,), (1341140492,), (1341140528,), (1341140537,), (1341140540,), (1341140542,), (1341140545,), (1341140579,), (1341140582,), (1341140587,), (1341140631,), (1341140633,), (1341140867,), (1341140872,), (1341140886,), (1341140891,), (1341140894,), (1341140896,), (1341140945,), (1341140947,), (1341140950,), (1341140953,), (1341140956,), (1341140991,), (1341140993,), (1341141000,), (1341141027,), (1341141019,), (1341141021,), (1341141023,), (1341141026,), (1341141056,), (1341141058,), (1341141195,), (1341141364,), (1341141373,), (1341141376,), (1341141377,), (1341141384,), (1341141391,), (1341141393,), (1341141397,), (1341141399,), (1341141408,), (1341141412,), (1341141415,), (1341141437,), (1341141440,), (1341141450,), (1341141453,), (1341141456,), (1341141461,), (1341141474,), (1341141477,), (1341141481,), (1341141567,), (1341141569,), (1341141571,), (1341141574,), (1341141576,), (1341141578,), (1341141625,), (1341141640,), (1341141645,), (1341141656,), (1341141675,), (1341141678,), (1341141723,), (1341141839,), (1341141965,), (1341141967,), (1341142068,), (1341142115,), (1341142122,), (1341142133,), (1341142139,), (1341142149,), (1341142161,), (1341142163,), (1341142167,), (1341142170,), (1341142173,), (1341142215,), (1341142236,), (1341142238,), (1341142240,), (1341142272,), (1341142275,), (1341142279,), (1341142281,), (1341142294,), (1341142304,), (1341142310,), (1341142313,), (1341142349,), (1341142338,), (1341142341,), (1341142344,), (1341142347,), (1341142419,), (1341142467,), (1341142531,), (1341143558,), (1341143567,), (1341143668,), (1341143716,), (1341143718,), (1341144060,), (1341144127,), (1341144183,), (1341144187,), (1341144190,), (1341144217,), (1341144220,), (1341144223,), (1341144226,), (1341144229,), (1341144232,), (1341144631,), (1341144641,), (1341144650,), (1341144653,), (1341144657,), (1341144693,), (1341144702,), (1341144707,), (1341144711,), (1341144718,), (1341144774,), (1341144776,), (1341144779,), (1341144830,), (1341144832,), (1341144836,), (1341144891,), (1341144894,), (1341144932,), (1341144936,), (1341144940,), (1341144942,), (1341144944,), (1341145000,), (1341145094,), (1341145137,), (1341145139,), (1341145142,), (1341145151,), (1341145153,), (1341145155,), (1341145319,), (1341145404,), (1341145492,), (1341145575,), (1341145638,), (1341145612,), (1341145616,), (1341145632,), (1341145636,), (1341145658,), (1341145661,), (1341145670,), (1341145672,), (1341145962,), (1341145964,), (1341145968,), (1341145973,), (1341145980,), (1341146026,), (1341146031,), (1341146047,), (1341146060,), (1341146062,), (1341146066,), (1341146069,), (1341146071,), (1341146098,), (1341146130,), (1341146134,), (1341146136,), (1341146138,), (1341146165,), (1341146237,), (1341146271,), (1341146276,), (1341146281,), (1341146315,), (1341146317,), (1341146322,), (1341146330,), (1341146348,), (1341146351,), (1341146361,), (1341146363,), (1341146365,), (1341146370,), (1341146387,), (1341146486,), (1341146496,), (1341146501,), (1341146504,), (1341146512,), (1341146514,), (1341146518,), (1341146521,), (1341146525,), (1341146612,), (1341146627,), (1341146636,), (1341146799,), (1341146814,), (1341146818,), (1341146861,), (1341146896,), (1341147008,), (1341147010,), (1341147014,), (1341147016,), (1341147020,), (1341147024,), (1341147036,), (1341147565,), (1341149281,), (1341149285,), (1341149288,), (1341149291,), (1341149349,), (1341149356,), (1341149361,), (1341149365,), (1341149372,), (1341150143,), (1341150153,), (1341150157,), (1341150294,), (1341150439,), (1341150442,), (1341150464,), (1341150498,), (1341150499,), (1341150500,), (1341150501,), (1341150522,), (1341150527,), (1341150537,), (1341150538,), (1341150549,), (1341150565,), (1341150570,), (1341150572,), (1341150574,), (1341150575,), (1341150576,), (1341150619,), (1341150624,), (1341150633,), (1341150640,), (1341150641,), (1341150642,), (1341150667,), (1341150676,), (1341150680,), (1341150689,), (1341150690,), (1341150726,), (1341150733,), (1341150746,), (1341150756,), (1341150759,), (1341150762,), (1341150786,), (1341150789,), (1341150803,), (1341150809,), (1341150829,), (1341150835,), (1341150848,), (1341151231,), (1341151204,), (1341151207,), (1341151210,), (1341151289,), (1341151293,), (1341151296,), (1341151300,), (1341151303,), (1341151571,), (1341151576,), (1341151591,), (1341151617,), (1341151704,), (1341151705,), (1341151710,), (1341151714,), (1341151727,), (1341151751,), (1341151753,), (1341151757,), (1341151765,), (1341151773,), (1341151798,), (1341151801,), (1341151805,), (1341151808,), (1341151810,), (1341151869,), (1341151880,), (1341151884,), (1341151893,), (1341151897,), (1341152023,), (1341152076,), (1341152090,), (1341152106,), (1341152121,), (1341152128,), (1341152245,), (1341152252,), (1341152255,), (1341152258,), (1341152302,), (1341152322,), (1341152364,), (1341152368,), (1341152372,), (1341152376,), (1341152773,), (1341152852,), (1341152919,), (1341152995,), (1341153072,), (1341153120,), (1341153124,), (1341153127,), (1341153132,), (1341153475,), (1341153458,), (1341153463,), (1341153468,), (1341153472,), (1341153488,), (1341153490,), (1341153494,), (1341153497,), (1341153517,), (1341153520,), (1341153523,), (1341153528,), (1341153556,), (1341153558,), (1341154192,), (1341154205,), (1341154213,), (1341154222,), (1341154228,), (1341154361,), (1341154500,), (1341154502,), (1341154506,), (1341154510,), (1341154530,), (1341154538,), (1341154555,), (1341154559,), (1341154624,), (1341154626,), (1341154629,), (1341154632,), (1341154635,), (1341154659,), (1341154686,), (1341154691,), (1341154694,), (1341154698,), (1341154730,), (1341154732,), (1341154735,), (1341154738,), (1341154780,), (1341154783,), (1341154787,), (1341154791,), (1341154801,), (1341154812,), (1341154861,), (1341154863,), (1341154866,), (1341154869,), (1341154872,), (1341154952,), (1341154955,), (1341154959,), (1341154988,), (1341154992,), (1341155030,), (1341155032,), (1341155045,), (1341155046,), (1341155049,), (1341155051,), (1341155054,), (1341155060,), (1341155206,), (1341155082,), (1341155164,), (1341155200,), (1341155273,), (1341155275,), (1341155279,), (1341155283,), (1341155285,), (1341155290,), (1341155358,), (1341155372,), (1341155375,), (1341155377,), (1341155409,), (1341155417,), (1341155423,), (1341155427,), (1341155433,), (1341155490,), (1341155493,), (1341155496,), (1341155498,), (1341155574,), (1341155575,), (1341155610,), (1341155612,), (1341155615,), (1341155632,), (1341156024,), (1341156029,), (1341156036,), (1341156056,), (1341156061,), (1341156062,), (1341156108,), (1341156113,), (1341156118,), (1341156145,), (1341156149,), (1341156150,), (1341156171,), (1341156174,), (1341156177,), (1341156224,), (1341156227,), (1341156249,), (1341156284,), (1341156300,), (1341156307,), (1341156397,), (1341156407,), (1341156419,), (1341156421,), (1341156423,), (1341156434,), (1341156529,), (1341156532,), (1341156537,), (1341156543,), (1341156544,), (1341156568,), (1341156570,), (1341156572,), (1341156574,), (1341156575,), (1341156577,), (1341156629,), (1341156640,), (1341156646,), (1341156648,), (1341156650,), (1341156653,), (1341156660,), (1341156663,), (1341156666,), (1341156669,), (1341156713,), (1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,), (1341158395,), (1341158356,), (1341158358,), (1341158367,), (1341158375,), (1341158379,), (1341158405,), (1341158409,), (1341158414,), (1341158421,), (1341158616,), (1341158748,), (1341158751,), (1341158860,), (1341158866,), (1341158928,), (1341158931,), (1341158934,), (1341158976,), (1341158978,), (1341158983,), (1341159060,), (1341159063,), (1341159066,), (1341159160,), (1341159168,), (1341159170,), (1341159181,), (1341159189,), (1341159443,), (1341159463,), (1341159468,), (1341159561,), (1341159568,), (1341159604,), (1341159668,), (1341159679,), (1341159783,), (1341159788,), (1341159799,), (1341159805,), (1341159809,), (1341159833,), (1341159835,), (1341159840,), (1341159845,), (1341159887,), (1341159897,), (1341159901,), (1341159909,), (1341159911,), (1341159984,), (1341159993,), (1341159997,), (1341160020,), (1341160033,), (1341160041,), (1341160157,), (1341160159,), (1341160163,), (1341160167,), (1341160169,), (1341160172,), (1341160242,), (1341160275,), (1341160331,), (1341160336,), (1341160488,), (1341160502,), (1341160556,), (1341160560,), (1341160563,), (1341160566,), (1341160735,), (1341160575,), (1341160577,), (1341160581,), (1341160584,), (1341160611,), (1341160812,), (1341160823,), (1341160831,), (1341161214,), (1341161226,), (1341161244,), (1341161254,), (1341161266,), (1341161270,), (1341161358,), (1341161366,), (1341161370,), (1341161374,), (1341161423,), (1341161430,), (1341161441,), (1341161457,), (1341161464,), (1341161467,), (1341161571,), (1341161574,), (1341161577,), (1341161581,), (1341161584,), (1341161609,), (1341161611,), (1341161615,), (1341161620,), (1341161664,), (1341161668,), (1341161674,), (1341161677,), (1341161680,), (1341161684,), (1341161703,), (1341161719,), (1341161737,), (1341161749,), (1341161783,), (1341161877,), (1341161896,), (1341161929,), (1341161933,), (1341163696,), (1341163583,), (1341165607,), (1341165633,), (1341166755,), (1341166965,), (1341166969,), (1341166973,), (1341166990,), (1341167004,), (1341167070,), (1341167142,), (1341167210,), (1341167305,), (1341167309,), (1341167313,), (1341167318,), (1341167332,), (1341167335,), (1341167338,), (1341167342,), (1341167346,), (1341167349,), (1341167519,), (1341167375,), (1341167379,), (1341167383,), (1341167415,), (1341167623,), (1341167624,), (1341167629,), (1341167633,), (1341167692,), (1341167697,), (1341167724,), (1341167735,), (1341167737,), (1341167760,), (1341167769,), (1341167780,), (1341167790,), (1341167794,), (1341167798,), (1341167812,), (1341167822,), (1341167831,), (1341167856,), (1341167858,), (1341167863,), (1341167867,), (1341167870,), (1341167895,), (1341167896,), (1341167908,), (1341167936,), (1341167939,), (1341167943,), (1341167947,), (1341167949,), (1341167952,), (1341168018,), (1341168032,), (1341168035,), (1341168039,), (1341168085,), (1341168225,), (1341168280,), (1341168303,), (1341168308,), (1341168367,), (1341168372,), (1341168375,), (1341168377,), (1341168388,), (1341168390,), (1341168395,), (1341168398,), (1341168400,), (1341168435,), (1341168507,), (1341168511,), (1341168516,), (1341168523,), (1341168539,), (1341168547,), (1341168669,), (1341168689,), (1341168692,), (1341168900,), (1341169068,), (1341169072,), (1341169077,), (1341169118,), (1341169145,), (1341169361,), (1341169205,), (1341169216,), (1341169227,), (1341169279,), (1341169463,), (1341169474,), (1341169478,), (1341169482,), (1341169484,), (1341169486,), (1341169519,), (1341169526,), (1341169534,), (1341169563,), (1341169578,), (1341169579,), (1341169677,), (1341169679,), (1341169684,), (1341169687,), (1341169704,), (1341169707,), (1341169710,), (1341169729,), (1341169732,), (1341169750,), (1341169859,), (1341169872,), (1341169877,), (1341169882,), (1341169899,), (1341169901,), (1341169905,), (1341169908,), (1341169925,), (1341169932,), (1341170006,), (1341170009,), (1341170012,), (1341170014,), (1341170017,), (1341170036,), (1341170038,), (1341170042,), (1341170070,), (1341170075,), (1341170079,), (1341170096,), (1341170099,), (1341170104,), (1341170108,), (1341170111,), (1341170255,), (1341170258,), (1341170292,), (1341170301,), (1341170382,), (1341170386,), (1341170390,), (1341170394,), (1341170420,), (1341170423,), (1341170428,), (1341170430,), (1341170434,), (1341170447,), (1341170451,), (1341170455,), (1341170459,), (1341170461,), (1341170494,), (1341170486,), (1341170487,), (1341170491,), (1341170530,), (1341170533,), (1341170536,), (1341170617,), (1341170619,), (1341170624,), (1341170630,), (1341170638,), (1341170641,), (1341170654,), (1341170656,), (1341170660,), (1341170664,), (1341170667,), (1341170669,), (1341170733,), (1341170806,), (1341170924,), (1341170992,), (1341171375,), (1341171407,), (1341171480,), (1341171484,), (1341171487,), (1341171528,), (1341171575,), (1341171579,), (1341171584,), (1341171590,), (1341171601,), (1341171606,), (1341171681,), (1341171752,), (1341171845,), (1341171909,), (1341172246,), (1341172254,), (1341172260,), (1341172262,), (1341172265,), (1341172289,), (1341172292,), (1341172298,), (1341172310,), (1341172321,), (1341172669,), (1341172740,), (1341173397,), (1341173404,), (1341173483,), (1341173522,), (1341173995,), (1341174052,), (1341174085,), (1341174095,), (1341174426,), (1341174432,), (1341174435,), (1341174440,), (1341174444,), (1341174451,), (1341174453,), (1341174457,), (1341174488,), (1341174472,), (1341174476,), (1341174482,), (1341174485,), (1341174487,), (1341174534,), (1341174540,), (1341174546,), (1341174553,), (1341174564,), (1341174567,), (1341174626,), (1341174760,), (1341174830,), (1341174942,), (1341174944,), (1341174946,), (1341175101,), (1341175102,), (1341175108,), (1341175117,), (1341175120,), (1341175122,), (1341175157,), (1341175161,), (1341175166,), (1341175170,), (1341175174,), (1341175212,), (1341175216,), (1341175223,), (1341175226,), (1341175259,), (1341175262,), (1341175267,), (1341175272,), (1341175276,), (1341175279,), (1341175444,), (1341175454,), (1341175460,), (1341175464,), (1341175467,), (1341175491,), (1341175493,), (1341175497,), (1341175503,), (1341175510,), (1341175528,), (1341175531,), (1341175537,), (1341175541,), (1341175545,), (1341175560,), (1341175563,), (1341175592,), (1341175617,), (1341175641,), (1341175649,), (1341175690,), (1341175698,), (1341175701,), (1341175704,), (1341175730,), (1341175735,), (1341175740,), (1341175743,), (1341175746,), (1341175751,), (1341175772,), (1341175777,), (1341175781,), (1341175813,), (1341175817,), (1341175824,), (1341175827,), (1341175832,), (1341176064,), (1341175854,), (1341175863,), (1341175878,), (1341176007,), (1341176215,), (1341176218,), (1341176227,), (1341176239,), (1341176274,), (1341176279,), (1341176284,), (1341176291,), (1341176296,), (1341176348,), (1341176354,), (1341176358,), (1341176362,), (1341176365,), (1341176368,), (1341176395,), (1341176406,), (1341176421,), (1341176427,), (1341176459,), (1341176462,), (1341176466,), (1341176470,), (1341176511,), (1341176516,), (1341176524,), (1341176533,), (1341176536,), (1341176577,), (1341176579,), (1341176591,), (1341176596,), (1341176598,), (1341176608,), (1341176611,), (1341176618,), (1341176702,), (1341176711,), (1341176715,), (1341176719,), (1341176726,), (1341176731,), (1341176872,), (1341176882,), (1341176887,), (1341176892,), (1341176898,), (1341176912,), (1341176921,), (1341176925,), (1341176929,), (1341176942,), (1341176946,), (1341176953,), (1341176956,), (1341176960,), (1341177003,), (1341177008,), (1341177012,), (1341177067,), (1341177068,), (1341177113,), (1341177117,), (1341177122,), (1341177125,), (1341177126,), (1341177144,), (1341177137,), (1341177140,), (1341177693,), (1341177698,), (1341177724,), (1341177878,), (1341178030,), (1341178033,), (1341178038,), (1341178100,), (1341178170,), (1341178356,), (1341178361,), (1341178368,), (1341178390,), (1341178394,), (1341178426,), (1341178429,), (1341178434,), (1341178436,), (1341178441,), (1341178445,), (1341178681,), (1341178693,), (1341178700,), (1341178713,), (1341178716,), (1341178718,), (1341178762,), (1341178788,), (1341178855,), (1341179126,), (1341179131,), (1341180279,), (1341180698,), (1341180701,), (1341181792,), (1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,), (1341182902,), (1341182908,), (1341182913,), (1341182918,), (1341183218,), (1341183225,), (1341183236,), (1341183288,), (1341183301,), (1341183312,), (1341183317,), (1341183320,), (1341183324,), (1341183364,), (1341183368,), (1341183374,), (1341183377,), (1341183379,), (1341183384,), (1341183433,), (1341183438,), (1341183446,), (1341183451,), (1341183477,), (1341183487,), (1341183491,), (1341183494,), (1341183498,), (1341183501,), (1341183568,), (1341183576,), (1341183580,), (1341183591,), (1341183617,), (1341183646,), (1341183650,), (1341183655,), (1341183662,), (1341183671,), (1341183684,), (1341183857,), (1341183910,), (1341183914,), (1341183917,), (1341183925,), (1341183950,), (1341183961,), (1341183972,), (1341183981,), (1341183986,), (1341183989,), (1341183990,), (1341183992,), (1341183996,), (1341184000,), (1341184006,), (1341184056,), (1341184064,), (1341184068,), (1341184072,), (1341184079,), (1341184087,), (1341184094,), (1341184126,), (1341184129,), (1341184157,), (1341184164,), (1341184168,), (1341184172,), (1341184180,), (1341184200,), (1341184210,), (1341184216,), (1341184260,), (1341184262,), (1341184338,), (1341184340,), (1341184343,), (1341184350,), (1341184356,), (1341184032,), (1341184040,), (1341184045,), (1341184049,), (1341184052,), (1341184104,), (1341184108,), (1341184120,), (1341184122,), (1341184139,), (1341184144,), (1341184149,), (1341184152,), (1341184227,), (1341184229,), (1341184242,), (1341184244,), (1341184245,), (1341184246,), (1341184248,), (1341184249,), (1341184252,), (1341184253,), (1341184286,), (1341184289,), (1341184298,), (1341184304,), (1341184309,), (1341184330,), (1341184368,), (1341184370,), (1341184374,), (1341184376,), (1341184378,), (1341184379,), (1341184380,), (1341184382,), (1341184404,), (1341184409,), (1341184415,), (1341184425,), (1341184434,), (1341184444,), (1341184500,), (1341184512,), (1341184531,), (1341184591,), (1341184632,), (1341184779,), (1341184838,), (1341185001,), (1341185015,), (1341185020,), (1341185025,), (1341185090,), (1341185094,), (1341185098,), (1341185104,), (1341185282,), (1341185285,), (1341185290,), (1341185296,), (1341185302,), (1341185568,), (1341185569,), (1341185575,), (1341185715,), (1341185717,), (1341185721,), (1341185765,), (1341186060,), (1341186082,), (1341186086,), (1341186100,), (1341186114,), (1341186169,), (1341186157,), (1341186160,), (1341186165,), (1341186448,), (1341186452,), (1341186604,), (1341186614,), (1341186639,), (1341186642,), (1341186656,), (1341186745,), (1341186749,), (1341186754,), (1341186757,), (1341186774,), (1341186782,), (1341186822,), (1341186827,), (1341186832,), (1341186967,), (1341186975,), (1341187018,), (1341187028,), (1341187062,), (1341187111,), (1341187456,), (1341187479,), (1341187493,), (1341187515,), (1341187530,), (1341187579,), (1341187589,), (1341187596,), (1341187606,), (1341187718,), (1341187722,), (1341187729,), (1341187736,), (1341187771,), (1341187806,), (1341187811,), (1341187819,), (1341187852,), (1341187855,), (1341187861,), (1341188222,), (1341188231,), (1341188245,), (1341188252,), (1341188440,), (1341188443,), (1341188451,), (1341188462,), (1341188491,), (1341188494,), (1341188498,), (1341188502,), (1341188515,), (1341188540,), (1341188543,), (1341188554,), (1341188561,), (1341188565,), (1341188605,), (1341188594,), (1341188597,), (1341188601,), (1341188643,), (1341188651,), (1341188714,), (1341188804,), (1341188820,), (1341188970,), (1341188975,), (1341188980,), (1341188985,), (1341188991,), (1341189095,), (1341189108,), (1341189116,), (1341189123,), (1341189183,), (1341189193,), (1341189199,), (1341189205,), (1341189242,), (1341189245,), (1341189250,), (1341189254,), (1341189256,), (1341189260,), (1341189299,), (1341189300,), (1341189302,), (1341189310,), (1341189363,), (1341189367,), (1341189375,), (1341189380,), (1341189383,), (1341189427,), (1341189454,), (1341189457,), (1341189462,), (1341189467,), (1341189470,), (1341189506,), (1341189512,), (1341189518,), (1341189565,), (1341189569,), (1341189574,), (1341189580,), (1341189591,), (1341189599,), (1341189630,), (1341189633,), (1341189639,), (1341189843,), (1341189864,), (1341189873,), (1341189878,), (1341189881,), (1341189883,), (1341191364,), (1341191399,), (1341191469,), (1341191507,), (1341191991,), (1341191975,), (1341191979,), (1341191985,), (1341192295,), (1341192385,), (1341192424,), (1341192447,), (1341192538,), (1341192585,), (1341192625,), (1341192630,), (1341192662,), (1341192694,), (1341192717,), (1341192726,), (1341192792,), (1341192881,), (1341193356,), (1341193361,), (1341193370,), (1341193423,), (1341193604,), (1341193653,), (1341193741,), (1341193831,), (1341193909,), (1341193939,), (1341194101,), (1341194114,), (1341194124,), (1341194136,), (1341194140,), (1341194218,), (1341194225,), (1341194228,), (1341194236,), (1341194440,), (1341194555,), (1341194646,), (1341194846,), (1341194934,), (1341195469,), (1341195477,), (1341195481,), (1341195484,), (1341195486,), (1341195496,), (1341195719,), (1341195731,), (1341195808,), (1341195812,), (1341195911,), (1341195917,), (1341195923,), (1341195926,), (1341195929,), (1341195932,), (1341195973,), (1341195978,), (1341195986,), (1341195991,), (1341195993,), (1341196083,), (1341196088,), (1341196093,), (1341196122,), (1341196293,), (1341196242,), (1341196248,), (1341196394,), (1341196397,), (1341196402,), (1341196407,), (1341196420,), (1341196502,), (1341196508,), (1341196512,), (1341196553,), (1341196556,), (1341196560,), (1341196563,), (1341196567,), (1341196594,), (1341196598,), (1341196601,), (1341196631,), (1341196635,), (1341196659,), (1341196881,), (1341196895,), (1341196919,), (1341196932,), (1341196943,), (1341196952,), (1341196990,), (1341197000,), (1341197005,), (1341197195,), (1341197200,), (1341197239,), (1341197343,), (1341197347,), (1341197352,), (1341197367,), (1341197373,), (1341197405,), (1341197409,), (1341197452,), (1341197459,), (1341197468,), (1341197507,), (1341197521,), (1341197528,), (1341198456,), (1341198655,), (1341198762,), (1341198906,), (1341199069,), (1341199058,), (1341199064,), (1341199371,), (1341199392,), (1341199482,), (1341199487,), (1341199653,), (1341199656,), (1341199707,), (1341199713,), (1341199717,), (1341199932,), (1341199952,), (1341200010,), (1341200163,), (1341200384,), (1341200883,), (1341201010,), (1341201015,), (1341201019,), (1341201190,), (1341201194,), (1341201201,), (1341201207,), (1341201266,), (1341201288,), (1341201291,), (1341201297,), (1341201324,), (1341201328,), (1341201333,), (1341201366,), (1341201369,), (1341201374,), (1341201382,), (1341201614,), (1341201619,), (1341201638,), (1341201644,), (1341201647,), (1341201681,), (1341201685,), (1341201698,), (1341201704,), (1341201711,), (1341201772,), (1341201779,), (1341201785,), (1341201841,), (1341201816,), (1341201821,), (1341201829,), (1341201877,), (1341201885,), (1341201889,), (1341201892,), (1341201894,), (1341201914,), (1341201930,), (1341201940,), (1341201955,), (1341201965,), (1341201971,), (1341202149,), (1341202270,), (1341202308,), (1341202401,), (1341202632,), (1341202675,), (1341202754,), (1341202778,), (1341202788,), (1341202872,), (1341202902,), (1341202914,), (1341202932,), (1341202944,), (1341202972,), (1341202982,), (1341202984,), (1341203015,), (1341203018,), (1341203025,), (1341203030,), (1341203116,), (1341203121,), (1341203127,), (1341203129,), (1341203137,), (1341203176,), (1341203179,), (1341203198,), (1341203214,), (1341203248,), (1341203253,), (1341203267,), (1341203285,), (1341203292,), (1341203340,), (1341203343,), (1341203349,), (1341203354,), (1341203358,), (1341203391,), (1341203399,), (1341203406,), (1341203411,), (1341203535,), (1341203538,), (1341203546,), (1341203553,), (1341203557,), (1341203561,), (1341203592,), (1341208881,), (1341208982,), (1341208988,), (1341208994,), (1341209026,), (1341209028,), (1341209033,), (1341209038,), (1341209041,), (1341209113,), (1341209115,), (1341209153,), (1341209156,), (1341209161,), (1341209214,), (1341209217,), (1341209221,), (1341209298,), (1341209302,), (1341209307,), (1341209384,), (1341209386,), (1341209391,), (1341209397,), (1341209401,), (1341209507,), (1341209522,), (1341209563,), (1341209570,), (1341209876,), (1341209932,), (1341209938,), (1341209943,), (1341209948,), (1341209953,), (1341209981,), (1341210020,), (1341210032,), (1341210039,), (1341210224,), (1341210273,), (1341210346,), (1341210434,), (1341210507,), (1341210517,), (1341210783,), (1341210790,), (1341210794,), (1341210798,), (1341210802,), (1341210925,), (1341210826,), (1341210872,), (1341210891,), (1341210919,), (1341211027,), (1341211031,), (1341211054,), (1341211065,), (1341211169,), (1341211173,), (1341211181,), (1341211187,), (1341211190,), (1341211212,), (1341211219,), (1341211223,), (1341211228,), (1341211233,), (1341211238,), (1341211352,), (1341211354,), (1341211359,), (1341211362,), (1341211390,), (1341211613,), (1341211756,), (1341211905,), (1341212012,), (1341212177,), (1341213108,), (1341213279,), (1341213285,), (1341213291,), (1341213749,), (1341213752,), (1341213812,), (1341213817,), (1341213862,), (1341213875,), (1341213910,), (1341213917,), (1341213923,), (1341213929,), (1341213934,), (1341213940,), (1341213967,), (1341213972,), (1341213979,), (1341213984,), (1341214031,), (1341214034,), (1341214040,), (1341214046,), (1341214055,), (1341214066,), (1341214150,), (1341214153,), (1341214162,), (1341214172,), (1341214208,), (1341214215,), (1341214221,), (1341214227,), (1341214232,), (1341214243,), (1341214281,), (1341214287,), (1341214292,), (1341215078,), (1341214882,), (1341214984,), (1341215054,), (1341215059,), (1341215126,), (1341215221,), (1341215321,), (1341215355,), (1341215513,), (1341215518,), (1341215522,), (1341215873,), (1341215880,), (1341215885,), (1341215889,), (1341215892,), (1341215910,), (1341216629,), (1341216631,), (1341216637,), (1341216698,), (1341216732,), (1341217629,), (1341217744,), (1341217867,), (1341217954,), (1341218041,), (1341218127,), (1341218130,), (1341218134,), (1341218141,), (1341218154,), (1341218160,), (1341218239,), (1341218242,), (1341218250,), (1341218260,), (1341218266,), (1341218273,), (1341218292,), (1341218295,), (1341218312,), (1341218316,), (1341218323,), (1341218329,), (1341218333,), (1341218394,), (1341218420,), (1341218423,), (1341218427,), (1341218430,), (1341218452,), (1341218456,), (1341218462,), (1341218467,), (1341218758,), (1341218762,), (1341218768,), (1341218774,), (1341218796,), (1341218802,), (1341218864,), (1341218867,), (1341218872,), (1341218876,), (1341218878,), (1341218917,), (1341218920,), (1341218925,), (1341218928,), (1341218931,), (1341218992,), (1341218968,), (1341218972,), (1341218976,), (1341218979,), (1341218982,), (1341219072,), (1341219075,), (1341219101,), (1341219115,), (1341219125,), (1341219196,), (1341219199,), (1341219204,), (1341219207,), (1341219211,), (1341219213,), (1341219872,), (1341219890,), (1341219897,), (1341219901,), (1341220121,), (1341220126,), (1341220129,), (1341220133,), (1341220138,), (1341220156,), (1341220176,), (1341220225,), (1341220231,), (1341220234,), (1341220319,), (1341220321,), (1341220325,), (1341220330,), (1341220344,), (1341220356,), (1341220417,), (1341220420,), (1341220427,), (1341220464,), (1341220467,), (1341220754,), (1341220759,), (1341220765,), (1341220772,), (1341220883,), (1341220888,), (1341220894,), (1341220900,), (1341220913,), (1341221070,), (1341221073,), (1341221079,), (1341221084,), (1341221087,), (1341221121,), (1341221129,), (1341221159,), (1341221164,), (1341221179,), (1341221217,), (1341221221,), (1341221226,), (1341221288,), (1341221293,), (1341221298,), (1341221303,), (1341221306,), (1341221310,), (1341221431,), (1341221417,), (1341221423,), (1341221427,), (1341221461,), (1341221466,), (1341221473,), (1341221509,), (1341221582,), (1341221601,), (1341221631,), (1341221635,), (1341221640,), (1341221645,), (1341221647,), (1341221672,), (1341221677,), (1341221684,), (1341221747,), (1341221753,), (1341221758,), (1341221764,), (1341221769,), (1341221828,), (1341221832,), (1341221838,), (1341221843,), (1341222316,), (1341222523,), (1341222543,), (1341222632,), (1341223730,), (1341223733,), (1341223743,), (1341223759,), (1341223775,), (1341224245,), (1341224262,), (1341224288,), (1341224303,), (1341224390,), (1341224426,), (1341224540,), (1341224611,), (1341224628,), (1341224972,), (1341224988,), (1341225032,), (1341225046,), (1341225712,), (1341225798,), (1341225867,), (1341225871,), (1341225875,), (1341226072,), (1341226107,), (1341226135,), (1341226141,), (1341226221,), (1341226225,), (1341226230,), (1341226251,), (1341226342,), (1341226651,), (1341226654,), (1341226659,), (1341226666,), (1341226672,), (1341226810,), (1341226757,), (1341226761,), (1341226798,), (1341226881,), (1341226893,), (1341227043,), (1341227152,), (1341227219,), (1341227330,), (1341227410,), (1341227416,), (1341227547,), (1341227651,), (1341228140,), (1341228143,), (1341228179,), (1341228184,), (1341228222,), (1341228243,), (1341228274,), (1341228307,), (1341228333,), (1341228418,), (1341228422,), (1341228427,), (1341228430,), (1341228649,), (1341228672,), (1341228696,), (1341228713,), (1341228716,), (1341228720,), (1341228752,), (1341228757,), (1341228762,), (1341228767,), (1341228770,), (1341228926,), (1341228930,), (1341228959,), (1341228978,), (1341228983,), (1341229041,), (1341229099,), (1341229115,), (1341229119,), (1341229123,), (1341229298,), (1341229301,), (1341229307,), (1341229313,), (1341229363,), (1341229378,), (1341229480,), (1341229570,), (1341258101,), (1341260932,), (1341260938,), (1341261169,), (1341261175,), (1341261223,), (1341261240,), (1341261254,), (1341261281,), (1341261286,), (1341261291,), (1341261323,), (1341261327,), (1341261333,), (1341261344,), (1341261350,), (1341261382,), (1341261385,), (1341261391,), (1341261397,), (1341261615,), (1341261464,), (1341261588,), (1341261836,), (1341261840,), (1341261844,), (1341261862,), (1341261885,), (1341261909,), (1341261977,), (1341261980,), (1341261985,), (1341261989,), (1341262113,), (1341262118,), (1341262124,), (1341262129,), (1341262287,), (1341262293,), (1341262296,), (1341262340,), (1341262346,), (1341262350,), (1341262355,), (1341262390,), (1341262534,), (1341262584,), (1341262591,), (1341262633,), (1341262640,), (1341262650,), (1341262654,), (1341262679,), (1341262683,), (1341262727,), (1341262732,), (1341262789,), (1341262795,), (1341262944,), (1341262947,), (1341262955,), (1341262963,), (1341262967,), (1341262991,), (1341262996,), (1341263002,), (1341263010,), (1341263017,), (1341263023,), (1341263085,), (1341263090,), (1341263107,), (1341263114,), (1341263136,), (1341264473,), (1341264474,), (1341264476,), (1341264478,), (1341264480,), (1341264482,), (1341264543,), (1341264550,), (1341264558,), (1341264564,), (1341264569,), (1341264574,), (1341264600,), (1341264611,), (1341264618,), (1341264628,), (1341264634,), (1341264638,), (1341264668,), (1341264673,), (1341264697,), (1341264704,), (1341264714,), (1341264718,), (1341264722,), (1341264728,), (1341264771,), (1341264779,), (1341264809,), (1341264833,), (1341264839,), (1341264843,), (1341264846,), (1341264851,), (1341264857,), (1341264952,), (1341264966,), (1341264974,), (1341264983,), (1341264989,), (1341264996,), (1341265002,), (1341265030,), (1341265034,), (1341265039,), (1341265058,), (1341265063,), (1341264651,), (1341264656,), (1341264661,), (1341264664,), (1341264736,), (1341264743,), (1341264749,), (1341264763,), (1341264793,), (1341264797,), (1341264800,), (1341264803,), (1341264806,), (1341264869,), (1341264872,), (1341264874,), (1341264876,), (1341264881,), (1341264882,), (1341264886,), (1341264889,), (1341264895,), (1341264897,), (1341264902,), (1341264903,), (1341264923,), (1341264928,), (1341264935,), (1341264942,), (1341264948,), (1341265014,), (1341265019,), (1341265025,), (1341265099,), (1341265102,), (1341265106,), (1341265107,), (1341265110,), (1341265113,), (1341265116,), (1341265120,), (1341265124,), (1341265132,), (1341265137,), (1341265144,), (1341265155,), (1341265160,), (1341265165,), (1341265169,), (1341265174,), (1341265234,), (1341265236,), (1341265240,), (1341265243,), (1341265249,), (1341265259,), (1341265281,), (1341265288,), (1341265340,), (1341265353,), (1341265362,), (1341265368,), (1341265371,), (1341265446,), (1341265454,), (1341265459,), (1341265464,), (1341265507,), (1341265511,), (1341265523,), (1341265529,), (1341265540,), (1341265548,), (1341265565,), (1341265606,), (1341265669,), (1341265720,), (1341266072,), (1341266105,), (1341266116,), (1341266123,), (1341266158,), (1341266190,), (1341266196,), (1341266201,), (1341266206,), (1341266217,), (1341266221,), (1341266614,), (1341265069,), (1341265075,), (1341265080,), (1341265084,), (1341265178,), (1341265200,), (1341265205,), (1341265210,), (1341265212,), (1341265217,), (1341265220,), (1341265289,), (1341265297,), (1341265298,), (1341265316,), (1341265377,), (1341265391,), (1341265409,), (1341265413,), (1341265418,), (1341265422,), (1341265436,), (1341265470,), (1341265475,), (1341265773,), (1341265839,), (1341265936,), (1341265941,), (1341265952,), (1341265962,), (1341265978,), (1341265985,), (1341266172,), (1341266248,), (1341266252,), (1341266261,), (1341266268,), (1341266308,), (1341266403,), (1341266619,), (1341266623,), (1341266642,), (1341266660,), (1341266666,), (1341266671,), (1341266674,), (1341266679,), (1341266767,), (1341266795,), (1341266799,), (1341266813,), (1341266815,), (1341266877,), (1341266880,), (1341266895,), (1341266555,), (1341266578,), (1341266609,), (1341266692,), (1341266728,), (1341266744,), (1341266754,), (1341266761,), (1341266782,), (1341266788,), (1341266827,), (1341266855,), (1341266859,), (1341266867,), (1341266944,), (1341266950,), (1341266954,), (1341266959,), (1341266961,), (1341266965,), (1341267018,), (1341267020,), (1341267024,), (1341267027,), (1341267031,), (1341267214,), (1341267228,), (1341267234,), (1341267239,), (1341267427,), (1341267432,), (1341267471,), (1341267502,), (1341267506,), (1341267570,), (1341267575,), (1341267578,), (1341267582,), (1341267597,), (1341267603,), (1341267607,), (1341267796,), (1341267797,), (1341267809,), (1341267819,), (1341267841,), (1341267854,), (1341267861,), (1341267862,), (1341267865,), (1341267867,), (1341267917,), (1341267924,), (1341267927,), (1341267950,), (1341267954,), (1341267964,), (1341268048,), (1341268062,), (1341268071,), (1341268259,), (1341268272,), (1341268276,), (1341268305,), (1341268308,), (1341272878,), (1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,), (1341272871,), (1341272875,), (1341272876,), (1341272941,), (1341272944,), (1341272949,), (1341272954,), (1341272958,), (1341273611,), (1341273613,), (1341273617,), (1341273682,), (1341274017,), (1341274053,), (1341274056,), (1341274062,), (1341274085,), (1341274088,), (1341274132,), (1341274135,), (1341274143,), (1341274532,), (1341274534,), (1341274538,), (1341274579,), (1341274664,), (1341274690,), (1341274712,), (1341274717,), (1341274747,), (1341274859,), (1341274862,), (1341274864,), (1341274867,), (1341274871,), (1341274891,), (1341274895,), (1341274900,), (1341274908,), (1341274915,), (1341274918,), (1341274982,), (1341274985,), (1341274988,), (1341274991,), (1341274995,), (1341275025,), (1341275030,), (1341275035,), (1341275039,), (1341275041,), (1341275047,), (1341275090,), (1341275094,), (1341275112,), (1341275155,), (1341275159,), (1341275162,), (1341275164,), (1341275167,), (1341275169,), (1341275238,), (1341275243,), (1341275248,), (1341275252,), (1341275257,), (1341275313,), (1341275300,), (1341275304,), (1341275342,), (1341275345,), (1341275351,), (1341275355,), (1341275359,), (1341275399,), (1341275404,), (1341275409,), (1341275434,), (1341275442,), (1341275447,), (1341275456,), (1341275467,), (1341275473,), (1341275478,), (1341275562,), (1341275567,), (1341275574,), (1341275590,), (1341275627,), (1341275644,), (1341275648,), (1341275651,), (1341275655,), (1341275659,), (1341275895,), (1341275940,), (1341275948,), (1341275983,), (1341276069,), (1341276072,), (1341276078,), (1341276083,), (1341276107,), (1341276109,), (1341276112,), (1341276116,), (1341276130,), (1341276134,), (1341276522,), (1341276524,), (1341276526,), (1341276529,), (1341276553,), (1341276561,), (1341276567,), (1341276574,), (1341276578,), (1341276626,), (1341276628,), (1341276631,), (1341276634,), (1341276637,), (1341276639,), (1341276683,), (1341276686,), (1341276691,), (1341276696,), (1341276700,), (1341276714,), (1341276717,), (1341276723,), (1341276855,), (1341276864,), (1341276867,), (1341276871,), (1341276874,), (1341276941,), (1341276924,), (1341276930,), (1341276935,), (1341276938,), (1341277195,), (1341277271,), (1341277277,), (1341277279,), (1341277283,), (1341277287,), (1341277375,), (1341277398,), (1341277402,), (1341277420,), (1341277425,), (1341277936,), (1341277940,), (1341277941,), (1341277945,), (1341277950,), (1341277956,), (1341277963,), (1341277966,), (1341277974,), (1341277979,), (1341277992,), (1341278061,), (1341278067,), (1341278089,), (1341278107,), (1341278112,), (1341278115,), (1341278119,), (1341278164,), (1341278168,), (1341278172,), (1341278225,), (1341278229,), (1341278233,), (1341278236,), (1341278240,), (1341278263,), (1341278266,), (1341278351,), (1341278362,), (1341278366,), (1341278370,), (1341278524,), (1341278528,), (1341278533,), (1341278538,), (1341278545,), (1341278560,), (1341278744,), (1341278749,), (1341278755,), (1341278764,), (1341278773,), (1341278789,), (1341278791,), (1341278845,), (1341278850,), (1341278856,), (1341278860,), (1341278865,), (1341278904,), (1341278886,), (1341278892,), (1341278898,), (1341279052,), (1341279055,), (1341279100,), (1341279111,), (1341279134,), (1341279322,), (1341279458,), (1341279562,), (1341279712,), (1341280255,), (1341280378,), (1341280417,), (1341280422,), (1341280437,), (1341280445,), (1341280790,), (1341280864,), (1341280870,), (1341280887,), (1341280902,), (1341280907,), (1341280926,), (1341280930,), (1341280935,), (1341280971,), (1341280992,), (1341280999,), (1341281009,), (1341281067,), (1341281072,), (1341281079,), (1341281083,), (1341281088,), (1341281093,), (1341281114,), (1341281116,), (1341281123,), (1341281132,), (1341281437,), (1341281442,), (1341281455,), (1341281461,), (1341281556,), (1341281593,), (1341281600,), (1341281621,), (1341281649,), (1341281652,), (1341281659,), (1341281793,), (1341281805,), (1341281807,), (1341281922,), (1341281850,), (1341281915,), (1341282051,), (1341282055,), (1341282061,), (1341282100,), (1341282103,), (1341282106,), (1341282109,), (1341282113,), (1341282163,), (1341282168,), (1341282171,), (1341282174,), (1341282176,), (1341282199,), (1341282204,), (1341282208,), (1341282239,), (1341282243,), (1341282248,), (1341282263,), (1341282265,), (1341282282,), (1341282670,), (1341282943,), (1341283155,), (1341283260,), (1341283263,), (1341283340,), (1341283347,), (1341283352,), (1341283356,), (1341283360,), (1341283640,), (1341283643,), (1341283687,), (1341283698,), (1341283701,), (1341283724,), (1341283740,), (1341283745,), (1341283750,), (1341283775,), (1341283778,), (1341283782,), (1341283787,), (1341283795,), (1341283963,), (1341283969,), (1341283973,), (1341283977,), (1341283981,), (1341284007,), (1341284024,), (1341284027,), (1341284080,), (1341284091,), (1341284098,), (1341284102,), (1341284106,), (1341284110,), (1341284465,), (1341284538,), (1341284545,), (1341284548,), (1341284553,), (1341284786,), (1341284701,), (1341284704,), (1341284723,), (1341284969,), (1341284973,), (1341284978,), (1341284982,), (1341285098,), (1341285498,), (1341285507,), (1341285510,), (1341285514,), (1341285550,), (1341285555,), (1341285558,), (1341285561,), (1341285647,), (1341285655,), (1341285666,), (1341285672,), (1341285716,), (1341285720,), (1341285726,), (1341285731,), (1341285753,), (1341285762,), (1341285768,), (1341285772,), (1341285795,), (1341285798,), (1341285842,), (1341285847,), (1341285850,), (1341285854,), (1341285860,), (1341285864,), (1341285893,), (1341285947,), (1341286138,), (1341286241,), (1341286249,), (1341286266,), (1341286290,), (1341286296,), (1341286304,), (1341286366,), (1341286373,), (1341286378,), (1341286383,), (1341286392,), (1341286396,), (1341286428,), (1341286436,), (1341286440,), (1341286447,), (1341286471,), (1341286474,), (1341286482,), (1341286487,), (1341286493,), (1341286497,), (1341286535,), (1341286539,), (1341286545,), (1341286548,), (1341286554,), (1341286559,), (1341286601,), (1341286589,), (1341286592,), (1341286596,), (1341286737,), (1341286782,), (1341286800,), (1341286812,), (1341286845,), (1341286888,), (1341286893,), (1341286897,), (1341286902,), (1341286907,), (1341286926,), (1341286929,), (1341286936,), (1341286944,), (1341286978,), (1341286981,), (1341286987,), (1341286992,), (1341286997,), (1341287016,), (1341287294,), (1341287296,), (1341287332,), (1341287422,), (1341287523,), (1341288418,), (1341288592,), (1341288602,), (1341288612,), (1341288630,), (1341288644,), (1341288659,), (1341288673,), (1341288682,), (1341288710,), (1341288724,), (1341288772,), (1341288798,), (1341288890,), (1341288936,), (1341289243,), (1341289251,), (1341289257,), (1341289554,), (1341289626,), (1341289629,), (1341289653,), (1341289666,), (1341289807,), (1341289820,), (1341289832,), (1341289870,), (1341289893,), (1341290036,), (1341290039,), (1341290050,), (1341290066,), (1341290076,), (1341290232,), (1341290255,), (1341290263,), (1341290355,), (1341290358,), (1341290365,), (1341290371,), (1341290378,), (1341290386,), (1341290541,), (1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,), (1341292546,), (1341292554,), (1341292562,), (1341292566,), (1341292570,), (1341292618,), (1341292628,), (1341292637,), (1341292700,), (1341292708,), (1341292719,), (1341292723,), (1341292731,), (1341292733,), (1341292959,), (1341292965,), (1341292972,), (1341292983,), (1341292985,), (1341292995,), (1341293019,), (1341293027,), (1341293033,), (1341293063,), (1341293044,), (1341293048,), (1341293053,), (1341293057,), (1341293060,), (1341293134,), (1341293216,), (1341293397,), (1341293481,), (1341293570,), (1341293907,), (1341293910,), (1341293915,), (1341293919,), (1341294195,), (1341294205,), (1341294207,), (1341294210,), (1341294276,), (1341294286,), (1341294347,), (1341294349,), (1341294353,), (1341294356,), (1341294359,), (1341294614,), (1341294646,), (1341294677,), (1341294735,), (1341294742,), (1341294747,), (1341294751,), (1341294755,), (1341295360,), (1341295460,), (1341295607,), (1341295611,), (1341295620,), (1341295643,), (1341295647,), (1341295650,), (1341295826,), (1341295928,), (1341295935,), (1341295938,), (1341295946,), (1341296010,), (1341296015,), (1341296022,), (1341296029,), (1341296032,), (1341296058,), (1341296061,), (1341296066,), (1341296096,), (1341296100,), (1341296107,), (1341296111,), (1341296115,), (1341296121,), (1341296154,), (1341296161,), (1341296168,), (1341296174,), (1341296180,), (1341296234,), (1341296237,), (1341296327,), (1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,), (1341298938,), (1341298945,), (1341298949,), (1341298984,), (1341298986,), (1341298991,), (1341298996,), (1341299000,), (1341299004,), (1341299252,), (1341299255,), (1341299261,), (1341299334,), (1341299389,), (1341299392,), (1341299397,), (1341299402,), (1341299405,), (1341299410,), (1341299461,), (1341299465,), (1341299470,), (1341299501,), (1341299589,), (1341299674,), (1341300659,), (1341300696,), (1341300700,), (1341300711,), (1341300796,), (1341300802,), (1341300808,), (1341300816,), (1341300821,), (1341300857,), (1341300859,), (1341300864,), (1341300869,), (1341301087,), (1341301172,), (1341301539,), (1341301540,), (1341301544,), (1341301566,), (1341301776,), (1341301797,), (1341301808,), (1341301816,), (1341301821,), (1341301834,), (1341301876,), (1341301881,), (1341301895,), (1341302571,), (1341305988,), (1341305991,), (1341306471,), (1341306626,), (1341306670,), (1341306673,), (1341306807,), (1341306812,), (1341307213,), (1341263798,), (1341263846,), (1341263851,), (1341263892,), (1341263897,), (1341263903,), (1341263908,), (1341263941,), (1341263947,), (1341263951,), (1341263957,), (1341263962,), (1341263970,), (1341263989,), (1341263994,), (1341264042,), (1341264045,), (1341264048,), (1341264112,), (1341264123,), (1341264130,), (1341264135,), (1341264148,), (1341264151,), (1341264153,), (1341264154,), (1341264158,), (1341264161,), (1341264165,), (1341264167,), (1341264172,), (1341264174,), (1341264191,), (1341264183,), (1341264187,), (1341264230,), (1341264233,), (1341264241,), (1341264245,), (1341264280,), (1341264282,), (1341264291,), (1341264296,), (1341264301,), (1341264306,), (1341264327,), (1341264332,), (1341264345,), (1341264350,), (1341264354,), (1341264377,), (1341264382,), (1341264389,), (1341264420,), (1341264424,), (1341264432,), (1341264436,), (1341264442,), (1341278202,), (1341278204,), (1341278210,), (1341278215,), (1341278246,), (1341278289,), (1341278300,), (1341278306,), (1341278312,), (1341278323,), (1341278326,), (1341278330,), (1341278332,), (1341278334,), (1341278336,), (1341278376,), (1341278379,), (1341278700,), (1341278706,), (1341278713,), (1341278719,), (1341278721,), (1341278729,), (1341278777,), (1341278796,), (1341278800,), (1341278804,), (1341278809,), (1341278814,), (1341278819,), (1341278822,), (1341278825,), (1341278831,), (1341278834,), (1341278869,), (1341278874,), (1341278877,), (1341276583,), (1341276590,), (1341276594,), (1341276600,), (1341276603,), (1341276610,), (1341276615,), (1341276652,), (1341276657,), (1341276663,), (1341276666,), (1341276670,), (1341276673,), (1341276706,), (1341276749,), (1341276753,), (1341276756,), (1341276789,), (1341276798,), (1341276808,), (1341276816,), (1341276823,), (1341276838,), (1341276883,), (1341276944,), (1341276997,), (1341277002,), (1341277006,), (1341277017,), (1341277021,), (1341277023,), (1341277431,), (1341277740,), (1341277742,), (1341277745,), (1341277749,), (1341277750,), (1341277754,), (1341277999,), (1341278023,), (1341278028,), (1341278034,), (1341278038,), (1341278040,), (1341278050,), (1341278092,), (1341278095,), (1341278098,), (1341278123,), (1341278127,), (1341278136,), (1341278139,), (1341278143,), (1341278146,), (1341278149,), (1341278153,), (1341278176,), (1341278180,), (1341278185,), (1341278193,), (1341278197,), (1341275274,), (1341275278,), (1341275285,), (1341275289,), (1341275291,), (1341275316,), (1341275321,), (1341275325,), (1341275363,), (1341275370,), (1341275373,), (1341275377,), (1341275380,), (1341275385,), (1341275390,), (1341275488,), (1341275495,), (1341275506,), (1341275510,), (1341275514,), (1341275517,), (1341275527,), (1341275546,), (1341275633,), (1341275663,), (1341275670,), (1341275674,), (1341275677,), (1341275681,), (1341275719,), (1341275829,), (1341276007,), (1341276012,), (1341276024,), (1341276031,), (1341276039,), (1341276043,), (1341276046,), (1341276049,), (1341276088,), (1341276093,), (1341276475,), (1341276486,), (1341276491,), (1341276495,), (1341276501,), (1341276506,), (1341276534,), (1341276539,), (1341272706,), (1341272713,), (1341272740,), (1341272751,), (1341272757,), (1341272764,), (1341272768,), (1341272772,), (1341272832,), (1341272883,), (1341272888,), (1341272962,), (1341273152,), (1341273240,), (1341273337,), (1341273426,), (1341273516,), (1341273603,), (1341273714,), (1341273718,), (1341273766,), (1341273771,), (1341273782,), (1341273790,), (1341273881,), (1341273964,), (1341274067,), (1341274072,), (1341274145,), (1341274160,), (1341274281,), (1341274497,), (1341274503,), (1341274514,), (1341274517,), (1341274670,), (1341274751,), (1341274761,), (1341274817,), (1341274821,), (1341274826,), (1341274830,), (1341274838,), (1341274842,), (1341274878,), (1341274937,), (1341274942,), (1341274951,), (1341274955,), (1341274964,), (1341274969,), (1341275007,), (1341275055,), (1341275060,), (1341275067,), (1341275071,), (1341275079,), (1341275080,), (1341275124,), (1341275137,), (1341275140,), (1341275261,), (1341275270,), (1341272069,), (1341272074,), (1341272085,), (1341272111,), (1341272113,), (1341272114,), (1341272117,), (1341272120,), (1341272129,), (1341272133,), (1341272136,), (1341272138,), (1341272141,), (1341272148,), (1341272154,), (1341272157,), (1341272160,), (1341272161,), (1341272163,), (1341272167,), (1341272180,), (1341272183,), (1341272195,), (1341272241,), (1341272256,), (1341272305,), (1341272343,), (1341272353,), (1341272390,), (1341272398,), (1341272413,), (1341272418,), (1341272447,), (1341272484,), (1341272486,), (1341272500,), (1341272510,), (1341272518,), (1341272549,), (1341272552,), (1341272555,), (1341272558,), (1341272561,), (1341272563,), (1341272578,), (1341272583,), (1341272587,), (1341272588,), (1341272591,), (1341272622,), (1341272631,), (1341272640,), (1341272643,), (1341272646,), (1341272655,), (1341272659,), (1341272665,), (1341272669,), (1341272672,), (1341272675,), (1341272678,), (1341272690,), (1341272695,), (1341272701,), (1341270467,), (1341270472,), (1341270478,), (1341270483,), (1341270487,), (1341270496,), (1341270498,), (1341270500,), (1341270501,), (1341270504,), (1341270505,), (1341270516,), (1341270522,), (1341270659,), (1341270721,), (1341270779,), (1341270790,), (1341271002,), (1341271081,), (1341271139,), (1341271144,), (1341271147,), (1341271199,), (1341271252,), (1341271293,), (1341271304,), (1341271307,), (1341271332,), (1341271436,), (1341271439,), (1341271471,), (1341271484,), (1341271486,), (1341271542,), (1341271551,), (1341271554,), (1341271556,), (1341271560,), (1341271621,), (1341271639,), (1341271694,), (1341271699,), (1341271722,), (1341271725,), (1341271728,), (1341271735,), (1341271745,), (1341271749,), (1341271751,), (1341271752,), (1341271753,), (1341271756,), (1341271757,), (1341271761,), (1341271762,), (1341271778,), (1341271779,), (1341271782,), (1341271787,), (1341271851,), (1341271854,), (1341271871,), (1341271879,), (1341271886,), (1341271932,), (1341271946,), (1341271955,), (1341271965,), (1341271986,), (1341271989,), (1341272003,), (1341272006,), (1341272013,), (1341272060,), (1341270070,), (1341270073,), (1341270077,), (1341270080,), (1341270087,), (1341270099,), (1341270104,), (1341270108,), (1341270116,), (1341270119,), (1341270124,), (1341270134,), (1341270140,), (1341270145,), (1341270151,), (1341270155,), (1341270160,), (1341270171,), (1341270179,), (1341270183,), (1341270187,), (1341270194,), (1341270201,), (1341270216,), (1341270227,), (1341270240,), (1341270249,), (1341270256,), (1341270259,), (1341270283,), (1341270288,), (1341270292,), (1341270339,), (1341270356,), (1341270360,), (1341270377,), (1341270379,), (1341270384,), (1341270387,), (1341270391,), (1341270408,), (1341270436,), (1341270437,), (1341270442,), (1341270443,), (1341270444,), (1341270445,), (1341270447,), (1341270448,), (1341270449,), (1341270450,), (1341270451,), (1341270453,), (1341270462,), (1341269578,), (1341269625,), (1341269643,), (1341269668,), (1341269671,), (1341269672,), (1341269757,), (1341269761,), (1341269768,), (1341269770,), (1341269774,), (1341269777,), (1341269795,), (1341269798,), (1341269804,), (1341269810,), (1341269813,), (1341269820,), (1341269824,), (1341269831,), (1341269838,), (1341269845,), (1341269852,), (1341269863,), (1341269870,), (1341269873,), (1341269876,), (1341269879,), (1341269883,), (1341269898,), (1341269902,), (1341269909,), (1341270023,), (1341270048,), (1341270054,), (1341270066,), (1341268332,), (1341268337,), (1341268340,), (1341268347,), (1341268361,), (1341268365,), (1341268385,), (1341268395,), (1341268408,), (1341268413,), (1341268417,), (1341268423,), (1341268451,), (1341268460,), (1341268467,), (1341268471,), (1341268475,), (1341268479,), (1341268512,), (1341268514,), (1341268519,), (1341268521,), (1341268522,), (1341268524,), (1341268525,), (1341268530,), (1341268531,), (1341268535,), (1341268536,), (1341268541,), (1341268550,), (1341268552,), (1341268555,), (1341268558,), (1341268561,), (1341268567,), (1341268580,), (1341268594,), (1341268602,), (1341268605,), (1341268613,), (1341268626,), (1341268958,), (1341268969,), (1341268974,), (1341268983,), (1341268986,), (1341268991,), (1341269136,), (1341269154,), (1341269159,), (1341269164,), (1341269167,), (1341269195,), (1341269209,), (1341269216,), (1341269222,), (1341269226,), (1341269230,), (1341269234,), (1341269378,), (1341269379,), (1341269383,), (1341269384,), (1341269387,), (1341269388,), (1341269392,), (1341269399,), (1341269403,), (1341269406,), (1341269410,), (1341269411,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 30, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21127175]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] map_info['map_portfolio_photo'] : {21127175: [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317]} final : True mtd_id 4302 list_pids : [1341298953, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055, 1341296441, 1341296435, 1341296402, 1341296395, 1341296393, 1341296317] Looping around the photos to save general results len do output : 1 /21127175Didn'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, '2647002') ('4302', '21127175', '1341298953', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298905', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298891', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298865', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298857', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298855', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298831', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298826', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298822', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298817', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298813', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298810', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298777', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298772', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298726', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298703', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298510', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298506', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298499', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298464', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298460', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298064', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298058', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341298055', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296441', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296435', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296402', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296395', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296393', None, None, None, None, None, '2647002') ('4302', None, None, None, None, None, None, None, '2647002') ('4302', '21127175', '1341296317', None, None, None, None, None, '2647002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21127175', 'None', None, None, None, None, '2647002'), ('4302', '21127175', '1341298953', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298905', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298891', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298865', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298857', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298855', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298831', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298826', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298822', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298817', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298813', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298810', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298777', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298772', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298726', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298703', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298510', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298506', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298499', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298464', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298460', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298064', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298058', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341298055', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296441', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296435', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296402', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296395', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296393', None, None, None, None, None, '2647002'), ('4302', '21127175', '1341296317', None, None, None, None, None, '2647002')] time used for this insertion : 0.044947147369384766 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9752562046051025 time spend to save output : 0.04530596733093262 total time spend for step 5 : 4.020562171936035 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 (2647002) 3.23user 2.13system 0:19.74elapsed 27%CPU (0avgtext+0avgdata 169792maxresident)k 8672inputs+29072outputs (73major+89344minor)pagefaults 0swaps